* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--color-bg: #fffdf7;
--color-gallery-bg: #fff;
--color-link: #3366CC;
--color-line: #c4bcbc;
--color-text: #373030;
--color-red: #E61B00;
--color-notice-author: #FFFF9E;
--color-notice-artwork: #9eecff;
--color-notice-mistery: #ebebeb;
--color-nao-confirmado: #d5ffb3;
--font-size-base: 18px;
--font-size-captions: 14px;
--font-size-h1: 48px;
--font-size-h2: 24px;
--font-size-menu: 28px;
--font-size-cards: 20px;
}
body {
background: var(--color-bg);
font-size: var(--font-size-base);
font-family: 'Source Serif 4', serif;
line-height: 1.45;
color: var(--color-text);
font-optical-sizing: auto;
}
header {
margin-bottom: .5rem;
}
footer {
margin-bottom: 2rem;
}
footer > div {
border-top: 3px solid var(--color-red);
padding-top: 1rem;
}
h1 {
font-size: 48px;
font-weight: bold;
font-family: 'SchneidlerLateinBold';
color: var(--color-red);
line-height: 1.2;
font-weight: unset;
}
h2 {
margin-bottom: .5rem;
font-size: 24px;
}
p {
margin-bottom: .75em;
}
blockquote {
font-style: italic;
}
p:has(+ h2), .wp-block-quote:has(+ h2) {
margin-bottom: 1em;
}
img {
width: 100%;
height: auto;
}
a {
color: var(--color-link);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
}
ul {
list-style: none;
}
li ul{
margin-left: 1em;
}
article header {
margin-bottom: 1rem;
}
article h2 {
font-family: 'SchneidlerLateinMedium';
font-variant: small-caps;
font-weight: unset;
}
.full-width {
width: 100%;
max-width: 1380px;
padding-left: 20px;
padding-right: 20px;
margin-left: auto;
margin-right: auto;
}
.line-under {
border-bottom: 1px solid var(--color-line);
margin-bottom: .5rem;
padding-bottom: 8px;
}
.site-logo {
max-height: 100px;
}
.site-logo a {
height: 100%;
}
.site-logo {
display: block;
}
.site-logo img {
height: 100%;
width: auto;
display: ruby-base-container;
}
.site-logo {  
height: 60px;
width: fit-content;
margin-top: 1.5rem;
margin-bottom: 1rem;
}
.nav-menu {
border-bottom: 3px solid var(--color-red);
display: flex;
justify-content: space-between;
}
.posts-nav {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
}
.posts-nav a {
color: var(--color-link);
}
a[rel="next"] {
margin-left: auto;
}
.brasao-cats {
width: 160px;
margin-top: 65px;
grid-area: brasao-cats;
}
.brasao-cats.no-excerpt {
margin-top: 31px;
}
.brasao-cats header {
margin-bottom: 0;
}
.brasao-cats > div {
margin-bottom: 1rem;
}
.brasao-cats div > ul {
padding-right: 2rem;
}
.brasao-cats h2, .elemento-nav-header h2 {
font-weight: normal;
font-size: var(--font-size-base);
font-variant: small-caps;
font-family: 'SchneidlerLateinRegular';
}
.single-brasao-content {
display: grid;
gap: 3rem;
grid-template-columns: min-content auto;
grid-template-areas: "brasao-cats conteudo";
}
main {
margin-bottom: 60px;
}
main.single-brasao {
margin-bottom: 0;
}
.archive-brasao-content .cat-item-all a {
color: var(--color-red);
}
header.grid-title {
margin-bottom: 2rem;
display: flex;
flex-direction: column;
align-items: start;
}
header.grid-title div {
font-size: 24px;
margin-bottom: 0;
line-height: 1.2;
color: var(--color-text);
}
header.grid-title h1 {
color: var(--color-text);
font-family: 'SchneidlerLateinRegular';
}
.archive-brasao-content header.grid-title h1 {
color: var(--color-red);
font-family: 'SchneidlerLateinBold';
}
header.grid-title h1 span {
color: var(--color-red);
font-family: 'SchneidlerLateinBold';
}
.archive-brasao-gallery {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: auto;
align-items: baseline;
row-gap: 1.5rem;
column-gap: 2rem;
height: fit-content;
}
.item {
color: var(--color-text);
}
a.item:hover {    
text-decoration: none;
}
a.item:hover h2 { }
.item figure {
height: 320px;
background-color: var(--color-gallery-bg);
width: 100%;
margin-bottom: .5rem;
padding: .5rem;
border-radius: 4px;
box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 4px 4px rgba(0, 0, 0, .08);
transition: all ease-in-out .125s;
position: relative;
}
.item.detalhado figure::before {
position: absolute;
height: 150px;
width: 50px;
content: "";
background-color: var(--color-red);
top: -30px;
right: 1rem;
z-index: -10;
}
.item div span {
color: var(--color-red);
font-weight: bold;
font-size: 22px;
line-height: 0;
}
a.item:hover figure {
box-shadow: 0 0 2px rgba(0, 0, 0, .08), 2px 8px 16px rgba(0, 0, 0, .16);
}
.item img {
width: 100%;
object-fit: contain;
height: 100%;
display: block;
}
.item h2 {
font-family: 'SchneidlerLateinBook';
font-size: 20px;
margin-bottom: .25em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 4px;
margin-right: 4px;
font-weight: unset;
}
.item div { margin-left: 4px;
margin-right: 4px;
font-weight: 300;
}
.excerpt {
font-family: 'SchneidlerLateinSubhead';
font-size: 28px;
margin-bottom: 0;
line-height: 1.2;
color: var(--color-text);
font-variant: small-caps;
}
.page-content p {
max-width: 750px;
}
.page-content h1 {
margin-top: 1rem;
}
.cargas-lista {
column-count: 4;
list-style: none;
}
.cargas-lista li:only-child {
display: none;
}
.cargas-lista > li {
break-inside: avoid;
}
.taxonomy-subcategorias {
display: flex;
list-style: none;
gap: 1rem;
border-top: 1px solid var(--color-line);
padding-top: .5rem;
margin-top: .5rem;
} .homepage-heraldica {
display: flex;
flex-direction: column;
align-items: center;
}
.homepage-heraldica h2 {
font-family: "SchneidlerLateinDisplay";
font-size: 60px;
color: var(--color-red);
line-height: 1;
margin-bottom: 1rem;
}
.homepage-heraldica p {
font-size: var(--font-size-cards);
margin-bottom: .5rem;
}
.homepage-heraldica .search-form {
margin-bottom: 1rem;
}
.homepage-heraldica .search-form .search-field {
width: 500px;
}
.homepage-heraldica img {
height: 400px;
width: auto;
margin: 1rem;
}
.homepage-cats-menu {
list-style: none;
display: flex;
gap: 1rem;
margin-bottom: 1rem;
font-size: var(--font-size-cards);
padding-top: .5rem;
border-top: 1px solid var(--color-line);
}
.homepage-cats-menu a {
color: var(--color-link);
} .nav-menu ul {
display: flex;
flex-direction: row;
gap: 1em;
font-family: 'SchneidlerLateinBold';
font-size: 24px;
font-variant: small-caps;  }
.nav-menu a:hover {
text-decoration: none;
color: var(--color-red);
}
nav a {
color: var(--color-text);
}
.current-menu-item a, .current-cat > a {
color: var(--color-red);
}
.cat-item-27 {
order: -1;
}
.cat-item-all {
order: -2;
}
.cat-item-192 {
order: 99;
}
nav.cats-menu {
list-style: none;
display: flex;
gap: 1em;
margin-bottom: 1em;
font-family: 'SchneidlerLateinSubhead';
font-size: 24px;
font-variant: small-caps;
margin-bottom: 1rem;
border-bottom: 1px solid var(--color-line);
padding-bottom: .25rem;
}
.cats-menu a:hover {
color: var(--color-red);
text-decoration: none;
}
.taxonomy-content {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-areas: "taxonomy content content content content";
grid-gap: 2rem;
}
.taxonomy-content .archive-brasao-gallery {
grid-area: content;
grid-template-columns: repeat(4, 1fr);
}
.element-nav {
list-style: none;
display: flex;
flex-direction: column;
}
.element-nav li:only-child {
display: none;
}
.element-nav .current-cat > a {
font-weight: bold;
}
.element-nav li:has(.current-cat), .element-nav > li.current-cat {
border-top: 1px solid var(--color-line);
border-bottom: 1px solid var(--color-line);
order: -1;
padding-top: 4px;
padding-bottom: 4px;
margin-bottom: 4px;
}
.nav-brasao-mobile {
display: none;
}
.search-form .search-field {
border: none;
background: var(--color-gallery-bg);
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .12), inset -1px -1px 3px rgba(0, 0, 0, .08);
padding: .25rem .5rem;
color: #757575;
font-weight: 300;
border-radius: 4px;
font-family: 'Source Serif 4';
font-size: var(--font-size-base);
width: 150px;
}
.search-field:focus-visible {
outline: 1px solid var(--color-line);
}
.search-submit {
border: none;
height: 32px;
width: 32px;
background: none;
cursor: pointer;
fill: var(--color-text);
}
.search-submit:hover {
fill: var(--color-red);
}
.search-form {
display: flex;
align-items: center;
height: fit-content;
gap: .5rem;
}
.aviso-brasao {
padding: .5rem 1rem;
background: var(--color-notice-author);
margin-top: 1rem;
margin-bottom: 0;
border-radius: 2px;
box-shadow: 0 0 1px rgba(0, 0, 0, .08), 0 2px 2px rgba(0, 0, 0, .04);
}
.aviso-brasao.autoria {
background: var(--color-notice-author);
}
.aviso-brasao.arte {
background: var(--color-notice-artwork);
}
.aviso-brasao.misterio {
background: var(--color-notice-mistery);
}
.aviso-brasao.nao-confirmado {
background: var(--color-nao-confirmado);
} .wp-block-gallery {
background-color: var(--color-gallery-bg);
padding: 12px;
border-radius: 4px;
box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .08), inset -2px -2px 6px rgba(0, 0, 0, .08);
}
.wp-block-column .wp-block-gallery.has-nested-images figure.wp-block-image figcaption, figure.wp-block-image figcaption {
position: unset;
background: unset;
color: var(--color-text);
text-shadow: unset;
text-align: left;
padding: 0;
margin-top: .5em;
overflow: unset;
}
.wp-block-column:first-child {
min-width: 600px;
}
.wp-block-gallery figure.wp-block-image figcaption.wp-element-caption, figure.wp-block-image figcaption {
font-size: 14px;
}
@media screen and (width <= 600px) {
:root {
--font-size-base: 16px;
}
h1 {
font-size: 28px;
}
h2 {
font-size: 20px;
}
main {
margin-bottom: 30px;
}
.excerpt {
font-size: 20px;
}
.site-logo {
height: auto;
width: 100%;
margin-top: 1rem;
margin-bottom: .5rem;
}
.site-logo img {
height: unset;
width: 100%;
}
.full-width {
padding-left: 12px;
padding-right: 12px;
}
.archive-brasao-gallery {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto;
align-items: baseline;
row-gap: 1rem;
column-gap: .5rem;
height: fit-content;
}
.item figure {
height: 200px;
padding: 4px;
}
.item h2 {
font-size: 16px;
}
.item div {
font-size: 12px;
}
.item div span {
font-size: 14px;
}
.single-brasao-content {
grid-template-columns: 1fr;
grid-template-rows: auto auto;
grid-template-areas: "conteudo" "brasao-cats";
gap: 0;
}
.wp-block-column:first-child {
min-width: unset;
}
.posts-nav {
font-size: 12px;
gap: 5rem;
}
.nav-brasao-desktop {
display: none;
}
.nav-brasao-mobile {
display: flex;
}
header.grid-title div {
font-size: 1rem;
flex-wrap: wrap;
row-gap: .5rem;
}
.brasao-cats {
margin-top: 0;
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
width: auto;
}
.cargas-lista {
column-count: 2;
}
.taxonomy-content {
display: grid;
grid-template-columns: 1fr;
grid-template-areas:
'content' 
'inherit';
}
.taxonomy-content .archive-brasao-gallery {
grid-template-columns: repeat(2, 1fr);
}
.homepage-heraldica img {
height: 200px;
}
.homepage-heraldica h2 {
font-size: 40px;
}
.homepage-heraldica .search-form {
width: 100%;
margin-bottom: .5rem;
}
.homepage-heraldica .search-form label {
width: inherit;
}
.homepage-heraldica .search-form .search-field {
width: inherit;
}
.homepage-heraldica p {
font-size: 1rem;
}
.homepage-cats-menu {
flex-wrap: wrap;
row-gap: .5rem;
font-size: 1rem;
margin-bottom: 1rem;
padding-top: .5rem;
border-top: 1px solid var(--color-line);
} .nav-menu {
flex-direction: column;
padding-bottom: .5rem;
}
.nav-menu ul {
flex-direction: column;
gap: 0;
font-size: 20px;
}
nav.cats-menu {
flex-direction: row;
column-gap: 1rem;
font-size: 20px;
flex-wrap: wrap;
row-gap: 0;
}
}