* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #d6d6d6;
  color: #222;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
}

a {
  color: #003b78;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: 960px;
  margin: 18px auto;
  background: #fff;
  border: 1px solid #777;
  box-shadow: 2px 2px 0 #999;
}

header {
  height: 105px;
  padding: 15px 20px;
  position: relative;
  background: linear-gradient(#eeeeee, #c9c9c9);
  border-bottom: 1px solid #777;
}

.logo {
  color: #003b78;
  font-family: Arial, sans-serif;
  font-size: 46px;
  font-weight: bold;
  letter-spacing: -3px;
  line-height: 52px;
}

.subtitle {
  color: #444;
  font-size: 16px;
  font-weight: bold;
}

.date {
  position: absolute;
  right: 20px;
  bottom: 15px;
  color: #555;
  font-size: 11px;
}

nav {
  display: flex;
  background: #174f83;
  border-bottom: 3px solid #0b3155;
}

nav a {
  color: white;
  padding: 9px 17px;
  border-right: 1px solid #0a3154;
  font-weight: bold;
  font-size: 12px;
}

nav a:hover,
nav a.active {
  background: #0b3155;
  text-decoration: none;
}

.ticker {
  padding: 7px 12px;
  background: #fff8cf;
  border-bottom: 1px solid #c5b66b;
  color: #333;
}

.ticker strong {
  color: #a00000;
  margin-right: 10px;
}

main {
  display: flex;
  gap: 12px;
  padding: 12px;
}

aside {
  width: 220px;
  flex-shrink: 0;
}

.content {
  width: calc(100% - 232px);
}

.box,
.featured {
  border: 1px solid #999;
  margin-bottom: 12px;
  background: #fff;
}

.box h2,
.section-title {
  margin: 0;
  padding: 7px 9px;
  color: white;
  background: linear-gradient(#4f83b2, #174f83);
  border-bottom: 1px solid #123c60;
  font-size: 13px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  padding: 8px 9px;
  border-bottom: 1px solid #ddd;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list a {
  display: block;
  font-weight: bold;
}

small {
  display: block;
  color: #777;
  font-size: 10px;
  margin-top: 3px;
}

.category {
  display: block;
  padding: 7px 10px;
  border-bottom: 1px solid #ddd;
  background: #f5f5f5;
}

.category:hover {
  background: #e4edf5;
  text-decoration: none;
}

.visitor {
  text-align: center;
}

.counter {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 7px;
  background: #111;
  color: #42ff42;
  border: 2px inset #aaa;
  font-family: "Courier New", monospace;
  font-size: 20px;
  letter-spacing: 2px;
}

.visitor p {
  margin: 5px 0 10px;
  color: #666;
}

.featured {
  padding-bottom: 12px;
}

.video {
  height: 270px;
  margin: 12px;
  border: 2px solid #333;
  background: #202020;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.play {
  width: 62px;
  height: 62px;
  line-height: 58px;
  text-align: center;
  border: 2px solid white;
  font-size: 28px;
  margin-bottom: 12px;
}

.video-text {
  font-weight: bold;
  font-size: 17px;
}

.video-note {
  color: #bbb;
  margin-top: 5px;
  font-size: 11px;
}

.featured h1,
.featured p {
  margin-left: 12px;
  margin-right: 12px;
}

.featured h1 {
  font-size: 22px;
  color: #174f83;
}

.featured p {
  line-height: 1.5;
}

button {
  margin-left: 12px;
  padding: 6px 11px;
  border: 1px solid #555;
  border-radius: 0;
  background: linear-gradient(#fff, #cfcfcf);
  color: #222;
  font-weight: bold;
  cursor: pointer;
}

button:active {
  background: #bbb;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.columns .box {
  min-height: 190px;
}

.columns .box p,
.columns .box .more {
  margin-left: 10px;
  margin-right: 10px;
}

.video-small {
  min-height: 52px;
  padding: 8px;
  border-bottom: 1px solid #ddd;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 7px;
}

.video-small span {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  line-height: 27px;
  text-align: center;
  border: 1px solid #555;
  background: #222;
  color: white;
}

.video-small b {
  font-size: 12px;
}

.more {
  display: inline-block;
  font-weight: bold;
  margin-top: 8px;
}

.archive {
  padding-bottom: 10px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
}

.archive-grid a {
  padding: 7px;
  background: #eee;
  border: 1px solid #bbb;
  text-align: center;
}

footer {
  padding: 15px 20px;
  background: #eeeeee;
  border-top: 1px solid #999;
  color: #555;
  line-height: 1.7;
}

footer b {
  color: #174f83;
}

footer span {
  font-size: 10px;
}

@media (max-width: 980px) {
  .page {
    width: 96%;
  }
}

@media (max-width: 700px) {
  main {
    flex-direction: column;
  }

  aside,
  .content {
    width: 100%;
  }

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

  nav {
    flex-wrap: wrap;
  }
}
