html {
  font-size: 1.2rem;
}
body {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  display: flex;
  justify-content: center;
  background-color: #f8f9fa;
}

.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;    /* centers horizontally */
  padding: 1rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-left h1 {
  margin: 0;
  font: inherit;          /* use same font settings as surrounding text */
  font-weight: inherit;   /* prevent bold if default H1 is bold */
  display: inline;        /* prevent block-level spacing changes */
}

.menu-left a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
  /* font-size: 1.2rem; */
}

.menu-right a {
  margin-left: 1rem;
  text-decoration: none;
  color: #000;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

hr {
  margin: 1rem 0;
}

.menu-right a {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
  text-decoration: none;
  color: #000;
  --ux-origin: left;           /* now default is left so shrink left→right */
}

.menu-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: #000;
  transform: scaleX(0);
  transform-origin: var(--ux-origin);
  transition: transform 0.3s ease, transform-origin 0s 0.3s;
}

.menu-right a:hover {
  --ux-origin: right;          /* grow from right */
}

.menu-right a:hover::after {
  transform: scaleX(1);
}

.rss-description { 
	margin-top: 1rem;   /* more space */
	line-height: 1.5; 
}

.rss-description span {
	font-weight: bold;
}

.newsletter {
  margin: 1.5rem 0 2rem 0;
  text-align: left;
}

.newsletter h2 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  border: 1px solid #000;
  max-width: 600px;
  height: 3rem;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  outline: none;
}

.newsletter-form button {
  background: none;
  border: none;
  border-left: 1px solid #000;   /* divider like the reference */
  width: 3rem;                  /* square button */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;              /* arrow size */
  color: #000;                    /* arrow default */
  cursor: pointer;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease;
}

.newsletter-form button:hover {
  background-color: #000;
  color: #fff;
}

.newsletter span {
  color: red;
}