/* ==============================================
   PÁGINAS ESTÁTICAS (page.php)
   ============================================== */

/* Container Principal da Página */
.page-article {
    max-width: var(--content-w-sm);
    margin: 0 auto;
    padding: 40px 20px;
}

/* Cabeçalho da Página */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0;
    color: #111111;
}

/* Imagem de Destaque */
.page-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.responsive-featured-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-featured-image:hover .responsive-featured-img {
    transform: scale(1.02);
}

/* Conteúdo da Página */
.page-entry-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #333333;
}

/* Títulos dentro do Conteúdo (H2, H3, H4, H5, H6) */
.page-entry-content h2,
.page-entry-content h3,
.page-entry-content h4 {
    color: #111111;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.2em;
    margin-bottom: 0.8em;
}

.page-entry-content h2 {
    font-size: 1.75rem;
    border-left: 5px solid var(--primary);
    padding-left: 16px;
    letter-spacing: -0.3px;
}

.page-entry-content h3 {
    font-size: 1.45rem;
    position: relative;
    padding-bottom: 8px;
}

.page-entry-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.page-entry-content h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Parágrafos e Links */
.page-entry-content p {
    margin-top: 0;
    margin-bottom: 1.5em;
}

.page-entry-content a {
    color: #111111;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 3px solid var(--primary);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.page-entry-content a:hover {
    background-color: var(--primary);
    color: #111111;
}

/* Listas Organizadas e Não Organizadas */
.page-entry-content ul,
.page-entry-content ol {
    margin-top: 0;
    margin-bottom: 1.8em;
    padding-left: 24px;
}

.page-entry-content li {
    margin-bottom: 0.6em;
}

.page-entry-content ul li {
    list-style-type: none;
    position: relative;
}

.page-entry-content ul li::before {
    content: '■';
    color: var(--primary);
    font-size: 0.75rem;
    position: absolute;
    left: -20px;
    top: 2px;
}

/* Citações (Blockquotes) */
.page-entry-content blockquote {
    margin: 2em 0;
    padding: 24px 30px;
    background-color: rgba(255, 212, 0, 0.04);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #444444;
}

.page-entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Tabelas Premium */
.page-entry-content table {
    width: 100%;
    margin-bottom: 2em;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.02);
    border-radius: 8px;
    overflow: hidden;
}

.page-entry-content th,
.page-entry-content td {
    padding: 14px 18px;
    text-align: left;
}

.page-entry-content th {
    background-color: #f7f7f7;
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.page-entry-content td {
    border-bottom: 1px solid #f0f0f0;
}

.page-entry-content tr:last-child td {
    border-bottom: none;
}

.page-entry-content tr:hover td {
    background-color: rgba(255, 212, 0, 0.03);
}

/* Formulários e Botões (ex: Formulários de Contato) */
.page-entry-content input[type="text"],
.page-entry-content input[type="email"],
.page-entry-content input[type="url"],
.page-entry-content input[type="tel"],
.page-entry-content input[type="number"],
.page-entry-content select,
.page-entry-content textarea {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.95rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    color: #111111;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
}

.page-entry-content input:focus,
.page-entry-content select:focus,
.page-entry-content textarea:focus {
    border-color: var(--secondary);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(156, 113, 8, 0.08);
}

.page-entry-content input[type="submit"],
.page-entry-content button,
.page-btn {
    display: inline-block;
    background-color: var(--primary);
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 212, 0, 0.15);
}

.page-entry-content input[type="submit"]:hover,
.page-entry-content button:hover,
.page-btn:hover {
    background-color: var(--secondary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(156, 113, 8, 0.25);
}

.page-entry-content input[type="submit"]:active,
.page-entry-content button:active,
.page-btn:active {
    transform: translateY(0);
}

/* Paginação Interna de Páginas (.page-links) */
.page-links {
    margin-top: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    clear: both;
}

.page-links .post-page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 6px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #555555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-links a.post-page-numbers:hover {
    background-color: var(--primary);
    color: #111111;
}

.page-links span.post-page-numbers.current {
    background-color: var(--primary);
    color: #111111;
    font-weight: 700;
}

/* Rodapé / Área de Comentários */
.page-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eef0f2;
}

/* Responsividade de Tabelas e Embeds */
.page-entry-content iframe,
.page-entry-content object,
.page-entry-content embed {
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .page-article {
        padding: 30px 15px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-entry-content {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .page-entry-content h2 {
        font-size: 1.5rem;
    }

    .page-entry-content h3 {
        font-size: 1.3rem;
    }
}
