*, *::before, *::after {    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.pl-veiculos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1100px;
    margin: auto;
}

.pl-veiculo-item {
    background: #fff;
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.pl-veiculo-capa {
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pl-veiculo-capa-loading {
    width: 100%;
    min-height: 475px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.pl-veiculo-nome {
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
    color: #333;
    text-decoration: none !important;
    font-weight: 600;
}

#pl-flipbook-modal { 
    display: none;
    position: fixed !important;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

#pl-flipbook-modal.open { display: flex; }
#pl-flipbook-modal .modal-dialog { width: 100vw; height: 100vh; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; }
#pl-flipbook-modal .modal-content { flex: 1 1 auto; width: 100vw; height: 100vh; padding: 0; background: transparent; display: flex; align-items: stretch; justify-content: stretch; }
#pl-flipbook-modal iframe { width: 100vw; height: 100vh; border: none; background: #fff; }
#pl-flipbook-close { position: absolute; top: 24px; right: 32px; font-size: 2.5rem; color: #fff; z-index: 1001; cursor: pointer; background: rgba(0,0,0,0.3); border-radius: 50%; padding: 8px 16px; transition: background 0.2s; }
#pl-flipbook-close:hover { background: rgba(0,0,0,0.7); }

/* Estilos para a página do cliente */
.pl-cliente-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pl-cliente-info h3 {
    margin: 1.5rem 0 1rem;
    color: #333;
    font-size: 1.2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.pl-cliente-info p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: #495057;
}

.pl-cliente-info strong {
    color: #212529;
    margin-right: 0.5rem;
    font-weight: 600;
}

.entry-title {
    margin-bottom: 2rem;
    color: #212529;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

/* .entry-content h2 {
    margin: 2rem 0 1.5rem;
    color: #212529;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
} */

/* .entry-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #60C3AB;
} */

/* Estilos para a lista de publicações */
.pl-list__empresa-nome {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}

.pl-list__empresa-link {
    color: #60C3AB;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.pl-list__empresa-link:hover {
    color: #4a9c8a;
    text-decoration: underline;
}

@media screen and (max-width: 991px) {

}

@media screen and (max-width: 767px) {
    .pl-cliente-info {
        padding: 1.5rem;
    }

    .entry-title {
        font-size: 1.75rem;
    }

    /* .entry-content h2 {
        font-size: 1.3rem;
    } */

    .pl-cliente-info h3 {
        font-size: 1.1rem;
    }

    .pl-cliente-info p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 479px) {
    .pl-cliente-info {
        padding: 1rem;
    }

    .entry-title {
        font-size: 1.5rem;
    }

    /* .entry-content h2 {
        font-size: 1.2rem;
    } */
} 

.pl-edition-item,
.pl-edition-item-redirect {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    max-width: 180px;
}

.pl-edition-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.pl-edition-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f5f5f5;
}

.pl-edition-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    display: block;
}

.pl-edition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.pl-edition-item:hover .pl-edition-overlay,
.pl-edition-item-redirect:hover .pl-edition-overlay {
    opacity: 1;
}

.pl-edition-info {
    padding: 0.5rem;
    text-align: center;
    background: #f5f5f5;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pl-edition-date {
    font-size: 0.8rem;
    color: #222;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.pl-edition-btn {
    background: #bbbbbb;
    color: #fff;
    border: none;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: normal;
    border-radius: 4px;
    transition: background-color 0.2s;
    max-height: 32px !important;
}

.pl-edition-btn:hover {
    background: #999999;
}

/* Media queries para botões */
@media (max-width: 480px) {
    .pl-edition-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-height: 32px;
    }
}

.pl-today-edition .pl-edition-btn {
    background: #009fe3;
}
