.q-quicklinks {
  padding: 3rem 1rem;
}


.quicklinks-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Item */
.quicklink {
  background: transparent;
}

/* Link */
.quicklink a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Icon */
.quicklink i {
  display: block;
  margin-bottom: 1.1rem;
}

/* Titles */
.quicklink h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: #003366;
}

/* Descriptions (larger for all) */
.quicklink p {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  color: #444;
}

/* Hover / focus */
.quicklink a:hover h2,
.quicklink a:focus h2 {
  text-decoration: underline;
}

/* Accessibility */
.quicklink a:focus {
  outline: 2px solid #003366;
  outline-offset: 4px;
}

/* Mobile */
@media (max-width: 600px) {
  .quicklinks-wrapper {
    gap: 1.5rem;
  }
}

/* =====================================================
   QUICKLINKS COMPONENT (FULL OVERRIDE)
   ===================================================== */

/* Section spacing */
.q-quicklinks {
  padding: 3rem 1rem;
}

/* Grid layout */
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .quicklinks-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual card */
.quicklinks-card {
  background: transparent;
  max-width: 300px;   /* controls image + divider width */
   margin: 0 auto;
}

/* Icon ABOVE title */
.quicklinks-card i,
.quicklinks-card svg {
  display: block;
  font-size: 2.25rem;     /* icon size */
  margin-bottom: 1rem;
  color: #003366;
}

/* Images (if used instead of icons) */
.quicklinks-card img {
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

/* Titles */
.quicklinks-card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #003366 !important; /* override theme */
   border-bottom: 2px solid #c8b18b; 
   padding-bottom: 0.65rem;
}

/* Lists */
.quicklinks-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quicklinks-card li {
  padding: 0.55rem 0;
  border-bottom: 1px solid #ddd;
}

.quicklinks-card li a {
  font-size: 1rem;      /* smaller than titles */
  font-weight: 300;
  color: #000 !important;  /* black, not blue */
}

/* Links — HARD STOP on underlines */
.quicklinks-card a,
.quicklinks-card a:hover,
.quicklinks-card a:focus,
.quicklinks-card a:active {
  text-decoration: none !important;
  background: none !important;
  background-image: none !important;
}

/* Optional: subtle hover color (safe, no underline) */
.quicklinks-card a:hover,
.quicklinks-card a:focus {
  color: #004b8d;
}

/* Keyboard accessibility */
.quicklinks-card a:focus-visible {
  outline: 2px solid #003366;
  outline-offset: 3px;
}
