/*
Theme Name: Anjos de Deus
Description: Tema editorial para o acervo de postagens Anjos de Deus.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: anjos-de-deus
*/
:root {
  --paper: #f9f4ea;
  --white: #fffaf1;
  --ink: #351e23;
  --wine: #612738;
  --muted: #6e5759;
  --line: #ddcbbd;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: var(--wine); text-underline-offset: .22em; }
a:hover { color: #983f4f; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #a54c41; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { clip-path: none; width: auto; height: auto; top: .5rem; left: .5rem; z-index: 10; background: white; padding: .6rem; }
.site-header { background: var(--white); border-block: 4px solid var(--wine); border-bottom: 1px solid var(--line); }
.header-row { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: bold 1.5rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.brand-mark { color: var(--wine); font-size: 1.2rem; }
.header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.header-actions > a { font-size: .9rem; font-weight: 650; }
.search-form { display: flex; }
.search-form input { min-width: 0; width: 10.5rem; border: 1px solid var(--line); background: var(--paper); padding: .45rem .65rem; color: var(--ink); font: inherit; font-size: .9rem; }
.search-form button { background: var(--wine); border: 1px solid var(--wine); color: white; padding: .45rem .65rem; font: inherit; font-size: .9rem; cursor: pointer; }
.hero { margin-block: clamp(1.5rem, 4vw, 3.75rem) 3rem; background: #efe2d4; border: 1px solid var(--line); display: grid; grid-template-columns: 1.08fr .92fr; }
.hero-content { padding: clamp(1.75rem, 5vw, 4.25rem); align-self: center; }
.hero h1, .page-title, .post-title, .section-title { font-family: var(--serif); line-height: 1.08; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(2.45rem, 5vw, 4.85rem); margin: 0 0 1.3rem; }
.hero-link { display: inline-block; color: var(--wine); font-weight: 700; }
.hero-media { display: grid; min-height: 18rem; background: #e4d5c3; border-left: 1px solid var(--line); }
.hero-media img { width: 100%; height: 100%; max-height: 31rem; object-fit: cover; object-position: center; }
.hero--text { display: block; }
.section-title { font-size: clamp(2rem, 3.5vw, 3.25rem); margin: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2.35rem, 4vw, 4rem); margin-block: 2.5rem 1.5rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-block: 1.5rem 2.5rem; }
.card { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.card-media { display: block; aspect-ratio: 8 / 5; overflow: hidden; background: #eadcd0; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem 1.35rem 1.5rem; }
.post-date { color: var(--muted); font-size: .82rem; font-weight: 600; }
.card h2 { margin: .55rem 0; font: bold clamp(1.35rem, 2.2vw, 1.9rem)/1.12 var(--serif); letter-spacing: -.02em; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--wine); text-decoration: underline; }
.card p { margin: .7rem 0 0; color: var(--muted); font-size: .94rem; }
.pagination { margin-block: 2rem 3.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.page-numbers { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--line); }
.page-numbers.current { background: var(--wine); color: white; }
.reading { width: min(100% - 3rem, 48rem); margin: 3rem auto 4rem; }
.post-title { font-size: clamp(2.25rem, 6vw, 4.5rem); margin: .6rem 0 1.5rem; overflow-wrap: anywhere; }
.entry-content { overflow-wrap: anywhere; }
.entry-content img { max-width: 100%; }
.entry-content iframe { max-width: 100%; }
.post-tags, .post-navigation { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }
.post-navigation .nav-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); padding-block: 2rem; background: var(--white); }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 850px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .wrap, .reading { width: min(100% - 1.5rem, 72rem); }
  .header-row { align-items: flex-start; flex-direction: column; gap: .8rem; padding-block: .85rem; }
  .header-actions { gap: .8rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-media img { max-height: 17rem; }
  .post-grid { grid-template-columns: 1fr; }
}


