#container {
  font: bold 12px Verdana;
  list-style-type: none;
  text-align: left;
}

#container hr {
  clear: both;
  border: 1px solid #CCC;
  margin-top: 10px;
}

#container ul#menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-end;
  margin: 0 0 -1px;
  padding: 0;
  font-weight: bold;
}

#container ul#menu li {
  display: block;
  margin: 0;
  list-style-type: none;
}

#container ul#menu li a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  text-decoration: none;
}

#container ul#menu li a:hover {
  color: #174f70;
  text-decoration: none;
}

#container h1,
#container h2 { margin: 0.5em 0; }

#container h1 { font-size: 1.4em; }
#container h2 { font-size: 1.2em; }

#container .content {
  border: 1px solid #d5d5d5;
  padding: 10px;
  background: #fff;
}

#container a.current,
#container a.ghost {
  padding: 4px 11px;
  border: 1px solid #b9d8ea;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.85) inset;
}

#container a.current {
  position: relative;
  z-index: 1;
  border-top: 3px solid #2b8fbe;
  border-bottom-color: #fff;
  background: #fff;
  color: #235f80;
  padding-top: 2px;
}

#container a.ghost {
  color: #334851;
  background: #eef7fc;
}

#container a.ghost:hover {
  border-color: #8bc5e7;
  background: #dff1f9;
  color: #174f70;
}

#container .on { display: block; }
#container .off { display: none; }

#container input[name="tag"] {
  box-sizing: border-box;
  height: 34px;
  padding: 8px 9px;
  border: 1px solid #b9d8ea;
  border-radius: 4px;
  background: #fbfdfe;
  color: #333;
  font: 12px Verdana, sans-serif;
}

#container input[name="tag"]:focus {
  border-color: #66a9cc;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 158, 201, 0.16);
}

#container input[type="submit"][value="OK"] {
  height: 34px;
  margin-left: 6px;
  padding: 0 12px;
  border: 1px solid #b9d8ea;
  border-radius: 4px;
  background: #eef7fc;
  color: #255f7f;
  font: bold 12px Verdana, sans-serif;
  cursor: pointer;
}

#container input[type="submit"][value="OK"]:hover {
  border-color: #8bc5e7;
  background: #dff1f9;
  color: #174f70;
}

.single-comments-list {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.single-comment {
  padding: 10px 12px;
  border: 1px solid #d5e8f2;
  border-radius: 5px;
  background: #fbfdfe;
  color: #444;
  font-weight: normal;
  line-height: 1.5;
}

.single-comments-empty {
  margin: 0 0 16px;
  color: #52636b;
  text-align: center;
}

.single-comment-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.single-comment-form {
  display: grid;
  gap: 13px;
}

.single-comment-field label {
  display: block;
  margin: 0 0 5px;
  color: #52636b;
  font: bold 12px Arial, sans-serif;
}

.single-comment-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 150px;
  padding: 8px 9px;
  border: 1px solid #b9d8ea;
  border-radius: 4px;
  background: #fbfdfe;
  color: #333;
  font: 12px Verdana, sans-serif;
  line-height: 1.45;
  resize: vertical;
}

.single-comment-field textarea:focus {
  border-color: #66a9cc;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 158, 201, 0.16);
}

.single-comment-actions {
  display: flex;
  justify-content: flex-end;
}

.single-feed-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.single-feed-list li {
  list-style: none;
}

.single-feed-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid #b9d8ea;
  border-radius: 5px;
  background: #fbfdfe;
  color: #255f7f !important;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 75, 95, 0.06);
}

.single-feed-card:hover {
  border-color: #8bc5e7;
  background: #eef7fc;
  color: #174f70 !important;
  text-decoration: none;
}

.single-feed-icon {
  flex: 0 0 auto;
  margin-top: 1px;
  border: 0;
}

.single-feed-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.single-feed-title {
  color: inherit;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.35;
}

.single-feed-meta {
  color: #6b7f89;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.3;
}

.single-entry-card {
  display: grid;
  grid-template-columns: minmax(145px, 190px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37, 75, 95, 0.08);
}

