/* About page specific styles */
.about-container {
  display: flex;
  max-width: 1100px; /* Match other content pages */
  margin: 0 auto;
  padding: 2rem 1rem;
  gap: 3rem;
}

.about-sidebar {
  flex: 0 0 300px;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: fit-content;
}

.about-content {
  flex: 1;
  max-width: 800px;
}

.profile-image {
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

/* Fallback for the placeholder if the image doesn't load */
.profile-photo[src$=""] {
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #556270;
}

.contact-info h2 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-info .title {
  color: #556270;
  font-weight: 600;
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  color: #495057;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Custom social links for about page */
.about-social-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e1e4e8;
}

.about-social-link:hover {
  background-color: #f6f8fa;
  color: #1a73e8;
  text-decoration: none;
}

.about-social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Home navigation cards */
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-card {
  display: block;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  text-decoration: none;
  color: #2c3e50;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.home-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #c8ccd1;
  transform: translateY(-2px);
  text-decoration: none;
  color: #2c3e50;
}

.home-card h3 {
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
  font-size: 1.1rem;
}

.home-card p {
  margin: 0;
  color: #556270;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Small, unobtrusive footer note on the home page */
.site-note {
  max-width: 1100px;
  margin: 1rem auto 2.5rem;
  padding: 1.25rem 1rem 0;
  border-top: 1px solid #e1e4e8;
  color: #8a929b;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.site-note p {
  margin: 0.4rem 0;
}

.site-note a {
  color: #6b7680;
  text-decoration: none;
  border-bottom: 1px dotted #c8ccd1;
}

.site-note a:hover {
  color: #1a73e8;
  border-bottom-color: #1a73e8;
}

/* human-readable contact */
.hucon {
  font-size: smaller;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  white-space: nowrap;
  color: #495057;
}
.hucon .cm::after { content: attr(data-v); }
.hucon .cm-at::after { content: " at "; }
.hucon .cm-dot::after { content: " dot "; }
.hucon .cm-at,
.hucon .cm-dot {
  font-style: italic;
  color: #aab0b7;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .about-sidebar {
    flex: 1;
    margin-bottom: 2rem;
  }
}
