:root {
  --page-bg: #e6e6e6;
  --surface: #ffffff;
  --ink: #222222;
  --muted: #666666;
  --panel: #f1f1f1;
  --panel-dark: #383838;
  --accent: #d9534f;
  --content-max: 680px;
  --shell-max: 1000px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  touch-action: manipulation;
}

.site-shell {
  width: min(100%, var(--shell-max));
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
}

.site-header__image {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
  padding: 0 50px;
  background: #000000;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
}

.site-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 42px;
  padding: 46px 50px 20px;
}

.article {
  max-width: var(--content-max);
}

.article h1 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 400;
  line-height: 1.15;
}

.video-frame {
  margin: 0;
}

.video-poster {
  width: 100%;
  border: 0;
}

.comments-panel {
  margin-top: 30px;
  padding: 16px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid #b5b5b5;
}

.comments-panel h2,
.diner-box h2 {
  margin: 0 0 14px;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.comments-panel h2 {
  font-size: 16px;
}

.comments-box {
  padding: 16px;
  background: #f2f2f2;
  border: 1px solid #cfcfcf;
}

.comment {
  margin-bottom: 16px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d8d8d8;
}

.comment:last-child {
  margin-bottom: 0;
}

.comment__header {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

.comment__user {
  color: #1a1a1a;
}

.comment__date {
  color: #777777;
  font-size: 11px;
}

.comment__meta,
.comment__text,
.reply-box p,
.site-footer p,
.page-info {
  margin: 0;
}

.comment__meta {
  margin-bottom: 10px;
  color: #555555;
  font-size: 12px;
}

.comment__text {
  color: #333333;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.comment-pagination {
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(120px, 1fr) minmax(72px, auto);
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #d0d0d0;
}

.comment-button {
  min-height: 34px;
  padding: 7px 12px;
  color: #333333;
  background: #ffffff;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.comment-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.page-info {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.reply-box {
  margin-top: 20px;
  padding: 16px;
  color: #555555;
  background: #c2c2c2;
  border: 1px solid #cccccc;
}

.reply-box h3 {
  margin: 0 0 10px;
  color: #333333;
  font-size: 14px;
}

.reply-box p {
  padding: 12px;
  color: #999999;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  font-size: 13px;
  line-height: 1.5;
}

.reply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.reply-actions button {
  min-height: 32px;
  padding: 6px 12px;
  color: #777777;
  background: #ebebeb;
  border: 1px solid #c1c1c1;
  border-radius: 3px;
  font: inherit;
  font-size: 12px;
  cursor: not-allowed;
}

.reply-actions button:first-child {
  color: #999999;
  background: #fafafa;
  border-color: #dddddd;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 52px;
}

.diner-box h2 {
  color: #a1a1a1;
  text-decoration: underline;
}

.sidebar-image,
.diner-box img {
  width: 100%;
  max-width: 200px;
}

.sidebar-image--optional {
  max-width: 220px;
}

.diner-box {
  max-width: 220px;
  padding: 15px;
  text-align: center;
  background: var(--panel-dark);
  border: 1px solid #dddddd;
}

.diner-link {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 20px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 3px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer {
  padding: 46px 50px 50px;
  color: #222222;
  font-size: 10px;
}

/* Legacy compatibility for index_original.html. */
.zeromargin {
  margin: 0;
}

.zeropadding {
  padding: 0;
}

.innercontainer {
  max-width: var(--shell-max);
  position: relative;
  background-color: #ffffff;
}

.maintitle {
  font-size: 30px;
  font-weight: bold;
  line-height: 135px;
}

.maintitle a,
.entry-title a {
  color: #000000;
  text-decoration: none;
}

.headersearch,
#searchform {
  text-align: right;
}

.headersearch {
  padding: 55px 0 0;
}

.menu-menu-container ul,
.xoxo {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.menu-menu-container a {
  color: #ffffff;
  line-height: 40px;
  text-decoration: none;
}

.xoxo h3,
.archivemenu h3 {
  color: #a1a1a1;
  font-size: 14px;
  text-decoration: underline;
  text-transform: uppercase;
}

.xoxo ul {
  margin: 0;
  padding: 15px 0 0 15px;
  list-style-type: disc;
}

.xoxo ul li a {
  color: #000000;
}

.searchfield {
  height: 30px;
  padding: 5px;
  border: 1px solid #dddddd;
}

#searchsubmit {
  position: absolute;
  top: 3px;
  right: 5px;
  border: 0;
  background-color: #ffffff;
}

.archivemenu {
  padding: 30px 0;
}

.entry-content iframe {
  width: 90%;
}

.searchalertbox {
  font-size: 30px;
  line-height: 100px;
}

.youtubeimg {
  width: 90%;
}

@media (max-width: 992px) {
  .site-main {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 28px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-nav,
  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .searchalertbox {
    font-size: 20px;
    line-height: 80px;
  }
}

@media (max-width: 760px) {
  .site-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 18px 16px;
  }

  .site-nav {
    padding-right: 18px;
    padding-left: 18px;
  }

  .article {
    max-width: none;
  }

  .article h1 {
    margin-bottom: 14px;
  }

  .comments-panel,
  .comments-box,
  .reply-box {
    padding: 12px;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: center;
    padding-top: 0;
  }

  .sidebar-image--optional {
    display: none;
  }

  .diner-box {
    width: min(100%, 240px);
    max-width: none;
  }

  .sidebar-image,
  .diner-box img {
    max-width: 100%;
  }

  .site-footer {
    padding: 34px 18px 38px;
  }

  .maintitle {
    font-size: 30px;
    font-weight: bold;
    line-height: 75px;
  }

  .headersearch,
  #searchform {
    text-align: left;
  }

  .headersearch {
    padding: 0 0 20px;
  }

  #searchsubmit {
    right: auto;
    left: 125px;
  }

  .archivemenu {
    padding: 0 0 30px;
  }

  .entry-content iframe,
  .youtubeimg {
    width: 100%;
  }

  .searchalertbox {
    font-size: 16px;
    line-height: 30px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 13px;
  }

  .site-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-nav,
  .site-footer {
    padding-right: 12px;
    padding-left: 12px;
  }

  .comments-panel {
    margin-top: 22px;
  }

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

  .page-info {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .comment-button {
    width: 100%;
  }

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

  .sidebar-image,
  .diner-box {
    justify-self: center;
    width: min(100%, 240px);
  }
}