.single-entry-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.single-entry-card-thumb-m {
  grid-template-columns: minmax(216px, 240px) minmax(0, 1fr);
  gap: 24px;
}

.single-entry-card-thumb-l,
.single-entry-card-thumb-x {
  grid-template-columns: 1fr;
  gap: 16px;
}

.single-entry-card-thumb-l .single-entry-media,
.single-entry-card-thumb-x .single-entry-media {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(100%, 500px);
  margin: 0 auto;
}

.single-entry-card-thumb-l .single-vote-box,
.single-entry-card-thumb-x .single-vote-box {
  flex: 0 1 auto;
  align-self: center;
  box-sizing: border-box;
}

.single-entry-card-thumb-l .single-thumb-link,
.single-entry-card-thumb-x .single-thumb-link {
  flex: 0 1 auto;
  max-width: 100%;
}

.single-entry-card-thumb-l .single-thumb-link .gdir-thumb-shell {
  max-width: min(400px, 100%);
}

.single-entry-card-thumb-x .single-thumb-link .gdir-thumb-shell {
  max-width: min(480px, 100%);
}

.single-thumb-link,
.single-vote-box {
  border: 1px solid #d5e8f2;
  border-radius: 5px;
  text-align: center;
}

.single-thumb-link {
  display: block;
  padding: 8px;
  box-sizing: border-box;
  max-width: 100%;
}

.single-thumb-link .gdir-thumb-shell {
  margin: 0 auto;
}

.single-vote-box {
  width: 138px;
  padding: 10px;
  box-sizing: border-box;
}

.single-vote-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: #6b7f89;
  font-weight: bold;
}

.single-vote-count a {
  color: #119FF0;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}

.single-vote-count span { font-size: 11px; }
.single-vote-action { margin-top: 8px; }

.single-entry-body { min-width: 0; }

.single-entry-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e8ed;
}

.single-entry-label {
  display: block;
  margin-bottom: 5px;
  color: #7b8a91;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#container .single-entry-header h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #255f7f;
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.25;
}

.single-entry-header h2 a {
  color: #255f7f;
  text-decoration: none;
}

.single-entry-header h2 a:hover { color: #119ff0 !important; }

.single-entry-description {
  margin: 12px 0;
  padding: 12px;
  border-left: 4px solid rgba(56, 140, 186, 0.45);
  border-radius: 10px;
  box-shadow: rgba(56, 140, 186, 0.45) 0 0 0 1px inset;
}

.single-entry-description p {
  margin: 0;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.45;
}

.single-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.single-meta-row {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #d9eaf2;
  border-radius: 5px;
  background: #fbfdfe;
  box-sizing: border-box;
}

.single-meta-category {
  grid-column: 1 / -1;
}

.single-meta-row dt {
  color: #7b8a91;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.single-meta-row dd {
  margin: 0;
  color: #2f3d43;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.35;
  word-break: break-word;
}

.single-meta-category dd,
.single-meta-category dd a {
  color: #2f3d43;
  font-weight: bold;
}

.single-category-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.single-category-path a {
  display: inline-flex;
  align-items: center;
  color: #2f3d43;
  text-decoration: none;
}

.single-category-path a:hover {
  color: #255f7f !important;
  text-decoration: none;
}

.single-category-path a + a::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 8px;
  background: url("../images/category-chevron.svg") center center / 12px 12px no-repeat;
}

.single-report-link {
  margin-top: 18px;
  text-align: right;
}

.report-modal {
  display: none;
}

.report-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 38, 52, .56);
}

.report-modal-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1001;
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px;
  transform: translate(-50%, -50%);
  border: 1px solid #8bc5e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 38, 52, .34);
  color: #2f3d43;
}

.report-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #2d6f92;
  cursor: pointer;
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
}

.report-modal h2 {
  margin: 0 34px 8px 0;
  color: #235f80;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.25;
}

.report-entry-title {
  margin: 0 0 4px;
  font-weight: bold;
}

.report-entry-url {
  margin: 0 0 14px;
  color: #52636b;
  word-break: break-word;
}

