/* Improve link contrast without underline */
a {
  color: #7aa2f7;
  text-decoration: none;      /* <- removes underline */
}

a:visited {
  color: #bb9af7;
}

a:hover,
a:focus {
  color: #9ece6a;
  text-decoration: underline; /* optional: only underline on hover */
  text-underline-offset: 0.15em;
}
/*
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}

.project-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.photo-figure {
  margin: 18px 0 26px;
}

.photo-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.photo-figure figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}
/*

/* =========================================================
   PHOTO GROUPS (2 x 2)
   ========================================================= */

.photo-group-wrapper {
  display: block;
}

.photo-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Mobile only */
@media (max-width: 600px) {
  .photo-group {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   PHOTO CARD
   ========================================================= */

.photo-card {
  margin: 0;
  padding: 14px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Remove link styling */
.photo-card a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   IMAGE
   ========================================================= */

.photo-card img {
  display: block;
  width: 100%;
  height: auto;

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);

  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* Hover / focus */
.photo-card a:hover img,
.photo-card a:focus img {
  transform: translateY(-2px);
  opacity: 0.96;
}

/* Optional: enforce consistent card heights */
/*
.photo-card img {
  height: 260px;
  object-fit: cover;
}
*/

/* =========================================================
   CAPTION (single block, visual hierarchy)
   ========================================================= */

.caption {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.4;

  color: rgba(255, 255, 255, 0.78);
  font-feature-settings: "tnum";
}

/* First line = subject / place / date */
.caption::first-line {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}


