* {
  box-sizing: border-box;
}

body {
  background: #eeeeee;
  color: #222;
  font-family: Arial, "Nirmala UI", "Segoe UI", sans-serif;
  margin: 0;
}

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

.epaper-header {
  background: #fff;
  border-bottom: 1px solid #cfcfcf;
}

.top-links {
  background: #2b2b2b;
  color: #fff;
  display: flex;
  font-size: 13px;
  gap: 18px;
  justify-content: flex-end;
  padding: 7px 40px;
}

.logo-row {
  align-items: center;
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  min-height: 88px;
  padding: 12px 40px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.logo {
  justify-self: center;
}

.logo img {
  display: block;
  height: 64px;
  object-fit: contain;
  width: 330px;
}

.date-box {
  color: #8b1e1e;
  font-size: 17px;
  font-weight: 800;
  text-align: right;
}

.main-menu {
  background: #8b1e1e;
  display: flex;
  justify-content: center;
}

.main-menu a {
  border-left: 1px solid rgb(255 255 255 / 20%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 26px;
}

.main-menu a:last-child {
  border-right: 1px solid rgb(255 255 255 / 20%);
}

.epaper-wrap {
  display: grid;
  gap: 18px;
  grid-template-columns: 285px 1fr;
  margin: 18px auto;
  max-width: 1120px;
  padding: 0 14px;
}

.edition-menu,
.edition-area {
  background: #fff;
  border: 1px solid #cfcfcf;
}

.menu-title {
  background: #333;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 12px 14px;
}

.edition-menu section {
  border-top: 1px solid #ddd;
}

.edition-menu h2 {
  background: #f2f2f2;
  border-bottom: 1px solid #ddd;
  color: #8b1e1e;
  font-size: 16px;
  margin: 0;
  padding: 11px 14px;
}

.edition-menu a {
  border-bottom: 1px solid #eee;
  display: block;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 14px;
}

.edition-menu a:hover,
.sub-list a:hover {
  background: #fff4f4;
}

.edition-menu span {
  color: #777;
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
}

.date-line {
  align-items: center;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
}

.date-line strong {
  color: #8b1e1e;
  font-size: 18px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  background: #f3f3f3;
  border: 1px solid #ddd;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 10px;
}

.edition-group {
  padding: 16px;
}

.edition-group + .edition-group {
  border-top: 1px solid #ddd;
}

.edition-group h1 {
  border-bottom: 2px solid #8b1e1e;
  color: #333;
  font-size: 25px;
  margin: 0 0 16px;
  padding-bottom: 8px;
}

.edition-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edition-list article {
  background: #fafafa;
  border: 1px solid #d4d4d4;
  min-height: 150px;
  padding: 16px;
}

.edition-list h2 {
  color: #8b1e1e;
  font-size: 21px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.edition-list p {
  color: #555;
  font-size: 14px;
  min-height: 38px;
}

.edition-list a {
  background: #8b1e1e;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.sub-list {
  border: 1px solid #d5d5d5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sub-list a {
  border-bottom: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 12px;
}

.sub-list span {
  color: #222;
  font-size: 16px;
  font-weight: 800;
}

.sub-list b {
  color: #777;
  font-size: 12px;
  text-transform: uppercase;
}

.epaper-footer {
  align-items: center;
  background: #2b2b2b;
  color: #fff;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
  padding: 18px;
}

.epaper-footer a {
  font-weight: 700;
}

@media (max-width: 850px) {
  .logo-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .logo,
  .date-box,
  .nav-toggle {
    justify-self: center;
    text-align: center;
  }

  .epaper-wrap {
    grid-template-columns: 1fr;
  }

  .edition-list,
  .sub-list {
    grid-template-columns: 1fr;
  }

  .main-menu {
    flex-direction: column;
  }

  .main-menu a {
    text-align: center;
  }
}
