/* National Cristina Foundation — archival landing page
   Plain CSS, no external dependencies. Lato is self-hosted (SIL Open Font License). */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lato-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lato-latin-700-normal.woff2") format("woff2");
}

:root {
  --text: #212121;
  --heading: #000000;
  --band: #f2f2f2;
  --page: #ffffff;
  --content-width: 798px;
  --footer-width: 948px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Header / logo ---------- */
.site-header {
  padding: 35px 16px 51px;
  text-align: center;
}

.logo {
  display: inline-block;
  width: 312px;
  vertical-align: top;
}

/* ---------- Gray content band ---------- */
.band {
  background: var(--band);
  padding: 59px 16px 44px;
}

.content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.content h1,
.content p {
  margin-left: 7px;
  margin-right: 7px;
}

h1 {
  margin-top: 0;
  margin-bottom: 29px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 26px;
}

.photo {
  display: block;
  width: 100%;
  aspect-ratio: 798 / 334;
  object-fit: cover;
  object-position: 26% 50%; /* matches the crop used on the Google Sites page */
  margin-top: 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--footer-width);
  margin: 0 auto;
  padding: 71px 0 20px;
}

.site-footer p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-footer {
    padding-left: 23px;
    padding-right: 23px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 28px 16px 32px;
  }

  .logo {
    width: 240px;
  }

  .band {
    padding: 36px 16px 32px;
  }

  .content h1,
  .content p {
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    margin-bottom: 18px;
  }

  p {
    font-size: 16px;
  }

  .site-footer {
    padding: 40px 16px 24px;
  }

  .site-footer p {
    font-size: 12px;
  }
}
