/* Contact sidebar */

.contact-sidebar .card + .card {
  margin-top: 1rem;
}

/* Admin table */

.admin-table-wrapper {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--psga-border-subtle);
  vertical-align: top;
}

.admin-table th {
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.admin-message-cell {
  max-width: 320px;
}

.admin-muted {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Gallery images */

.gallery-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.75rem 0 0.5rem;
}

.gallery-figure {
  margin: 0;
  text-align: center;
}

.gallery-figure img {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
}

.gallery-figure figcaption {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* Footer */

.site-footer {
  background-color: #111318;
  color: #f4f4f4;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-family: var(--psga-font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-heading {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a {
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .nav-container {
    flex-wrap: wrap;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid-3,
  .testimonials {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
