/*
Theme Name: Agencia Nuntius
Author: Thiago F. Pereira
Author URI: https://financasnaweb.com.br/autor/thiago-f-pereira/
Description: Tema shell generico da Agencia Nuntius para o plugin Html Public. Mantem compatibilidade com paginas WordPress comuns e oferece header e footer de seguranca quando os globais do plugin nao estiverem configurados.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agencia-nuntius
Tags: custom-logo, custom-menu, featured-images, minimal
*/

:root {
    --hpps-background: #ffffff;
    --hpps-surface: #f6f7f7;
    --hpps-text: #1d2327;
    --hpps-muted: #646970;
    --hpps-border: #dcdcde;
    --hpps-accent: #2271b1;
    --hpps-content-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--hpps-background);
    color: var(--hpps-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

.hpps-fallback-header {
    border-bottom: 1px solid var(--hpps-border);
    background: var(--hpps-background);
}

.hpps-fallback-header__inner,
.hpps-fallback-footer__inner,
.hpps-site-main {
    width: min(var(--hpps-content-width), calc(100% - 32px));
    margin-inline: auto;
}

.hpps-fallback-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hpps-site-title {
    color: var(--hpps-text);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}

.hpps-fallback-header .custom-logo {
    display: block;
    width: auto;
    max-height: 56px;
}

.hpps-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hpps-menu a {
    color: var(--hpps-text);
    text-decoration: none;
}

.hpps-menu a:hover,
.hpps-menu a:focus-visible,
.hpps-entry-title a:hover,
.hpps-entry-title a:focus-visible {
    color: var(--hpps-accent);
}

.hpps-site-main {
    min-height: 60vh;
    padding-block: 56px;
}

.hpps-entry + .hpps-entry {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--hpps-border);
}

.hpps-entry-title {
    margin: 0 0 16px;
    line-height: 1.2;
}

.hpps-entry-title a {
    color: inherit;
    text-decoration: none;
}

.hpps-entry-meta {
    margin: -8px 0 24px;
    color: var(--hpps-muted);
    font-size: 0.9rem;
}

.hpps-fallback-footer {
    padding-block: 40px 24px;
    border-top: 1px solid var(--hpps-border);
    background: var(--hpps-surface);
}

.hpps-fallback-footer__inner {
    display: grid;
    gap: 24px;
}

.hpps-fallback-footer p {
    margin: 0;
    color: var(--hpps-muted);
}

.hpps-404 {
    text-align: center;
}

@media (max-width: 720px) {
    .hpps-fallback-header__inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 16px;
    }

    .hpps-menu {
        gap: 12px 18px;
    }

    .hpps-site-main {
        padding-block: 40px;
    }
}
