/* --- APPLE-THEMED TRANSIT MAP PAGE SPECIFIC STYLES --- */

/* Intro / Hero Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  width: 100%;
  max-width: 950px;
  margin-top: 40px;
}

.geometric-icon {
  width: 100%;
  height: 350px;
  background-color: var(--soft-gray);
  border: var(--border-light);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Feature blocks */
.feature-block-layout {
  width: 100%;
  max-width: 950px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.feature-block-layout:nth-child(even) {
  direction: rtl;
}

.feature-block-layout:nth-child(even) .concept-card {
  direction: ltr;
}

.concept-card {
  background-color: var(--white);
  border: var(--border-light);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Subway Map Drawing Layout */
.railway-drawing {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 18px;
  border: var(--border-light);
  background-color: var(--soft-gray);
  overflow: hidden;
}

.line-draw {
  position: absolute;
  height: 6px;
  background-color: var(--apple-blue);
  top: 50%;
  left: 0;
  width: 100%;
}

.line-draw.vertical {
  width: 6px;
  height: 100%;
  left: 50%;
  top: 0;
  background-color: #FF453A;
}

.train-node-icon {
  width: 24px;
  height: 24px;
  background-color: var(--white);
  border: 4px solid var(--text-charcoal);
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 12px);
  left: calc(50% - 12px);
  z-index: 5;
}

/* Apple-style Comparison Timetable */
.timetable-wrapper {
  width: 100%;
  max-width: 950px;
  margin-top: 40px;
  background-color: var(--white);
  border: var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.timetable-header {
  border-bottom: 1px solid #E5E5EA;
  padding-bottom: 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timetable-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-charcoal);
}

.timetable-subtitle {
  font-size: 13px;
  color: #86868B;
  font-weight: 500;
}

.timetable-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 12px;
}

.timetable-row {
  display: contents;
}

.timetable-cell {
  padding: 16px 8px;
  border-bottom: 1px solid #F5F5F7;
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #48484A;
}

.timetable-row:first-child .timetable-cell {
  font-weight: 600;
  color: var(--text-charcoal);
  border-bottom: 1px solid #D2D2D7;
}

.timetable-cell.highlight-blue {
  color: var(--apple-blue);
  font-weight: 500;
}

.timetable-cell ul {
  list-style: none;
}

.timetable-cell ul li::before {
  content: "• ";
  color: var(--apple-blue);
}
