@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff7ee;
  color: #302824;
  border-top: 10px solid #512b3b;
  font: 16px/1.65 Montserrat, Arial, sans-serif;
}
main { max-width: 48rem; margin: auto; padding: clamp(24px, 6vw, 64px); }
h1 { color: #512b3b; font: 500 clamp(36px, 6vw, 60px)/1.12 'Playfair Display', Georgia, serif; }
a { color: #512b3b; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #512b3b; outline-offset: 3px; }
.button { display: inline-block; padding: 12px 20px; border-radius: 5px; background: #512b3b; color: #fff7ee; }
[hidden] { display: none !important; }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; border-top: 1px solid #b77d50; padding-top: 16px; }
li + li { margin-top: 12px; }

main > section + section { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid #b77d50; }
h2, h3, h4 { color: #512b3b; line-height: 1.25; }
h2 { font: 500 clamp(25px, 4vw, 34px)/1.2 'Playfair Display', Georgia, serif; }
.resource-previews article { border-top: 1px solid #d3bda4; padding: 1rem 0; }
.resource-previews h4, .resource-previews p { margin: 0 0 .45rem; }

.ygd-home { display:inline-block; border:1px solid #512B3B; border-radius:4px; padding:.4rem .8rem; color:#512B3B; font-weight:600; text-decoration:none; }
