:root {
    --brand: #81331d;
    --brand-dark: #5e2112;
    --brand-soft: #d8b3a0;
    --brand-pale: #f7eeea;
    --ink: #1f1d1c;
    --muted: #6f6966;
    --line: #e6dfdb;
    --surface: #fff;
    --surface-alt: #f7f5f4;
    --shadow-sm: 0 8px 24px rgba(62, 31, 20, .08);
    --shadow-md: 0 18px 50px rgba(62, 31, 20, .14);
    --radius: 16px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover {
    color: var(--brand-dark);
}

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

button,
[type="button"],
[type="submit"] {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid #f3a37b;
    outline-offset: 3px;
}

.site-container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
    z-index: 99999;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    clip: auto !important;
    padding: 12px 18px;
    background: #fff;
    color: var(--brand);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    fill: currentColor;
    vertical-align: -.14em;
}

/* Cabeçalho */
.site-header {
    position: relative;
    z-index: 20;
}

.brand-hero {
    position: relative;
    overflow: hidden;
    min-height: 256px;
    background:
        radial-gradient(circle at 18% 115%, rgba(255,255,255,.13) 0 85px, transparent 86px),
        radial-gradient(circle at 88% -25%, rgba(255,255,255,.12) 0 160px, transparent 161px),
        linear-gradient(130deg, var(--brand-dark), var(--brand) 56%, #a34f37);
    color: #fff;
}

.brand-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .1;
    background-image: repeating-linear-gradient(120deg, transparent 0 32px, rgba(255,255,255,.13) 33px 34px);
}

.brand-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    min-height: 256px;
    align-items: center;
}

.brand-copy {
    padding: 30px 0 24px 7%;
}

.brand-title {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.045em;
}

.brand-title a,
.brand-title a:hover {
    color: #fff;
}

.brand-byline {
    margin: 9px 0 18px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .025em;
}

.site-logo img {
    display: block;
    max-width: 420px;
    max-height: 115px;
    width: auto;
}

.social-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.social-link {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    color: #fff;
}

.social-link:hover {
    color: var(--brand);
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.social-link .icon {
    width: 15px;
    height: 15px;
}

.brand-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 16px 0 0;
    color: rgba(255,255,255,.9);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.brand-location .icon {
    width: 13px;
    height: 13px;
}

.brand-portrait {
    position: relative;
    align-self: end;
    height: 100%;
}

.header-portrait-image {
    position: absolute;
    right: 52px;
    bottom: 0;
    width: 290px;
    height: auto;
    max-height: 285px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 12px 22px rgba(34, 14, 8, .32));
}

.site-navigation {
    position: relative;
    background: var(--brand-soft);
    background: color-mix(in srgb, var(--brand-soft) 86%, white);
    box-shadow: 0 4px 18px rgba(51, 28, 19, .1);
}

.nav-row {
    position: relative;
    display: flex;
    min-height: 60px;
    align-items: stretch;
}

.nav-panel {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: stretch;
}

.primary-menu {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-menu > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.primary-menu > li > a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #352e2b;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li > a:hover {
    color: var(--brand-dark);
    background: rgba(255,255,255,.34);
}

.primary-menu .sub-menu {
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 7px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    background: var(--brand);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-md);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu a {
    display: block;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    border-radius: 7px;
}

.primary-menu .sub-menu a:hover {
    background: rgba(255,255,255,.13);
}

.menu-toggle,
.search-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: #3e312c;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 700;
}

.menu-toggle .icon,
.search-toggle .icon {
    width: 22px;
    height: 22px;
}

.menu-icon-close {
    display: none;
}

.search-toggle {
    display: grid;
    width: 54px;
    place-items: center;
    border-left: 1px solid rgba(80, 48, 36, .15);
}

.search-toggle:hover {
    background: rgba(255,255,255,.3);
    color: var(--brand);
}

.header-search {
    position: absolute;
    z-index: 60;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, calc(100vw - 28px));
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.header-search[hidden] {
    display: none;
}

.nav-socials {
    display: none;
}

.top-widget-area {
    padding-top: 24px;
    background: #fff;
}

.top-widget-area .widget {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: center;
}

