/* Deliberately "cheap blog" look: 2010s WordPress-style exposé page */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #e9e9e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='6' height='6' fill='%23e9e9e9'/%3E%3Crect width='1' height='1' fill='%23dcdcdc'/%3E%3C/svg%3E");
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
  font-size: 17px;
  line-height: 1.55;
}
a { color: #b3001b; }

.topbar {
  background: #1a1a1a;
  color: #ddd;
  font: 13px/1 Verdana, Arial, sans-serif;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
}
.topbar span b { color: #ff5a5a; }

.masthead {
  background: #b3001b;
  color: #fff;
  padding: 26px 20px 18px;
  text-align: center;
  border-bottom: 6px solid #7a0012;
}
.masthead .site-name {
  font: bold 34px/1.1 Impact, "Arial Black", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #5a000d;
  margin: 0;
}
.masthead .tagline {
  font: italic 15px Georgia, serif;
  margin: 8px 0 0;
  opacity: .9;
}

.wrap {
  max-width: 1080px;
  margin: 24px auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  padding: 0 16px;
}
@media (max-width: 820px) { .wrap { grid-template-columns: 1fr; } }

.post, .widget {
  background: #fff;
  border: 1px solid #cfcfcf;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.post { padding: 28px 32px; }
.post h1 {
  font: bold 40px/1.1 Georgia, serif;
  color: #b3001b;
  margin: 0 0 6px;
}
.post .meta {
  font: 13px Verdana, Arial, sans-serif;
  color: #777;
  border-bottom: 1px dotted #bbb;
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.post .meta b { color: #444; }
.post h2 {
  font: bold 24px Georgia, serif;
  color: #333;
  border-left: 6px solid #b3001b;
  padding-left: 12px;
  margin: 34px 0 12px;
}
.post p.lead { font-size: 20px; font-weight: bold; color: #333; }
.hero {
  margin: 0 0 20px;
  text-align: center;
}
.hero video { max-height: 560px; }
.hero img, .hero video, .hero .gif {
  max-width: 100%;
  border: 4px solid #333;
  filter: contrast(1.1) saturate(.85) brightness(.92);
}
.hero figcaption {
  font: italic 13px Verdana, Arial, sans-serif;
  color: #666;
  margin-top: 6px;
}
.hero .stamp {
  position: relative;
  display: inline-block;
}
.hero .stamp::after {
  content: attr(data-stamp);
  position: absolute;
  top: 18px; right: -10px;
  transform: rotate(14deg);
  font: bold 26px/1 Impact, "Arial Black", sans-serif;
  color: #d40000;
  border: 4px solid #d40000;
  padding: 6px 12px;
  background: rgba(255,255,255,.75);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.highlight {
  background: #fff3a8;
  padding: 0 3px;
  white-space: nowrap;
}
.callout {
  background: #fdecec;
  border: 2px dashed #b3001b;
  padding: 14px 18px;
  font-weight: bold;
  margin: 18px 0;
}

/* Fake messenger "screenshot" */
.chat {
  width: 360px;
  max-width: 100%;
  margin: 14px auto;
  background: #e5ddd5;
  border: 10px solid #111;
  border-radius: 22px;
  padding: 10px 8px 14px;
  font: 14px/1.35 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.chat .chat-head {
  background: #075e54;
  color: #fff;
  margin: -10px -8px 10px;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  font-weight: bold;
  font-size: 15px;
}
.chat .chat-head small { display: block; font-weight: normal; font-size: 11px; opacity: .85; }
.chat .msg {
  clear: both;
  max-width: 82%;
  margin: 6px 0;
  padding: 7px 10px;
  border-radius: 8px;
  position: relative;
}
.chat .msg .t { display: block; font-size: 10px; color: #667; text-align: right; margin-top: 3px; }
.chat .in { float: left; background: #fff; }
.chat .out { float: right; background: #dcf8c6; }
.chat::after { content: ""; display: block; clear: both; }
.chat .date { clear: both; text-align: center; font-size: 11px; color: #556; margin: 8px 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid #b3001b; }
.timeline li { padding: 6px 0 14px 18px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 12px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #b3001b; border: 2px solid #fff;
}
.timeline b { display: block; font: bold 13px Verdana, Arial, sans-serif; color: #b3001b; }
.timeline ul { list-style: disc; margin: 6px 0 0; padding-left: 22px; }
.timeline ul li { padding: 2px 0; }
.timeline ul li::before { display: none; }

/* Share bar */
.share {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 26px 0 10px;
  font: bold 13px Verdana, Arial, sans-serif;
}
.share a {
  color: #fff; text-decoration: none;
  padding: 8px 14px; border-radius: 3px;
}
.share .fb { background: #3b5998; }
.share .tw { background: #1da1f2; }
.share .vk { background: #4a76a8; }
.share .tg { background: #229ed9; }
.share .wa { background: #25d366; }
.share .mail { background: #666; }

/* Comments */
.comments { margin-top: 30px; }
.comments h3 { font: bold 20px Georgia, serif; border-bottom: 2px solid #ddd; padding-bottom: 6px; }
.comment {
  display: flex; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #eee;
  font-size: 15px;
}
.comment .av {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: #999; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: bold 18px Arial, sans-serif;
}
.comment .who { font: bold 13px Verdana, Arial, sans-serif; color: #333; }
.comment .who span { font-weight: normal; color: #999; margin-left: 6px; }
.comment p { margin: 4px 0 0; }
.comment .likes { font: 12px Verdana, sans-serif; color: #777; margin-top: 4px; }
.comment-form textarea {
  width: 100%; height: 70px; margin-top: 12px;
  font: 14px Arial, sans-serif; padding: 8px;
  border: 1px solid #bbb;
}
.comment-form button {
  background: #b3001b; color: #fff; border: 0;
  padding: 9px 18px; font: bold 13px Verdana, sans-serif; margin-top: 6px;
  cursor: pointer;
}

/* Sidebar */
.widget { padding: 16px 18px; margin-bottom: 20px; font-size: 15px; }
.widget h4 {
  margin: 0 0 10px;
  font: bold 13px Verdana, Arial, sans-serif;
  text-transform: uppercase; letter-spacing: 1px;
  color: #b3001b; border-bottom: 2px solid #b3001b; padding-bottom: 5px;
}
.widget ul { margin: 0; padding-left: 18px; }
.widget li { margin-bottom: 6px; }
.counter {
  font: bold 22px "Courier New", monospace;
  background: #111; color: #5f5;
  padding: 6px 10px; text-align: center; letter-spacing: 3px;
}
.widget .sig {
  font: italic 14px Georgia, serif; color: #555;
}
.widget .btn {
  display: block; text-align: center;
  background: #f5a623; color: #222; text-decoration: none;
  font: bold 14px Verdana, sans-serif; padding: 10px; border-radius: 4px;
}
footer {
  text-align: center;
  font: 12px Verdana, Arial, sans-serif;
  color: #777;
  padding: 20px;
}
.lang-switch { position: fixed; right: 12px; bottom: 12px; font: 12px Verdana, sans-serif; }
.lang-switch a { background: #333; color: #fff; padding: 6px 10px; text-decoration: none; border-radius: 3px; }

/* Screenshot carousel */
.carousel { position: relative; background: #fff; border: 1px solid #ccc; box-shadow: 0 2px 8px rgba(0,0,0,.18); margin: 14px 0 6px; padding: 10px 10px 6px; }
.carousel .slide { display: none; margin: 0; }
.carousel .slide[data-active] { display: block; }
.carousel .slide img { display: block; width: 100%; border: 1px solid #ddd; }
.carousel figcaption { font: 15px/1.5 Georgia, serif; color: #333; background: #fdf6e3; border-left: 5px solid #b3001b; padding: 10px 14px; margin-top: 10px; min-height: 74px; }
.carousel figcaption b { color: #b3001b; font: bold 13px Verdana, Arial, sans-serif; display: block; margin-bottom: 2px; }
.carousel .controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.carousel .nav { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #333; color: #fff; font-size: 16px; cursor: pointer; }
.carousel .nav:hover { background: #b3001b; }
.carousel .dots { text-align: center; }
.carousel .dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #ccc; margin: 0 4px; padding: 0; cursor: pointer; }
.carousel .dots button.on { background: #b3001b; }
.carousel .count { position: absolute; top: 14px; right: 18px; font: 11px Verdana, sans-serif; color: #fff; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 10px; }
