/* theneighborhud.com : change the colors here to match the logo */
:root {
  --cream: #fbf1dc;
  --paper: #fffaf0;
  --ink: #3e2a18;
  --soft: #7a6048;
  --green: #5f7a34;
  --green-dark: #5a3414;
  --red: #f0a63a;
  --red-dark: #8a4b1c;
  --gold: #e9a23b;
  --line: #ead9b8;
  --wood: #5a3414;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 18px/1.65 Georgia, "Times New Roman", serif; }
img { max-width: 100%; height: auto; }
a { color: #4d6628; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; color: var(--green-dark); }
h1 { font-size: 2.3rem; margin: 0 0 .5em; }
h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; color: var(--red-dark); }
hr { border: 0; border-top: 2px dashed var(--line); margin: 2.5em 0; }

/* Header */
.site-header { background: var(--paper); border-bottom: 4px solid var(--wood); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { height: 76px; width: auto; display: block; }
.brand-text { font-size: 1.6rem; font-weight: bold; color: var(--green-dark); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-family: Verdana, Geneva, sans-serif; font-size: .88rem; }
.site-nav a { text-decoration: none; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.here { border-bottom-color: var(--green); color: var(--green-dark); }

/* Buttons */
.btn, .site-nav a.btn { display: inline-block; background: var(--red); color: #4a2a10; box-shadow: 0 3px 0 #b9741f; font-family: Verdana, Geneva, sans-serif; font-weight: bold; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 0; }
.btn:hover, .site-nav a.btn:hover { background: #f7b955; color: #4a2a10; }
.btn-big { font-size: 1.15rem; padding: 14px 34px; }

/* Pictures and placeholders */
.pic { display: block; width: 100%; height: auto; border-radius: 12px; }
.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, #efe5cb, #efe5cb 14px, #e9ddbf 14px, #e9ddbf 28px); border: 2px dashed #c9b88f; color: var(--soft); font: .8rem/1.4 Verdana, Geneva, sans-serif; }
.banner { border-radius: 0 0 12px 12px; margin-bottom: 28px; }

/* Home */
.hero { text-align: center; padding-bottom: 10px; }
.hero h1 { font-size: 2.6rem; margin-top: 6px; }
.eyebrow { margin: 26px 0 0; font: bold .95rem Verdana, Geneva, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #4d6628; }
.fineprint { font-size: .92rem; color: var(--soft); max-width: 560px; margin: 16px auto 0; }
.hero .lead { font-size: 1.25rem; max-width: 680px; margin: 0 auto 1.2em; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 36px 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: center; margin: 36px 0; }

/* Text pages */
.page { padding-bottom: 20px; }
.page .intro { font-size: 1.15rem; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 14px 64px; margin: 12px 0; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%; background: var(--green); color: #fff; font: bold 1rem/34px Verdana, Geneva, sans-serif; }
.seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.seasons li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-align: center; }
.contests { text-align: center; font-weight: bold; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.big { font-size: 1.2rem; text-align: center; font-weight: bold; }

/* Cast */
.cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin: 28px 0; }
.cast .card { padding: 0; overflow: hidden; }
.cast .pic { border-radius: 9px; margin: 14px 14px 0; width: calc(100% - 28px); }
.cast .body { padding: 14px 18px 18px; }
.cast h3 { margin: 0 0 .3em; }
.cast .home { margin-top: .7em; font-size: .92rem; color: var(--soft); }
.feature-box { background: var(--paper); border: 2px solid var(--gold); border-radius: 12px; padding: 6px 24px 16px; margin: 28px 0; }
table { width: 100%; border-collapse: collapse; background: var(--paper); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-family: Verdana, Geneva, sans-serif; font-size: .85rem; color: var(--soft); }

/* Call to action and footer */
.cta { text-align: center; margin: 44px 0 10px; padding: 26px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.cta p { font-size: 1.3rem; margin: 0 0 14px; color: var(--green-dark); font-weight: bold; }
.cta-img { width: 300px; }
.site-footer { margin-top: 50px; background: var(--wood); color: #f3ecd8; text-align: center; padding: 26px 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: .3em 0; }
.site-footer .tagline { font-size: 1.15rem; font-style: italic; }
.site-footer .small { font-size: .78rem; opacity: .85; max-width: 640px; margin: .8em auto 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  h1, .hero h1 { font-size: 1.9rem; }
  .header-inner { justify-content: center; }
  .site-nav { justify-content: center; }
}

.hud-shot { max-width: 420px; margin: 18px auto; }
.town-hero { max-width: 900px; margin: 0 auto; }
.fair-banner { border-radius: 12px; margin: 10px 0 24px; }

/* Get the HUD page */
.get-hud { text-align: center; }
.get-hud .emblem { width: 120px; height: 120px; margin: 24px auto 0; display: block; }
.get-hud h2, .get-hud ul, .get-hud p:not(.intro):not(.hint):not(.msg) { text-align: left; }
.hud-form { background: var(--paper); border: 2px solid var(--gold); border-radius: 12px; padding: 22px 20px; margin: 22px 0 10px; text-align: center; }
.hud-form label { display: block; font-weight: bold; font-size: 1.1rem; margin-bottom: 8px; color: var(--green-dark); }
.hud-form input { width: 100%; max-width: 420px; font: 1.1rem Georgia, serif; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.hud-form input:focus { outline: none; border-color: var(--gold); }
.hud-form .hint { font-size: .9rem; color: var(--soft); max-width: 460px; margin: 8px auto 16px; }
.hud-form .btn[disabled] { opacity: .6; cursor: wait; }
.msg { margin: 14px auto 0; max-width: 520px; }
.msg.ok { background: #eef4e2; border: 1px solid #b9cf8f; color: #3d5420; border-radius: 10px; padding: 12px 14px; }
.msg.fail { background: #fbeee0; border: 1px solid #e8c39a; color: #7a4318; border-radius: 10px; padding: 12px 14px; }
.small-print { font-size: .85rem; color: var(--soft); }

/* Friends & Sweethearts */
.center { text-align: center; }
.sweethearts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin: 20px 0 28px; }
.sh { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 14px; text-align: center; }
.sh .pic { border-radius: 8px; }
.sh h3 { margin: 10px 0 4px; font-size: 1.08rem; }
.sh p { margin: 0; font-size: .92rem; line-height: 1.5; }
dl.faq dt { font-weight: bold; color: var(--green-dark); margin-top: 1em; }
dl.faq dd { margin: .2em 0 0; }

.wedding-list { list-style: none; padding: 14px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.wedding-list li { padding: 3px 0; }
.wedding-list li::before { content: "\2766  "; color: var(--gold); }

/* Center text columns that sit inside a wider page */
.wrap .narrow { margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-feature { background: var(--paper); border: 2px solid var(--gold); border-radius: 12px; padding: 4px 24px 18px; margin: 10px 0 28px; }
.faq-feature h2 { margin-top: 1em; }
.faq-graphic { max-width: 520px; margin: 18px auto; }
.sum { text-align: center; font-size: 1.15rem; background: var(--cream); border-radius: 10px; padding: 10px; }
.more { color: var(--soft); }

.page > h1:first-child { margin-top: 32px; }
.site-footer .social { margin: .6em 0; font-family: Verdana, Geneva, sans-serif; font-size: .9rem; }
.site-footer .social a { margin: 0 4px; }
.site-footer .social span { opacity: .6; }

/* Section links and back to top */
html { scroll-behavior: smooth; }
h1[id], h2[id], h3[id] { scroll-margin-top: 16px; }
.toc { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 10px; padding: 12px 18px; margin: 18px 0 8px; }
.toc-title { margin: 0 0 6px; font: bold .8rem Verdana, Geneva, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.toc a { text-decoration: none; border-bottom: 1px dotted currentColor; }
.toc a:hover { border-bottom-style: solid; }
.back-to-top { text-align: center; margin: 30px 0 0; font-family: Verdana, Geneva, sans-serif; font-size: .9rem; }
.back-to-top a { text-decoration: none; }
