/* Mature theme: neutral fonts, subtle palette */

:root {
  --bg: #f7fafc; /* very light gray */
  --card: #ffffff;
  --text: #1f2937; /* slate-800 */
  --muted: #6b7280; /* gray-500 */
  --accent: #0b3d91; /* deep navy */
  --accent-contrast: #ffffff;
  --radius: 8px;
  --shadow: 0 6px 18px rgba(16,24,40,0.06);
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 32px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: inherit;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 12px;
}

table {
  width: 100%;
  margin: auto;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31,41,55,0.06);
}

th, td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(31,41,55,0.06);
  color: var(--text);
}

th {
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

tr:hover {
  background: rgba(11,61,145,0.04);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #082b66;
  text-decoration: underline;
}

img {
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(16,24,40,0.08);
  width: 150px;
  height: 100px;
  object-fit: cover; /* fill the box and keep images equally sized */
  display: block;
}

img.social-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

button {
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

button:hover {
  background: #082b66;
}

p {
  font-size: 16px;
  color: var(--muted);
}

/* Specific styles for previous nav table markup */
table[width="100%"][border="0"] td {
  background-color: transparent;
  border-radius: 6px;
}

/* Footer styling */
h4 {
  color: var(--muted);
  font-family: inherit;
}

/* Keep old theme comments for reference */
/* Original pastry-theme styles removed and replaced with a neutral, mature palette */

/* Navigation bar compact styles */
.nav-table td {
  padding: 6px 8px;
  font-size: 14px;
  vertical-align: middle;
}
.nav-table a {
  display: inline-block;
  padding: 4px 8px;
}
.nav-table {
  max-height: 44px;
  overflow: hidden;
}