/* Press pages. Palette and fonts match the King's Coin Mining homepage. */

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #10110f;
  color: #f3f0e8;
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid #f3f0e8;
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 3rem, 42rem);
  margin-inline: auto;
}

.top {
  width: min(100% - 3rem, 42rem);
  margin: 0 auto;
  padding: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  filter: invert(1);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: 0.8125rem;
  color: #a8a296;
}

.site-nav a[aria-current="page"] {
  color: #f3f0e8;
  text-decoration: none;
  font-weight: 600;
}

main {
  width: min(100% - 3rem, 42rem);
  margin: 0 auto;
  flex: 1 0 auto;
  padding: 2.25rem 0 3rem;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8a296;
}

.kicker a {
  color: inherit;
  text-decoration: none;
}

.kicker a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

h1 {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.85rem, 4.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.meta,
.origin {
  margin: 0.85rem 0 0;
  color: #a8a296;
  font-size: 0.875rem;
}

.origin {
  margin-top: 0.35rem;
}

.origin a {
  color: inherit;
}

.cover {
  margin: 1.6rem 0 1.85rem;
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(243, 240, 232, 0.22);
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.prose p,
.prose li {
  margin: 0;
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul,
.prose ol {
  margin: 0.9rem 0 0;
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.55rem;
}

.prose hr {
  margin: 2.1rem 0 0;
  border: 0;
  border-top: 1px solid rgba(243, 240, 232, 0.22);
}

.prose a {
  color: #f3f0e8;
  overflow-wrap: anywhere;
}

.releases {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.releases li + li {
  margin-top: 1.5rem;
}

.card {
  display: grid;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  text-decoration: none;
}

.card:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(243, 240, 232, 0.22);
}

.card .when {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8a296;
}

.card h2 {
  margin: 0.15rem 0 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card .excerpt {
  margin: 0.15rem 0 0;
  color: #c8c3b6;
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-foot {
  width: min(100% - 3rem, 42rem);
  margin: auto auto 0;
  padding: 0 0 1.75rem;
  color: #a8a296;
  font-size: 0.8125rem;
}

.site-foot p {
  margin: 0;
}

.site-foot p + p {
  margin-top: 0.35rem;
}

.site-foot a {
  color: inherit;
}

@media (max-width: 380px) {
  .wrap,
  .top,
  main,
  .site-foot {
    width: min(100% - 2rem, 42rem);
  }
}
