/* Original page assets, mobile layout first. */
@font-face {
  font-family: "Helvetica Condensed Bold";
  src: url("../assets/fonts/helvetica-condensed-bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Condensed";
  src: url("../assets/fonts/helvetica-condensed.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
html {
  font-size: 13.33333333vw;
}
body,
div,
h3,
p,
ul,
li {
  margin: 0;
  padding: 0;
}
body {
  font-family: "PingFang SC", Arial, sans-serif;
  font-size: 0.24rem;
}
img {
  border: 0;
  vertical-align: top;
}
a {
  color: #333;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid #005ea9;
  outline-offset: 3px;
}
ul {
  list-style: none;
}
i {
  font-style: normal;
}
em {
  font-style: normal;
  font-weight: normal;
}
h3 {
  font-size: 100%;
  font-weight: normal;
}
.desktop-only {
  display: none;
}
.wrapper {
  background: #bcdaf2 url("../assets/images/page-background-mobile.png") no-repeat center top;
  background-size: 100% auto;
}
.home-link {
  width: 94%;
  padding-top: 3%;
  padding-right: 6%;
  font:
    normal 0.3rem "Helvetica Condensed",
    sans-serif;
  text-align: right;
}
.home-link a {
  color: #f8cd67;
  text-decoration: underline;
}
.hero-space {
  padding-top: 0.7rem;
  padding-bottom: 1rem;
}
.main-content {
  width: 100%;
  margin: 0 auto;
  padding-top: 2.8rem;
}
.article-list {
  width: 92%;
  margin: 1rem auto 0;
}
.article-card {
  padding: 0.25rem 0;
  border-bottom: 1px solid #77abdf;
  color: #fff;
}
.article-card a {
  color: #fff;
}
.article-card h3 {
  font:
    bold 0.26rem/0.38rem Georgia,
    serif;
}
.article-card p {
  font-size: 0.24rem;
  line-height: 0.28rem;
  color: #ccd0d0;
}
.article-card i,
.article-card em {
  color: #afe2ff;
  font-style: italic;
}
/* Copyright stays readable independently of the mobile page's scaled rem. */
.page-footer {
  background: #f4f7fb;
  color: #46566d;
  text-align: center;
  border-top: 1px solid #d7e1ee;
  margin-top: 0.6rem;
  padding: 24px 20px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
}
.copyright-owner {
  max-width: 48em;
  margin: 0 auto;
}
.copyright-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  font-size: 0.93em;
}
.copyright-credit {
  color: #63748a;
}
.icon {
  width: 0.8rem;
  height: 0.8rem;
}
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
/* Dark text keeps mobile content readable on the light blue background. */
@media (max-width: 999px) {
  .article-card,
  .article-card a {
    color: #193b63;
  }
  .article-card p {
    color: #33465c;
  }
  .article-card i,
  .article-card em {
    color: #00508f;
  }
}

/* The desktop uses the original fixed-width design once both columns fit. */
@media (min-width: 1000px) {
  html {
    font-size: 16px;
  }
  body {
    font-size: 0.875rem;
  }
  .desktop-only {
    display: block;
  }
  .mobile-only {
    display: none;
  }
  .wrapper {
    background-image: url("../assets/images/page-background.png");
    background-size: auto;
  }
  .page-header {
    padding-top: 20px;
    position: relative;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
  }
  .home-link {
    position: absolute;
    right: 0;
    width: 195px;
    height: 39px;
    padding: 0;
    line-height: 39px;
    font-size: 1.375rem;
  }
  .hero-space {
    padding-top: 70px;
    padding-bottom: 110px;
  }
  .main-content {
    width: calc(100% - 48px);
    max-width: 1120px;
    padding-top: 300px;
  }
  .content-columns {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .article-list {
    width: 100%;
    margin: 0;
  }
  .article-card {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border: 0;
    color: #333;
  }
  .article-card a {
    color: #333;
  }
  .article-card h3 {
    font-size: 1.125rem;
    line-height: 26px;
    margin-bottom: 10px;
  }
  .article-card p {
    font-size: 1rem;
    line-height: 26px;
    color: #000;
  }
  .article-card i {
    font-family: Georgia, serif;
    color: #005ea9;
    font-size: 1rem;
    font-style: italic;
    margin-top: 15px;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
  }
  .article-card em {
    font-family: Georgia, serif;
    color: #005ea9;
    font-size: 1rem;
    font-style: italic;
    margin-top: 15px;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
  }
  .back-to-top {
    margin: 0 0 15px;
  }
  .back-to-top a {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    color: #b73631;
  }
  .back-to-top a:before {
    content: "";
    position: absolute;
    inset: -10px 0;
  }
  .back-to-top img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .page-footer {
    margin-top: 0;
    padding: 28px 24px;
  }
  .copyright-details {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .copyright-credit {
    margin-left: 20px;
  }
}

@media (min-width: 750px) and (max-width: 999px) {
  html {
    font-size: 100px;
  }
}
