:root {
  --ink: #000;
  --rule: #d7a16b;
  --title: #4e2a57;
  --nav: #b30f0f;
  --accent: #a0002a;
  --stars: #b8860b;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  width: min(980px, calc(100% - 48px));
  margin: 24px auto;
  border: 2px solid var(--ink);
  padding: 18px 22px 14px;
}

.site-header {
  display: grid;
  gap: 12px;
}

.site-title {
  margin: 0;
  text-align: center;
  color: var(--title);
  font-size: 32px;
  font-weight: 700;
}

.rule {
  height: 0;
  border-top: 1px solid var(--rule);
}

.site-nav {
  justify-self: end;
  display: flex;
  gap: 34px;
  font-size: 14px;
}

.site-nav a {
  color: var(--nav);
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 44px 0 0;
  min-height: 520px;
}

.meta {
  justify-self: end;
  text-align: right;
  line-height: 1.6;
  font-size: 14px;
}

.meta-date {
  font-style: italic;
}

.meta-stars {
  margin-top: 4px;
  letter-spacing: 1px;
  font-size: 14px;
}

.star {
  color: var(--stars);
}

.star.empty {
  color: var(--stars);
}

.review {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.review-title {
  margin: 0;
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.cover {
  display: block;
}

.review-text {
  margin: 0;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
}

.bottom-rule {
  margin-top: 36px;
}

.site-footer {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  padding-top: 10px;
}

.rule--mobile-only{
  padding-top: 30px;
}

/* Larger device layout (matches right-hand screenshot) */
@media (min-width: 760px) {
  .rule--mobile-only {
    display: none;
  }

  .page {
    padding: 18px 34px 14px;
  }

  .content-grid {
    grid-template-columns: 180px 1fr;
    gap: 0;
    padding-top: 42px;
    min-height: 520px;
  }

  .meta {
    justify-self: start;
    text-align: center;
    padding-top: 18px;
    padding-right: 26px;
  }

  .review {
    border-left: 1px solid var(--rule);
    padding-left: 38px;
    justify-items: center;
    align-content: start;
  }

  .review-title {
    justify-self: start;
    text-align: left;
    width: 100%;
  }

  .review-text {
    width: min(420px, 100%);
    text-align: left;
  }
}
