/* Worship On The Mountain theme: navy and gold, classic serif faces. */
:root {
  --navy: #1b2a4a;
  --navy-light: #2c4170;
  --gold: #c9a227;
  --gold-light: #e8d28a;
  --cream: #fbf7ee;
  --ink: #2a2a2a;
  --muted: #5b6275;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  line-height: 1.6;
}

h1, h2, .brand, nav a {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

h1 {
  color: var(--navy);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0.5rem 0 1rem;
}

h1::before, h1::after {
  content: "\271D";
  color: var(--gold);
  font-size: 1.3em;
  margin: 0 0.6rem;
  vertical-align: middle;
}

/* Top menu bar */
.topbar {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.25);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 1rem;
}

.topbar a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.topbar a.fb-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
}

.topbar a:hover,
.topbar a[aria-current="page"] {
  color: var(--navy);
  background: var(--gold);
}

/* Content */
main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

main img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border: 6px solid #fff;
  outline: 1px solid var(--gold);
  box-shadow: 0 6px 18px rgba(27, 42, 74, 0.2);
}

main figure {
  margin: 0;
}

main figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--navy);
  font-style: italic;
}

main figcaption a {
  color: var(--navy-light);
  font-weight: 600;
}

main hr {
  width: 60%;
  margin: 2rem auto;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

main p {
  text-align: center;
  color: var(--muted);
}

/* Styled box */
.well {
  max-width: 640px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--gold);
  border-left: 6px solid var(--gold);
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.08);
}

.well h2 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  text-align: center;
}

.well p {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
}

.well p.verse {
  margin-top: 1rem;
  font-family: "Lora", Georgia, serif;
  font-size: 1rem;
  font-style: normal;
  color: var(--ink);
}

.well cite {
  display: block;
  margin-top: 0.3rem;
  font-style: normal;
  font-weight: 600;
  color: var(--navy-light);
}

.well-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.well-row .well {
  margin: 0;
  flex: 1 1 320px;
  max-width: 560px;
}

.well-row img.well-img {
  flex: 0 1 auto;
  align-self: stretch;
  width: auto;
  height: auto;
  min-height: 0;
  max-width: 45%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.08);
}

@media (max-width: 600px) {
  .well-row img.well-img {
    max-width: 100%;
    align-self: auto;
    width: 100%;
    height: 220px;
  }
}

/* Horizontal rule with a centered label */
.labeled-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 60%;
  color: var(--navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.3rem;
}

.labeled-rule::before,
.labeled-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Volunteer needs */
.needs,
.signup {
  max-width: 640px;
  margin: 2rem auto 0;
}

.needs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.need {
  background: #fff;
  border: 1px solid var(--gold);
  border-left: 6px solid var(--gold);
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.08);
}

.need h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.3rem;
}

.need p {
  margin: 0.25rem 0;
  text-align: left;
  color: var(--ink);
}

.need-volunteers {
  margin-top: 0.75rem;
}

.need-volunteers-heading {
  color: var(--navy-light);
  font-weight: 600;
}

.volunteer-comments {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.volunteer-comments li {
  padding-left: 0.75rem;
  border-left: 2px solid var(--gold-light);
}

.volunteer-comment {
  margin: 0.15rem 0 0;
  font-style: italic;
}

.need-edit {
  max-width: none;
  margin: 0 0 1rem;
}

.need-actions,
.volunteer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.volunteers {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.volunteer-details {
  width: 100%;
  margin: 0;
}

.volunteer button,
.need-actions button {
  width: auto;
}

button.danger {
  background: #8b2e2e;
}

.admin .need-edit label {
  text-align: left;
}

.needs h2,
.signup h2 {
  color: var(--navy);
  text-align: center;
}

/* Forms */
form {
  display: grid;
  gap: 0.9rem;
  max-width: 420px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.08);
}

label {
  display: grid;
  gap: 0.3rem;
  color: var(--navy);
  font-weight: 600;
}

input,
textarea,
select {
  padding: 0.55rem;
  font: inherit;
  border: 1px solid #cfc6a8;
  background: var(--cream);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

button {
  padding: 0.7rem;
  font: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--navy);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: var(--navy-light);
}

#message {
  text-align: center;
  color: var(--navy);
  font-style: italic;
}

/* Crisis footer */
footer.psa {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  background: var(--navy);
  color: var(--cream);
  border-top: 3px solid var(--gold);
}

footer.psa p {
  flex: 1 1 280px;
  margin: 0;
  text-align: left;
}

footer.psa strong {
  color: var(--gold-light);
}

footer.psa a {
  color: var(--gold-light);
  font-weight: bold;
}

/* Artists page */
.artist-about {
  white-space: pre-line;
}

/* Admin: collapsible edit forms */
.edit-details {
  flex-basis: 100%;
}

.edit-details summary {
  cursor: pointer;
  color: var(--navy-light);
  font-weight: 600;
}

/* Admin: hidden performances are dimmed */
.need.is-hidden {
  opacity: 0.7;
  border-left-style: dashed;
}
