/*
 * YMCA of Greater Tulsa — branch-hours.css
 * Branch hours table + OpenStreetMap panel
 */

.hours-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.hours-panel {
  background: transparent;
  border: none;
  padding: 0;
}
.hours-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #e8e8e8;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 0.5px solid #f0f0f0;
}
.hours-table td:first-child {
  color: #888;
  width: 180px;
}
.hours-table td:last-child {
  font-weight: 600;
  color: #1a1a1a;
}
.hours-table tr:last-child td {
  border-bottom: none;
}
.hours-note {
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
  font-style: italic;
}
.map-panel {
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid #ebebeb;
  height: 100%;
  min-height: 280px;
}
.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
}

@media (max-width: 1024px) {
  .hours-map-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pool Hours ── */
.pool-hours-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 0.5px solid #e8e8e8;
}

/* Pool sections — stacked single column */
.pool-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* Individual pool section */
.pool-section {
  background: #f8f8f6;
  border-radius: 8px;
  padding: 14px 16px 12px;
}

/* Section title */
.pool-section-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* Each day/time row — no border lines */
.pool-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.5;
}
.pool-row-day {
  color: #666;
  flex-shrink: 0;
  max-width: 45%;
}
.pool-row-time {
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
}

/* Section note */
.pool-section-note {
  font-size: 11.5px;
  color: #999;
  font-style: italic;
  line-height: 1.5;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid #ebebeb;
}

/* Map panel wrapper — square aspect ratio */
.map-panel-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid #ebebeb;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.map-panel-wrap .map-panel {
  border: none;
  border-radius: 0;
  height: 100%;
  min-height: unset;
}
.map-panel-wrap .map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: unset;
  border: none;
  display: block;
}

/* Get Directions — styled link below the map */
.map-directions-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--blue);
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  background: #f0f6ff;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  width: 100%;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.map-directions-btn svg {
  flex-shrink: 0;
}
.map-directions-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* Pool policy — in the right (map) column */
.pool-policy {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #666;
}
.pool-policy p {
  margin-bottom: 8px;
}
.pool-policy p:last-child {
  margin-bottom: 0;
}
.pool-policy strong {
  font-weight: 600;
  color: #1a1a1a;
}
.pool-policy em {
  font-style: italic;
}
.pool-policy ul,
.pool-policy ol {
  margin: 0 0 8px 18px;
}
.pool-policy li {
  margin-bottom: 4px;
}

/* Pool Policy header */
.pool-policy-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 0.5px solid #ebebeb;
}
.pool-policy-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid #ebebeb;
}
