/* Contacts page — scoped under .contacts-page */

.contacts-page {
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}

/* Hero block: image + internal navigation (same pattern as testimonials-page-links) */
.contacts-page-links {
  background-size: cover;
  background-position: center;
}
.contacts-page-links .breadcrumbs-custom-title {
  font-size: 1.75rem;
}
@media (min-width: 768px) {
  .contacts-page-links {
    min-height: 280px;
  }
}

.contacts-main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  gap: 2rem;
}

.contacts-page .sidebar {
  width: 250px;
  flex-shrink: 0;
}

.contacts-page .sidebar-menu {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contacts-page .menu-header {
  padding: 1rem;
  font-weight: bold;
  color: #555;
  border-bottom: 1px solid #eaeaea;
}

.contacts-page .menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contacts-page .menu-item {
  padding: 0;
  border-left: 3px solid transparent;
  transition: border-left-color 0.2s ease;
}

.contacts-page .contacts-nav-link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contacts-page .contacts-nav-link:hover {
  background-color: #f5f7fa;
}

.contacts-page .menu-item.active .contacts-nav-link {
  font-weight: bold;
}

.contacts-page .menu-item:hover {
  background-color: #f5f7fa;
  border-left-color: var(--color-primary, #009966);
}

.contacts-page .menu-item.active {
  background-color: #f5f7fa;
  border-left-color: var(--color-primary, #009966);
  font-weight: bold;
}

.contacts-page .main-content {
  flex: 1;
  min-width: 0;
}

.contacts-page .main-content section.contacts-section {
  margin-bottom: 3rem;
  scroll-margin-top: 1.5rem;
}

.contacts-page .main-content h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 1.5rem;
}

.contacts-page .info-block {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.contacts-page .info-block h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 1rem;
}

.contacts-page table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.contacts-page th,
.contacts-page td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
}

.contacts-page thead th {
  background-color: #f5f7fa;
  font-weight: bold;
  color: #555;
}

.contacts-page tbody tr:hover {
  background-color: #f8fafc;
}

.contacts-page .documents-section h3 {
  margin-bottom: 1rem;
}

.contacts-page .document-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contacts-page .document-item {
  margin-bottom: 0.5rem;
}

.contacts-page .document-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background-color: #f5f7fa;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.contacts-page .document-link:hover {
  background-color: #e9edf3;
}

.contacts-page .document-download {
  font-size: 0.875rem;
  color: var(--color-primary, #009966);
}

.contacts-page .contacts-section-body h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.contacts-page .contacts-section-body p {
  margin-bottom: 0.75rem;
}

.contacts-page .contacts-section-body ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.contacts-page .document-icon {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .contacts-main {
    flex-direction: column;
  }

  .contacts-page .sidebar {
    width: 100%;
    margin-bottom: 2rem;
  }

  .contacts-page table {
    font-size: 0.9rem;
  }
}
