/* ============================================
   Bethel Presbyterian Church /about/visit Mobile Stylesheet
   ============================================ */

.page-section {
  width: 100%;
  margin: 0 auto 3rem;
  box-sizing: border-box;
}

/* ---------------------
   Section Wrappers
   --------------------- */
.section-wrapper {
  background: var(--white);
  border-radius: 14px;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

/* ---------------------
   Headings
   --------------------- */
.section-wrapper h2 {
  font-family: var(--font-serif-primary);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-wrapper h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-green), var(--primary-complement));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-wrapper h3 {
  font-family: var(--font-sans-secondary);
  font-size: 2.4rem;
  color: var(--primary-complement);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ---------------------
   Paragraphs
   --------------------- */
.section-wrapper p {
  font-family: var(--font-sans-secondary);
  font-size: 2rem;
  line-height: 3rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------
   Expect Image
   --------------------- */
.expect-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin: 0 auto 1.5rem;
  display: block;
}

.expect-caption {
  font-size: 1.6rem;
  font-style: italic;
  color: var(--secondary-dark-complement);
  margin-bottom: 2rem;
}

/* ---------------------
   Event Times
   --------------------- */
.event-heading {
  font-family: var(--font-serif-primary);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 2rem;
  text-align: center;
}

.event-box {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.event-row td {
  font-size: 1.8rem;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.event-day {
  font-weight: 700;
  color: var(--primary-green);
}

.event-footer {
  font-size: 1.6rem;
}

.calendar-link {
  color: var(--primary-complement);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------
   Contact Section
   --------------------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  font-size: 1.8rem;
  line-height: 2.8rem;
  color: #333;
  text-align: center;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list strong {
  color: var(--primary-green);
  font-weight: 700;
}

/* ---------------------
   Responsive Breakpoints
   --------------------- */
@media (min-width: 768px) {
  .section-wrapper {
    max-width: 900px;
    margin: 0 auto 3rem;
  }

  .section-wrapper h2 {
    font-size: 4.2rem;
  }

  .section-wrapper p {
    font-size: 2.2rem;
    line-height: 3.4rem;
  }

  .event-heading {
    font-size: 3.6rem;
  }

  .event-row td {
    font-size: 2rem;
  }

  .contact-list {
    font-size: 2rem;
  }
}
