/* Container */
.contact-container {
  width: 100rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  color: #120450;
  line-height: 1.5;
}

.contact-header {
    background: none;
    text-align: flex-start;
    color: #ffffff;
    max-width: 100rem;
    margin: 0 -2rem 2rem auto;
    border-top: 0.3rem solid #9E0E25;
    position: relative;
    z-index: 2;
}

.contact-header h1 {
    color: #120450;
    font-size: 3.3rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.025em;
    display: inline-block;
    margin: 0;
}


.contact-info {
  padding-top: 2rem;
}

/* Columns */
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #120450;
}

.contact-info p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Links */
.contact-info a {
  color: #9E0E25;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-info a:hover {
  color: #120450;
}

/* Map Preview */
.map-preview {
  width: 70rem;
  height: 50rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.map-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Links Below Map */
.map-links {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.map-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.map-links a {
  list-style: none; 
  display: inline-block;
  padding: 0.5rem 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: #120450;
  background: #ffffff;
  border: 0.1rem solid rgba(19,52,59,0.05);
  box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.1);
  transition: background-color 0.25s ease, transform ease;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  width: 25rem;
}

.map-links a:hover,
.map-links a:focus {
  background-color: #f7f7f7;
  color:#9E0E25;
  transform: translateY(-0.125rem);
}

/* Responsive */
@media (max-width: 48rem) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .map-preview {
    height: 200px;
  }
}
