:root {
  --cream: #fff8ed;
  --cream-dark: #f7ead4;
  --brown: #3d2c20;
  --brown-soft: #6f4d35;
  --green: #3f7c59;
  --green-dark: #2f5d43;
  --gold: #f4b95f;
  --white: #ffffff;
  --shadow: 0 8px 18px rgba(61, 44, 32, 0.16);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--brown);
  background: var(--cream) url('/images/page-background.png') center / cover fixed no-repeat;
  min-height: 100vh;
}

.site-frame {
  width: min(100vw, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 132px minmax(0, 760px) 132px;
  gap: 12px;
  justify-content: center;
  align-items: start;
}

.side-panel {
  width: 132px;
  height: 100vh;
  min-height: 650px;
  position: sticky;
  top: 0;
  overflow: hidden;
  border-left: 2px solid rgba(255,255,255,0.65);
  border-right: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 0 22px rgba(0,0,0,0.18);
}

.side-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-shell {
  width: 100%;
  padding: 8px 0 24px;
}

.top-bar {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.brand {
  grid-column: 2;
  justify-self: center;
  color: var(--cream-dark);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  letter-spacing: 0.015em;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 3px 10px rgba(61,44,32,0.55);
}

.admin-link {
  grid-column: 3;
  justify-self: end;
  color: var(--green-dark);
  background: rgba(255,255,255,0.96);
  padding: 7px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
}

.hero-card, .services article, .location-card, .post-card, .admin-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
}

.hero-card {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(245,229,207,0.76));
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.67rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); line-height: 1.04; margin-bottom: 10px; }
h2 { font-size: clamp(1.08rem, 2vw, 1.3rem); margin-bottom: 7px; }
h3 { font-size: 1rem; }

.intro { font-size: 0.9rem; line-height: 1.42; margin-bottom: 0; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.button {
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.primary { background: var(--green); color: var(--white); }
.secondary { background: var(--gold); color: var(--brown); }
.danger { background: #8d2f24; color: #fff; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.services article {
  min-height: 92px;
  padding: 12px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(63, 124, 89, 0.13);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
}

.services h2 { font-size: 0.94rem; margin-bottom: 5px; }
.services p { font-size: 0.8rem; margin-bottom: 0; }
.services p, .post-message, .location-card p { line-height: 1.4; }

.location-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 12px;
  padding: 12px;
  margin-bottom: 13px;
  align-items: center;
}
.location-card iframe { width: 100%; height: 132px; border: 0; border-radius: 12px; }
.section-heading { margin-bottom: 6px; text-shadow: 0 2px 8px rgba(255,255,255,0.45); }
.feed { display: grid; gap: 10px; }
.post-card { overflow: hidden; }
.post-card img { width: 100%; max-height: 210px; object-fit: cover; display: block; }
.post-content { padding: 12px; }
.post-date { color: var(--brown-soft); font-size: 0.78rem; }
.post-caption { font-size: 1.02rem; margin-bottom: 5px; }
.post-message { font-size: 0.88rem; margin-bottom: 0; }

.admin-body { display: block; background: var(--cream) url('/images/page-background.png') center / cover fixed no-repeat; }
.admin-shell { width: min(900px, calc(100% - 24px)); margin: 0 auto; padding: 10px 0 24px; }
.admin-card { padding: 16px; }
.admin-dashboard-stack { display: grid; gap: 12px; }
.form-stack { display: grid; gap: 8px; }
.compact-form { grid-template-columns: 1fr 1fr auto; align-items: end; }
label { font-weight: 900; display: grid; gap: 5px; font-size: 0.92rem; }
input, textarea { width: 100%; border: 1px solid rgba(61, 44, 32, 0.2); border-radius: 11px; padding: 9px 10px; font: inherit; background: var(--white); }
textarea { resize: vertical; }
.status-message { min-height: 20px; font-weight: 800; color: var(--green-dark); font-size: 0.9rem; }
.small-note { color: var(--brown-soft); font-size: 0.86rem; line-height: 1.4; }
.hidden { display: none !important; }
.two-column-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.full-span { grid-column: 1 / -1; }
.admin-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(63, 124, 89, 0.09); }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.small-button { padding: 7px 10px; font-size: 0.8rem; }
