/* ============================
   NOAA-Inspired Global Styles
   ============================ */

/* Base typography */
body, p, h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #004466;      /* dark ocean blue text */
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f0f8ff; /* very light blue background */
}

/* Links */
a {
  color: #0077aa;       /* NOAA blue accent */
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
  color: #004466;
}

/* ============================
   Cosmo-Compatible Header & Footer Overrides
   ============================ */

/* Header override */
header.navbar, header.navbar .navbar-brand {
  background-color: #004466 !important; /* deep ocean blue */
  color: #fff !important;
}

/* Footer override */
footer.q-footer {
  background-color: #004466 !important;
  color: #fff !important;
  text-align: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Footer links */
footer.q-footer a {
  color: #fff !important;
  margin: 0 0.5rem;
}

footer.q-footer a:hover {
  color: #66c2ff !important; /* lighter blue on hover */
  text-decoration: underline;
}

/* Optional small footer text */
footer.q-footer small {
  display: block;
  margin-top: 0.5rem;
  color: #f0f0f0;
}

/* ============================
   Cards & Content Boxes
   ============================ */
.card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ============================
   Section Spacing
   ============================ */
h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

/* ============================
   Metadata Styling
   ============================ */
.card small {
  font-style: italic;
  color: #666; /* muted gray */
  display: block;
  margin-top: 0.25rem;
}

/* ============================
   Image Caption Styling
   ============================ */
.image-caption {
  color: #555555;      /* medium grey */
  font-size: 0.9em;    /* slightly smaller than body text */
  font-style: italic;  /* keep italic look */
  text-align: center;  /* centered under image */
  margin-top: 0.5rem;
}