.top-widget-area .widget-title {
    display: none;
}

.top-widget-area img {
    display: block;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    border-radius: 10px;
}

/* Pesquisa */
.search-form {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 46px;
    background: #fff;
    border: 1px solid #d7cfcb;
    border-radius: 10px;
}

.search-form label {
    flex: 1 1 auto;
}

.search-field {
    width: 100%;
    height: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.search-submit {
    display: grid;
    width: 48px;
    place-items: center;
    border: 0;
    background: var(--brand);
    color: #fff;
}

.search-submit:hover {
    background: var(--brand-dark);
}

.search-submit .icon {
    width: 19px;
    height: 19px;
}

/* Estrutura principal */
.site-main {
    padding: 48px 0 70px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(285px, 1fr);
    gap: 42px;
    align-items: start;
}

.primary-content {
    min-width: 0;
}

.section-heading {
    display: flex;
    align-items: end;
    gap: 22px;
    margin: 0 0 20px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.section-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--brand);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-rule {
    flex: 1 1 auto;
    height: 1px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--brand-soft), transparent);
}

.section-heading-stack {
    display: block;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.archive-description {
    max-width: 720px;
    margin-top: 8px;
    color: var(--muted);
}

.archive-description p {
    margin: 0;
}

/* Lista da página inicial */
.news-list {
    border-top: 1px solid var(--line);
}

.news-list-item {
    display: grid;
    grid-template-columns: minmax(260px, 46%) minmax(0, 1fr);
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.news-list-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--brand-pale);
    border-radius: 13px;
}

.news-list-thumb::after,
.post-card-thumb::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(34, 15, 9, .2));
    opacity: 0;
    transition: opacity .25s ease;
}

.news-list-thumb img,
.post-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-list-item:hover .news-list-thumb img,
.post-card:hover .post-card-thumb img {
    transform: scale(1.035);
}

.news-list-item:hover .news-list-thumb::after,
.post-card:hover .post-card-thumb::after {
    opacity: 1;
}

.news-list-content {
    align-self: center;
    min-width: 0;
    padding: 4px 0;
}

.news-category,
.single-category {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--brand);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.news-category:hover,
.single-category:hover {
    color: var(--brand-dark);
}

.news-title {
    margin: 0 0 10px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.018em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.news-title a {
    color: var(--ink);
}

.news-title a:hover {
    color: var(--brand);
}

.card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12.5px;
}

.card-date .icon {
    width: 13px;
    height: 13px;
    color: var(--brand);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--brand);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
}

.read-more .icon {
    width: 16px;
    transition: transform .2s ease;
}

.read-more:hover .icon {
    transform: translateX(4px);
}

/* Barra lateral */
.main-sidebar {
    min-width: 0;
}

.author-card {
    overflow: hidden;
    padding: 24px;
    margin-bottom: 24px;
    background: linear-gradient(145deg, #fff 0%, var(--brand-pale) 100%);
    border: 1px solid #eadbd4;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.author-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.author-card-line {
    flex: 1 1 auto;
    height: 1px;
    background: var(--brand-soft);
}

.author-card-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
}

.author-card-icon .icon {
    width: 15px;
}

.author-card h2 {
    margin: 0 0 18px;
    text-align: center;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.author-card-body::after {
    content: "";
    display: table;
    clear: both;
}

.author-card-photo {
    float: left;
    width: 104px;
    height: 142px;
    margin: 2px 14px 8px 0;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(71, 34, 21, .17);
}

.author-card-text {
    color: #48413e;
    font-size: 13px;
    line-height: 1.58;
    text-align: left;
}

.author-card-text p {
    margin: 0 0 9px;
}

.author-card-text p:last-child {
    margin-bottom: 0;
}

.author-contact {
    display: grid;
    gap: 7px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px dashed var(--brand-soft);
    font-size: 13px;
}

.author-contact strong {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
}

.author-contact a {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-wrap: anywhere;
}

.author-contact .icon {
    width: 15px;
}

.widget {
    padding: 20px;
    margin: 0 0 24px;
    overflow: hidden;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.widget-title {
    position: relative;
    padding-bottom: 10px;
    margin: 0 0 16px;
    color: var(--ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: var(--brand);
    border-radius: 3px;
}

.widget ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.widget li:last-child {
    border-bottom: 0;
}

.widget img {
    max-width: 100%;
    border-radius: 9px;
}

.widget select {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #d5ceca;
    border-radius: 8px;
}

.widget_media_image,
.widget_custom_html:has(> .textwidget > a > img),
.widget_custom_html:has(> .textwidget > img) {
    padding: 10px;
    background: #fff;
}

/* Arquivos e cartões */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.post-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(62, 31, 20, .055);
}

.post-card-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--brand-pale);
}

