html {
    /* Use the loaded Google font with fallbacks */
    font-family: 'Source Sans Pro', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300; /* light by default */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Allow browsers to synthesize weight/style if exact face missing */
    font-synthesis: weight style;
}

h1 {
  display: block;
  margin: 0;
  font-weight: 700; /* explicit numeric weight */
  letter-spacing: 0.2px;
}

h4 {
  display: block;
  margin: 0;
  font-weight: 600;
  color: #1961ab;
}

h5 {
  display: block;
  margin: 0;
  font-weight: 500;
  color: #1961ab;
}

/* Ensure semantic boldness maps to the strong/b tags we use */
strong, b {
    font-weight: 700;
}

/* Links */
a {
    text-decoration: none;
    color: #1961ab;
}

a:hover {
    color: #1961ab;
}

#content {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%) ;
    text-align: center;
    max-width: 725px;
    padding: 32px;
    line-height: 1.6em;
}

.avatar {
    border-radius: 50%;
    width: 150px;
    transition: opacity 220ms ease, transform 220ms ease;
    will-change: opacity, transform;
}

/* Hidden state for avatar (used when scrolling or news is open) */
.avatar-hidden {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
    pointer-events: none;
}

/* Keep a11y — do not remove from layout readers may still read alt text. */

.icons {
    list-style-type: none;
    font-size: xx-large;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 320px;
    margin: 1em auto;
}

.icons li {
    display: inline;
    width: 42px;
}

.icons a {
    color: #e6e4e0; 
}

.icons a:hover {
    color: #1961ab;
}

/* Styling for inline expand/collapse (kept small) */
.inline-expand .ellipsis {
  color: #6b6b6b;
  margin-left: 0.25em;
}
.inline-expand .teaser {
  /* keep visual as-is for the truncated part */
}
.expand-toggle {
  background: none;
  border: none;
  color: #1961ab;
  cursor: pointer;
  padding: 0;
  margin-left: 0.25em;
  font-weight: 600;
  font-family: inherit;
  font-size: 1em;
  text-decoration: underline;
}
.expand-toggle:focus {
  outline: 2px solid #1961ab;
  outline-offset: 2px;
}