/*********************************************************
  CONTACT.CSS (Updated)
  - Two-column layout for desktop, single-column on mobile
  - Smaller map embed, border under contact names
**********************************************************/

/* 1. BASE PAGE STYLES */
.contact-page {
    padding: 2rem 0;
    /* Optional background color:
    background-color: #FFFAEC;
    */
  }
  
  .contact-page .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* 2. TWO-COLUMN GRID */
  .contact-grid {
    display: flex;
    gap: 3rem; /* Increase gap for more space between cards */
    align-items: flex-start; /* top-align the cards */
  }
  
  /* CONTACT CARD */
  .contact-card {
    flex: 1;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 20px;
  }
  
  /* HEADINGS, PARAGRAPHS */
  .contact-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #000;
    padding-bottom: 0.5rem;           /* space between text and border */
    border-bottom: 1px solid #ccc;   /* subtle border under the heading */
  }
  .contact-card p {
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #333;
  }
  
  /* EMAIL LINKS */
  .contact-card a[href^="mailto"] {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
  }
  .contact-card a[href^="mailto"]:hover {
    text-decoration: underline;
  }
  
  /* 3. MUSEUM MAP (SMALLER RATIO) */
  .museum-map {
    margin-top: 1rem;
    position: relative;
    padding-bottom: 40%; /* smaller ratio for a shorter map */
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  .museum-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* 4. RESPONSIVE QUERIES (Mobile) */
  @media (max-width: 768px) {
    /* Stack the two cards vertically */
    .contact-grid {
      flex-direction: column;
    }
  
    .contact-card h2 {
      font-size: 1.3rem;
    }
    .contact-card p {
      font-size: 0.95rem;
    }
    /* Slightly tweak the map ratio if needed */
    .museum-map {
      padding-bottom: 50%;
    }
  }
    