/* ============================================================
    O'Neil's Restaurant & Pub — "Recommended Resources" page
    Standalone stylesheet: keeps the shared design system
    (colors, radii, spacing) while adding page-specific blocks
    for the editor-style resource sections. Pure static.
    ============================================================ */

:root {
  --green-900: #0e3d15;
  --green-800: #0b5d1e;
  --green-700: #1d8a3e;
  --green-100: #e4f0e2;
  --green-50:  #f2f7f0;
  --gold:      #b8860b;
  --gold-soft: #c9a227;
  --cream:     #faf7ef;
  --paper:     #fffdf7;
  --ink:       #24281f;
  --ink-soft:  #4d5347;
  --line:      #dfe3d5;
  --shadow:    0 1px 2px rgba(20, 40, 15, .06), 0 8px 24px rgba(20, 40, 15, .08);
  --radius:    12px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: Georgia, "Times New Roman", "Noto Serif", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(11, 93, 30, .05), rgba(11, 93, 30, 0) 260px),
    var(--cream);
}
img { max-width: 100%; height: auto; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }
:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-800); color: #fff;
  padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  width: 100%; max-width: 1060px;
  margin-inline: auto; padding-inline: 20px;
}
main { padding-bottom: 64px; }

/* ---------- header (mirrors shared site-header) ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(20, 40, 15, .03);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 12px;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  font-weight: 700; color: var(--green-900); text-decoration: none;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.header-phone:hover { color: var(--green-700); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--green-800); color: #f5e9c8;
  font-family: var(--font-display); font-size: 1.7rem; border-radius: 10px; line-height: 1;
}
.brand-text { line-height: 1.15; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--green-900); font-weight: 700; }
.brand-tag {
  display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.site-nav { border-top: 1px solid var(--line); background: var(--paper); }
.site-nav ul {
  list-style: none; margin: 0 auto; padding: 4px 20px; max-width: 1060px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px;
}
.site-nav a {
  display: block; padding: .5rem .85rem; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .95rem; border-radius: 8px;
}
.site-nav a:hover { background: var(--green-50); color: var(--green-900); }
.site-nav a[aria-current="page"] { background: var(--green-800); color: #fff; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--paper);
  border-radius: 8px; padding: .5rem .8rem; font: inherit; font-weight: 600;
  cursor: pointer; color: var(--green-900);
}

/* ---------- page head ---------- */
.page-head { margin-block: 44px 26px; }
.breadcrumbs { font-size: .86rem; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/\00a0"; color: #a8b09b; }
.breadcrumbs a { text-decoration: none; }
.page-head h1 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  color: var(--green-900); margin: 0 0 .35em; line-height: 1.2;
}
.page-head .lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 64ch; margin: 0; }
.page-head .note { font-size: .98rem; color: var(--ink-soft); max-width: 62ch; margin-top: 14px; }

/* ---------- resource sections (each layout differs) ---------- */
.resource-section { margin-block: 44px; }
.resource-section > h2 {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--green-900); margin: 0 0 .5em; line-height: 1.25;
}
.resource-section .lead { color: var(--ink-soft); max-width: 62ch; margin: 0 0 22px; }

/* A — prose + featured card (homepage style) */
.featured-resource {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; display: grid;
  grid-template-columns: 2.2fr 1fr; gap: 24px; align-items: center; margin-top: 8px;
}
.featured-resource h3 {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--green-900);
  margin: 0 0 8px; line-height: 1.25;
}
.featured-resource p { color: var(--ink-soft); margin: 0 0 16px; }
.featured-resource .thumb {
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  border: 1px solid var(--line); border-radius: 10px; padding: 20px;
  display: grid; place-items: center; text-align: center;
}
.featured-resource .thumb .badge {
  display: inline-block; font-family: var(--font-display); font-size: 2.4rem;
  color: var(--green-800); line-height: 1; margin-bottom: 10px;
}
.featured-resource .thumb small { font-size: .82rem; color: var(--ink-soft); }

/* B — three-column cards (resources page A zone) */
.grid-3 { display: grid; gap: 20px; }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.resource-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column;
}
.resource-card .eyebrow {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 8px;
}
.resource-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; color: var(--green-900);
  margin: 0 0 8px; line-height: 1.25;
}
.resource-card p { color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.resource-card .cta { align-self: flex-start; font-weight: 700; text-decoration: none; }
.resource-card .cta::after { content: " \2192"; }

/* C — editor list with short blurbs (resources page C zone) */
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.resource-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px;
}
.resource-list h3 { font-family: var(--font-display); color: var(--green-900); margin: 0 0 6px; font-size: 1.12rem; }
.resource-list p { margin: 0; color: var(--ink-soft); }

/* intro callout */
.intro-note {
  background: var(--green-50); border: 1px solid #cfe2cb; border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 36px;
}
.intro-note p { margin: 0; color: var(--ink-soft); }
.intro-note p:last-child { margin-bottom: 0; }

/* ---------- footer (mirrors shared site-footer) ---------- */
.site-footer {
  background: var(--green-900); color: #d7e5d2;
  margin-top: 40px; padding-block: 44px 26px; font-size: .93rem;
}
.site-footer a { color: #e8f0e4; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; margin-bottom: 30px;
}
.site-footer h2 {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: #f0e2b0; margin: 0 0 12px; font-family: var(--font-body);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #b9ccb2;
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .featured-resource { grid-template-columns: 1fr; text-align: left; }
  .featured-resource .thumb { text-align: left; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; padding: 10px 20px 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: .7rem .8rem; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