.report-field {
  margin: 0 0 13px;
}

.report-field label,
.report-captcha label {
  display: block;
  margin: 0 0 5px;
  color: #52636b;
  font: bold 12px Arial, sans-serif;
}

.report-field input,
.report-field textarea,
.report-captcha input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #b9d8ea;
  border-radius: 4px;
  background: #fbfdfe;
  color: #333;
  font: 12px Verdana, sans-serif;
}

.report-field input,
.report-captcha input {
  height: 34px;
  padding: 8px 9px;
  line-height: 20px;
}

.report-field textarea {
  padding: 8px 9px;
  line-height: 1.45;
}

.report-field input:focus,
.report-field textarea:focus,
.report-captcha input:focus {
  border-color: #66a9cc;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 158, 201, 0.16);
}

.report-field textarea {
  min-height: 130px;
  resize: vertical;
}

.report-counter {
  margin-top: 4px;
  color: #6f7f87;
  font-size: 11px;
  text-align: right;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e4eaee;
}

.report-flash {
  display: none;
  margin: 10px 0;
}

.report-flash.gdir-message {
  display: block;
  margin: 10px 0;
}

.report-modal.is-complete form,
.report-modal[data-completed="1"] form {
  display: none !important;
}

.report-modal.is-complete .report-actions,
.report-modal.is-complete .report-field,
.report-modal[data-completed="1"] .report-actions,
.report-modal[data-completed="1"] .report-field {
  display: none !important;
}

.claim-entry-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid #b9d8ea;
  border-radius: 5px;
  color: #255f7f;
  font-weight: bold;
  line-height: 1.45;
}

.claim-entry-box p {
  margin: 0 0 12px;
}

.claim-entry-button { margin-top: 8px; cursor: pointer; }

.claim-entry-intro {
  margin: 0 0 14px;
  color: #52636b;
  font-weight: bold;
  line-height: 1.45;
}

@media (max-width: 600px) {
  #container {
    max-width: 100%;
    overflow-x: hidden;
  }

  #container ul#menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 0;
    overflow: visible;
  }

  #container ul#menu li {
    flex: 1 1 auto;
    min-width: 0;
    list-style: none;
  }

  #container ul#menu li a {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 4px;
    font-size: 10px;
    white-space: nowrap;
  }

  .single-entry-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .single-entry-media,
  .single-entry-body,
  .single-entry-description,
  .single-meta-list,
  .single-meta-row {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .single-entry-media {
    align-items: center;
    width: 100%;
  }

  .single-entry-card-thumb-l .single-entry-media,
  .single-entry-card-thumb-x .single-entry-media {
    flex-direction: column;
    align-items: center;
  }

  .single-entry-card-thumb-l .single-vote-box,
  .single-entry-card-thumb-x .single-vote-box {
    flex: 0 1 auto;
    width: 138px;
    box-sizing: border-box;
  }

  .single-vote-box {
    max-width: 100%;
  }

  .single-thumb-link {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .single-thumb-link .gdir-thumb-shell,
  .single-entry-card-thumb-l .single-thumb-link .gdir-thumb-shell,
  .single-entry-card-thumb-x .single-thumb-link .gdir-thumb-shell {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .single-meta-list {
    grid-template-columns: 1fr;
  }

  .single-meta-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .single-category-path {
    display: grid;
    gap: 6px;
  }

  .single-category-path a {
    display: inline-flex;
    max-width: 100%;
    padding: 4px 8px;
    border: 1px solid #c9e5f3;
    border-radius: 4px;
    background: #f4fbff;
    box-sizing: border-box;
  }

  .single-category-path a::before {
    content: "";
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    background: url("../images/category-chevron.svg") center center / 12px 12px no-repeat;
  }

  .single-category-path a + a::before {
    display: inline-block;
  }

  #container .single-entry-header h2 { font-size: 18px; }

  .report-actions {
    flex-direction: column-reverse;
  }

.report-button {
  width: 100%;
}
}

.single-tag-message-word {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  color: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}