.post-card-content {
    padding: 17px;
}

.post-card-content .news-category {
    margin-bottom: 5px;
}

.post-card h2 {
    margin: 0 0 12px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.post-card h2 a {
    color: var(--ink);
}

.post-card h2 a:hover {
    color: var(--brand);
}

/* Paginação */
.navigation.pagination {
    margin-top: 34px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.page-numbers {
    display: inline-grid;
    min-width: 40px;
    height: 40px;
    padding: 0 11px;
    place-items: center;
    background: #fff;
    color: #504743;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* Post individual */
.single-article {
    min-width: 0;
}

.single-header {
    padding-bottom: 4px;
}

.single-title {
    margin: 2px 0 18px;
    color: #171717;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.post-meta-wp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 24px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.meta-left {
    display: grid;
    gap: 4px;
}

.meta-author,
.meta-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.meta-author .icon {
    color: var(--brand);
    width: 15px;
}

.meta-author strong {
    color: var(--ink);
}

.meta-separator {
    color: #bbb1ac;
}

.article-divider {
    display: flex;
    align-items: center;
    margin: 23px 0 28px;
}

.article-divider::before,
.article-divider::after {
    content: "";
    flex: 1 1 auto;
    border-top: 1px dashed #cfc4bf;
}

.article-divider span {
    width: 8px;
    height: 8px;
    margin: 0 10px;
    background: var(--brand);
    border-radius: 50%;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.share-label {
    margin-right: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.share-button {
    display: inline-grid;
    width: 35px;
    height: 35px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.share-button:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(.94);
}

.share-button .icon {
    width: 17px;
    height: 17px;
}

.share-whatsapp { background: #20b858; }
.share-facebook { background: #1877f2; }
.share-x { background: #111; }
.share-telegram { background: #229ed9; }
.share-copy { background: #6f6966; }
.share-copy.is-copied { background: #2d8a57; }

.entry-content {
    color: #292725;
    font-size: 18px;
    line-height: 1.72;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content p {
    margin: 0 0 1.08em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 1.45em 0 .58em;
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.28;
}

.entry-content h2 { font-size: 1.55em; }
.entry-content h3 { font-size: 1.3em; }

.entry-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content figure {
    max-width: 100%;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.entry-content figcaption,
.wp-caption-text {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.entry-content .aligncenter,
.entry-content div.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.entry-content .alignleft {
    float: left;
    margin: .35em 1.35em .8em 0;
}

.entry-content .alignright {
    float: right;
    margin: .35em 0 .8em 1.35em;
}

.entry-content .alignwide {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    margin-left: -20px;
}

.entry-content blockquote {
    padding: 18px 22px;
    margin: 1.5em 0;
    background: var(--brand-pale);
    border-left: 4px solid var(--brand);
    border-radius: 0 10px 10px 0;
    font-family: Georgia, serif;
    font-size: 1.08em;
}

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

.entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 10px;
    border: 1px solid var(--line);
}

.entry-content iframe {
    display: block;
    width: 100%;
    margin-inline: auto;
}

.entry-content::after {
    content: "";
    display: table;
    clear: both;
}

.entry-footer {
    padding: 18px 0;
    margin-top: 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.tags-title {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-links a {
    padding: 5px 10px;
    background: var(--surface-alt);
    color: #5c534f;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 12px;
}

.after-content-share {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.related-posts {
    padding-top: 36px;
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.compact-heading h2 {
    font-size: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.related-grid .post-card-content {
    padding: 13px;
}

.related-grid .post-card h2 {
    font-size: 14px;
}

.related-grid .card-date {
    font-size: 10.5px;
}

/* Páginas, 404 e vazio */
.page-container {
    max-width: 920px;
}

.page-header {
    padding-bottom: 18px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.page-header h1 {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.15;
}

.page-featured-image {
    overflow: hidden;
    margin: 0 0 30px;
    border-radius: var(--radius);
}

.page-featured-image img {
    display: block;
    width: 100%;
}

.error-main {
    padding: 70px 0 90px;
}

.error-page {
    max-width: 720px;
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: -25px;
    color: var(--brand-pale);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(130px, 22vw, 230px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.09em;
}

.error-page h1,
.nothing-found h2 {
    margin: 8px 0 10px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.error-page > p,
.nothing-found > p {
    max-width: 600px;
    margin: 0 auto 22px;
    color: var(--muted);
}

.error-search,
.nothing-found .search-form {
    max-width: 540px;
    margin: 0 auto 22px;
}

.button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 19px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
}

.button:hover,
input[type="submit"]:hover {
    background: var(--brand-dark);
    color: #fff;
}

.button .icon {
    width: 17px;
}

.nothing-found {
    padding: 42px 28px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

/* Comentários */
.comments-area {
    padding-top: 36px;
    margin-top: 38px;
    border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 23px;
}

.comment-list {
    padding: 0;
    list-style: none;
}

.comment-list .children {
    list-style: none;
}

.comment-body {
    padding: 18px;
    margin-bottom: 14px;
    background: var(--surface-alt);
    border-radius: 12px;
}

.comment-meta {
    font-size: 13px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d5ceca;
    border-radius: 8px;
}

/* Rodapé */
.site-footer {
    padding: 26px 0;
    background: linear-gradient(130deg, var(--brand-dark), var(--brand));
    color: rgba(255,255,255,.9);
    font-size: 12.5px;
}

.footer-widgets {
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.footer-widgets .widget {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-row p {
    margin: 0;
}

.site-footer a,
.site-footer a:hover {
    color: #fff;
}

@media (max-width: 1050px) {
    .brand-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .header-portrait-image {
        right: 25px;
        width: 270px;
    }

    .primary-menu > li > a {
        padding-inline: 10px;
        font-size: 13px;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1.9fr) minmax(270px, 1fr);
        gap: 30px;
    }
}

@media (max-width: 860px) {
    .brand-hero,
    .brand-grid {
        min-height: 220px;
    }

    .brand-grid {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    .brand-copy {
        padding-left: 2%;
    }

    .brand-title {
        font-size: 44px;
    }

    .header-portrait-image {
        right: 0;
        width: 235px;
        max-height: 245px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-row {
        justify-content: space-between;
    }

    .nav-panel {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        display: block;
        width: min(360px, 88vw);
        height: 100vh;
        padding: 74px 20px 25px;
        overflow-y: auto;
        background: var(--brand);
        box-shadow: 14px 0 35px rgba(32, 13, 7, .25);
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform .25s ease, visibility .25s ease;
    }

    .site-navigation.is-open .nav-panel {
        transform: translateX(0);
        visibility: visible;
    }

    .site-navigation.is-open::after {
        content: "";
        position: fixed;
        z-index: 90;
        inset: 0;
        background: rgba(25, 12, 8, .54);
    }

    .site-navigation.is-open .menu-toggle {
        position: fixed;
        z-index: 110;
        top: 16px;
        left: 14px;
        color: #fff;
    }

    .site-navigation.is-open .menu-icon-open {
        display: none;
    }

    .site-navigation.is-open .menu-icon-close {
        display: inline-flex;
    }

    .primary-menu {
        display: block;
    }

    .primary-menu > li {
        display: block;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .primary-menu > li > a {
        padding: 14px 5px;
        color: #fff;
        font-size: 15px;
    }

    .primary-menu > li > a:hover,
    .primary-menu > li.current-menu-item > a,
    .primary-menu > li.current-menu-ancestor > a {
        color: #fff;
        background: transparent;
    }

    .primary-menu .sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 9px 13px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
    }

    .primary-menu .sub-menu a {
        padding: 8px 5px;
        color: rgba(255,255,255,.82);
    }

    .nav-socials {
        display: block;
        padding-top: 24px;
    }

    .nav-socials .social-menu {
        gap: 9px;
    }

    .nav-socials .social-link {
        width: 38px;
        height: 38px;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        align-items: start;
    }

    .main-sidebar > * {
        margin-bottom: 0;
    }
}

@media (max-width: 680px) {
    .site-container {
        width: min(100% - 28px, var(--container));
    }

    .brand-hero,
    .brand-grid {
        min-height: 184px;
    }

    .brand-grid {
        grid-template-columns: minmax(0, 68%) minmax(90px, 32%);
    }

    .brand-copy {
        padding: 19px 0 16px;
    }

    .brand-title {
        font-size: clamp(20px, 6.4vw, 30px);
        line-height: 1.05;
        letter-spacing: -.055em;
        white-space: nowrap;
    }

    .brand-byline {
        margin: 6px 0 12px;
        font-size: 14px;
    }

    .header-socials {
        gap: 5px;
    }

    .header-socials .social-link {
        width: 29px;
        height: 29px;
    }

    .header-socials .social-link .icon {
        width: 13px;
        height: 13px;
    }

    .brand-location {
        gap: 4px;
        margin-top: 10px;
        font-size: 10px;
        line-height: 1.25;
    }

    .header-portrait-image {
        right: -18px;
        width: 158px;
        max-width: none;
        max-height: 185px;
    }

    .site-navigation,
    .nav-row {
        min-height: 53px;
    }

    .menu-toggle {
        font-size: 14px;
    }

    .search-toggle {
        width: 50px;
    }

    .top-widget-area {
        padding-top: 15px;
    }

    .site-main {
        padding: 34px 0 52px;
    }

    .section-heading {
        margin-bottom: 15px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 27px;
    }

    .section-kicker {
        font-size: 10.5px;
    }

    .news-list-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0 21px;
    }

    .news-list-content {
        padding: 0 2px;
    }

    .news-title {
        font-size: 20px;
    }

    .read-more {
        margin-top: 12px;
    }

    .main-sidebar,
    .archive-grid,
    .related-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-meta-wp {
        display: grid;
        align-items: start;
    }

    .meta-right {
        width: 100%;
    }

    .share-label {
        display: none;
    }

    .single-title {
        font-size: 29px;
        line-height: 1.2;
    }

    .entry-content {
        font-size: 17px;
        line-height: 1.68;
    }

    .entry-content .alignleft,
    .entry-content .alignright {
        float: none;
        display: block;
        margin: 1.2em auto;
    }

    .entry-content .alignwide {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .after-content-share {
        justify-content: flex-start;
    }

    .related-grid .post-card h2 {
        font-size: 18px;
    }

    .related-grid .card-date {
        font-size: 12px;
    }

    .footer-row {
        display: grid;
        gap: 5px;
        text-align: center;
    }

    .error-code {
        margin-bottom: -12px;
    }
}

@media (max-width: 380px) {
    .brand-title {
        font-size: clamp(20px, 6.4vw, 24px);
    }

    .header-socials .social-link {
        width: 27px;
        height: 27px;
    }

    .header-portrait-image {
        right: -24px;
        width: 155px;
    }

    .brand-location {
        max-width: 170px;
    }
}

/* Mantém a foto completa dentro do cabeçalho em computadores. */
@media (min-width: 861px) {
    .header-portrait-image {
        width: auto;
        height: calc(100% - 8px);
        max-width: none;
        max-height: none;
    }
}

@media print {
    .site-navigation,
    .top-widget-area,
    .main-sidebar,
    .share-buttons,
    .related-posts,
    .comments-area,
    .site-footer {
        display: none !important;
    }

    .brand-hero,
    .brand-grid {
        min-height: auto;
        background: #fff;
        color: #000;
    }

    .brand-portrait,
    .social-menu,
    .brand-location {
        display: none;
    }

    .brand-copy {
        padding: 0 0 20px;
    }

    .brand-title a,
    .brand-title a:hover {
        color: #000;
    }

    .content-layout {
        display: block;
    }

    .site-main {
        padding: 0;
    }
}
