/* =========================================
   About Component
   ========================================= */

.about-section {
  padding: 2rem 2rem 0 2rem;
  width: 100%;
  border-top: 1px solid var(--color-border);
  margin-top: -1px;
}

.about-header {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Gaps removed to create precise wireframe container bounds */
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.about-col {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Hide the right border on the last item to prevent edge bleeding */
.about-col:last-child {
  border-right: none;
}

.about-image {
  width: 100%;
  height: auto;
  background-color: var(--color-bg);
  margin-bottom: 0;
  display: block;
}

.about-title {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mobile-only-br {
  display: none;
}

.about-title-second {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-desc {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 2rem;
  text-align: left;
}


.about-contact {
  margin-top: 1rem;
}

.about-contact-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.about-contact-link {
  font-family: var(--font-body);
  font-size: 1.125rem;
  display: block;
  margin-top: 0.5rem;
}

.about-contact-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-section {
    padding: 0;
  }
  
  .about-header {
    padding: 1.25rem 1.5rem;
    margin-bottom: 0;
    font-size: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
  }
  
  .about-col {
    padding: 1.25rem;
    border-right: none;
  }

  .about-col:nth-child(1) {
    order: 2;
    border-bottom: none;
  }
  
  .about-col:nth-child(2) {
    order: 1;
    border-bottom: 1px solid var(--color-border);
  }
  
  .about-title {
    font-size: 2rem;
  }

  .mobile-only-br {
    display: block;
    content: "";
    margin-top: 0;
  }
  
  .about-desc {
    font-size: 1rem;
  }
}
