/*
 * YMCA of Greater Tulsa — open-house.css
 * Community Open House event page
 */

.oh-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px var(--pad, 64px) 96px;
}

/* ── Event Details ── */
.oh-event-details {
  background: #f8f8f6;
  border: 0.5px solid #e8e8e8;
  border-left: 5px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 22px 28px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oh-event-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.oh-event-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}
.oh-event-row svg {
  color: var(--green);
  flex-shrink: 0;
}
.oh-event-note {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-top: 4px;
}

/* ── Intro Copy ── */
.oh-intro {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 40px;
}
.oh-intro p {
  margin-bottom: 14px;
}
.oh-intro p:last-child {
  margin-bottom: 0;
}

/* ── Special Offer Box ── */
.oh-offer-box {
  background: linear-gradient(135deg, #085041 0%, #0f6e56 100%);
  color: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  margin-bottom: 52px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.oh-offer-box::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.oh-offer-box::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.oh-offer-star {
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
}
.oh-offer-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}
.oh-offer-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}
.oh-offer-items {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.oh-offer-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px 24px;
  min-width: 180px;
}
.oh-offer-item-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.oh-offer-item-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}
.oh-offer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

/* ── Sections ── */
.oh-section {
  margin-bottom: 48px;
}
.oh-band {
  margin-bottom: 20px;
}

/* Activities list */
.oh-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.oh-list li {
  font-size: 15px;
  color: #444;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.oh-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Schedule table */
.oh-schedule-note {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  font-style: italic;
}
.oh-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.oh-schedule-table th {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 2px solid #ebebeb;
}
.oh-schedule-table td {
  padding: 12px 16px;
  color: #333;
  border-bottom: 0.5px solid #f0f0f0;
  line-height: 1.4;
}
.oh-schedule-table tr:last-child td {
  border-bottom: none;
}
.oh-schedule-table tr:nth-child(even) td {
  background: #f8f8f6;
}

/* Community partners */
.oh-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.oh-partner {
  border: 0.5px solid #e8e8e8;
  border-radius: 6px;
  padding: 12px 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oh-partner img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
.oh-partner-name {
  font-size: 13px;
  font-weight: 600;
  color: #3a3a3a;
  white-space: nowrap;
}

/* Become a partner */
.oh-become-partner {
  margin-top: 28px;
  padding: 24px 28px;
  background: #eff5f2;
  border: 0.5px solid #c8e0d8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.oh-become-partner .pb-rich-text {
  flex: 1;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  min-width: 200px;
}
.oh-become-partner .pb-rich-text a {
  color: var(--blue);
}
.oh-partner-btn {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--green);
  border-radius: 4px;
  padding: 12px 24px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.oh-partner-btn:hover {
  background: var(--green-dk);
}

/* Footer note */
.oh-footer-note {
  font-size: 13px;
  color: #aaa;
  font-style: italic;
  padding-top: 24px;
  border-top: 0.5px solid #ebebeb;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .oh-wrap {
    padding: 48px var(--pad, 20px) 64px;
  }
  .oh-offer-box {
    padding: 28px 24px;
  }
  .oh-offer-items {
    flex-direction: column;
  }
  .oh-offer-item {
    min-width: unset;
  }
  .oh-become-partner {
    flex-direction: column;
    align-items: flex-start;
  }
  .oh-partner-btn {
    width: 100%;
    text-align: center;
  }
}
