/*
  Mobile NEWS page post layout.
  Shared chrome, footer, loading, and base link animation live in global CSS.
*/

@font-face {
  font-family: "Gotham-XLight";
  src:
    url("../fonts/Gotham-XLight.woff2") format("woff2"),
    url("../fonts/Gotham-XLight.woff") format("woff"),
    url("../fonts/Gotham-XLight.ttf") format("truetype"),
    url("../fonts/Gotham-XLight.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 200;
}

@font-face {
  font-family: "Gotham-Light";
  src:
    url("../fonts/Gotham-Light.woff2") format("woff2"),
    url("../fonts/Gotham-Light.woff") format("woff"),
    url("../fonts/Gotham-Light.ttf") format("truetype"),
    url("../fonts/Gotham-Light.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Gotham-Medium";
  src:
    url("../fonts/Gotham-Medium.woff2") format("woff2"),
    url("../fonts/Gotham-Medium.woff") format("woff"),
    url("../fonts/Gotham-Medium.ttf") format("truetype"),
    url("../fonts/Gotham-Medium.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

:root {
  --footer-height: 214px;
  --footer-button-bottom-gap: 100px;
  --news-mobile-post-gap: 80px;
  --news-mobile-image-bottom-gap: 33px;
}

html,
body {
  min-width: 0;
}

body {
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--site-mobile-page-max-width);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--site-bg);
}

.mobile-content {
  flex: 1 0 auto;
  padding: 0 var(--site-mobile-side-gap-right) 0 var(--site-mobile-side-gap);
}

.mobile-title-block {
  margin: 0 0 50px;
}

.news-posts--mobile {
  display: flex;
  flex-direction: column;
  gap: var(--news-mobile-post-gap);
  width: 100%;
}

.news-post {
  width: 100%;
  color: #fff;
  text-align: left;
}

.news-post__image-area {
  position: relative;
  width: 100%;
  margin: 0 0 var(--news-mobile-image-bottom-gap);
  overflow: hidden;
  background: #101010;
}

.news-post__image-area::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(59, 59, 59, 1);
  pointer-events: none;
  content: "";
}

.news-post__image-area img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.news-post__header {
  margin: 0 0 30px;
  color: #fff;
  font-family: "Gotham-XLight", var(--site-font-body);
  font-size: 20px;
  font-style: normal;
  font-weight: 200;
  line-height: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-post__text {
  color: #fff;
  font-family: "Gotham-Light", var(--site-font-body);
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 23px;
  letter-spacing: 0;
}

.news-post__text p {
  margin: 0 0 23px;
}

.news-post__text p:last-child {
  margin-bottom: 0;
}

.news-post__text a {
  color: #fff;
  font-family: "Gotham-Medium", var(--site-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease-out;
}

.news-post__text a:hover,
.news-post__text a:focus-visible {
  color: var(--site-gold);
}

.mobile-footer {
  position: relative;
  flex: 0 0 var(--footer-height);
  height: var(--footer-height);
  padding: 0 var(--site-mobile-side-gap-right) 0 var(--site-mobile-side-gap);
}

.footer-top-button {
  position: absolute;
  right: var(--site-mobile-side-gap-right);
  bottom: calc(var(--footer-button-bottom-gap) + env(safe-area-inset-bottom, 0px));
  left: var(--site-mobile-side-gap);
  display: block;
  min-height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--site-text);
  font-family: var(--site-font-body);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.footer-top-button:hover,
.footer-top-button:focus-visible {
  color: var(--site-gold);
}

.footer-top-button:focus-visible {
  outline: 1px solid var(--site-gold);
  outline-offset: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .footer-top-button,
  .news-post__text a {
    transition: none;
  }
}
