html.history-page-snap {
  scroll-snap-type: y proximity;
  scroll-padding-top: 104px;
}

.card {
  position: relative !important;
  overflow: hidden !important;
}

.card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--royal));
  transition: width 0.3s ease;
  z-index: 2;
  border-top-left-radius: var(--radius-box, 16px) !important;
  border-bottom-left-radius: var(--radius-box, 16px) !important;
}

.reveal:empty::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
}

footer,
.footer-bottom-space {
  padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
}

.grid-2x2-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
.grid-2x2-container {
  grid-template-columns: 1fr;
  gap: 16px;
}
}

.lineup-col-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-box, 16px);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.lineup-col-header {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 2px solid #1976d2;
}

.lineup-col-header .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.lineup-col-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.header-blue {
  border-bottom-color: #1976d2;
}

.header-blue h3 {
  color: #1976d2;
}

.header-cyan {
  border-bottom-color: #0288d1;
}

.header-cyan h3 {
  color: #0288d1;
}

.header-green {
  border-bottom-color: #2e7d32;
}

.header-green h3 {
  color: #2e7d32;
}

.lineup-col-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.lineup-more-btn {
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.lineup-more-btn:hover {
  color: #1976d2;
}

.lineup-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lineup-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-box, 16px);
  text-decoration: none;
  transition: all 0.2s ease;
}

.lineup-item:hover {
  background: #ffffff;
  border-color: #1976d2;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.08);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

.key-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-box, 16px);
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.key-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.key-value-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.key-value-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-link-btn {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.color-blue {
  color: #1976d2;
}

.bg-blue {
  background: #e3f2fd;
  color: #1976d2;
}

.color-cyan {
  color: #0288d1;
}

.bg-cyan {
  background: #e1f5fe;
  color: #0288d1;
}

.color-green {
  color: #2e7d32;
}

.bg-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.color-red {
  color: #d32f2f;
}

.bg-red {
  background: #ffebee;
  color: #d32f2f;
}

/* Align the CI, Contact and Company rows in the desktop footer. */
@media (min-width: 901px) {
  .footer .footer-grid {
    align-items: start;
  }

  .footer .footer-grid > div:first-child > div:first-child {
    min-height: 40px;
    margin: 0 0 16px !important;
  }

  .footer .footer-grid > div > h3 {
    display: flex;
    align-items: center;
    min-height: 40px;
    margin: 0 0 16px;
    padding: 0;
    line-height: 1.35;
  }

  .footer .footer-grid > div > p {
    margin: 0;
  }
}
