:root {
  --parish-navy: #1f3a5f;
  --parish-navy-dark: #16293f;
  --page-bg: #f4f2ec;
  --card-bg: #ffffff;
  --text-color: #2b2b2b;
  --border-color: #ddd8ca;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 40px 20px;
  background: var(--page-bg);
  font-family: "Century Gothic", "Calibri", Arial, sans-serif;
  color: var(--text-color);
}

.page {
  max-width: 960px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Top row: cover image + info text box */
.top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.cover-image {
  flex: 1 1 420px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e4e0d4;
  border-right: 1px solid var(--border-color);
}

.cover-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.info-box {
  flex: 1 1 280px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.info-box h1 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: var(--parish-navy);
}

.info-box p {
  margin: 0 0 10px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.info-divider {
  width: 100%;
  max-width: 265px;
  margin: 4px 0 16px auto;
  border: none;
  border-top: 1px solid var(--border-color);
}

.info-box .address {
  font-weight: 600;
}

/* Bottom bar: three link/button boxes */
.links-bar {
  border-top: 1px solid var(--border-color);
  padding: 22px 30px;
  background: #faf9f5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.link-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.link-box h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--parish-navy);
}

.link-box .link-box-sub {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: #8a8578;
}

.link-box .button-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: max-content;
  justify-items: stretch;
  justify-content: center;
  gap: 10px;
}

.link-box-centered .button-row {
  flex: 1;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.schedule h3 {
  margin: 12px 0 2px;
  font-size: 0.85rem;
  color: var(--parish-navy);
}

.schedule h3:first-child {
  margin-top: 0;
}

.schedule p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .links-bar { grid-template-columns: 1fr; }
}

.link-button {
  display: inline-block;
  padding: 10px 24px;
  background: var(--parish-navy);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.15s ease-in-out;
}

.link-button:hover,
.link-button:focus {
  background: var(--parish-navy-dark);
}

@media (max-width: 640px) {
  .info-box { text-align: left; }
  .info-divider { margin: 4px 0 16px 0; }
}
