*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 71px;
  max-width: 100%;
  overflow-x: hidden;
  background: #fff;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.75;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.result-container {
  width: min(100% - 40px, 680px);
  margin-inline: auto;
}

/* Header */
.result-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #d0d0d0;
}

.result-header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 210px;
  max-width: calc(100% - 60px);
  text-decoration: none;
}

.result-site-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.result-menu-button {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
}

.result-menu-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-menu-icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.6;
}

.result-menu-close-icon {
  display: none;
  width: 26px;
  height: 26px;
  stroke-width: 2.3;
}

.result-menu-button[aria-expanded="true"] .result-menu-icon {
  display: none;
}

.result-menu-button[aria-expanded="true"] .result-menu-close-icon {
  display: block;
}

/* Drop-down navigation */
.result-navigation {
  position: fixed;
  top: 71px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 0 16px;
  background: #fff;
  border-bottom: 1px solid #d0d0d0;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 160ms ease, opacity 160ms ease, visibility 0s linear 160ms;
}

.result-navigation.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 160ms ease, opacity 160ms ease, visibility 0s;
}

.result-navigation-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.result-navigation-links a {
  padding: 13px 0;
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.result-navigation-links a:hover {
  color: #555;
}

/* Article */
.result-page {
  padding-top: 42px;
  padding-bottom: 64px;
}

.result-breadcrumbs {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 14px;
  line-height: 1.4;
}

.result-breadcrumbs a,
.result-content a,
.result-related-articles a {
  color: #9b1c31;
  text-decoration: none;
}

.result-breadcrumbs a:hover,
.result-content a:hover,
.result-related-articles a:hover {
  color: #741525;
}

.result-breadcrumb-separator {
  color: #aaa;
  font-size: 13px;
  line-height: 1;
}

.result-article h1 {
  margin: 0 0 14px;
  color: #111;
  font-size: 36px;
  line-height: 1.25;
}

.result-update-meta {
  margin: 0 0 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e2e2;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.result-content {
  font-size: 19px;
  line-height: 1.8;
}

.result-content h2 {
  margin: 34px 0 10px;
  color: #111;
  font-size: 23px;
  line-height: 1.35;
}

.result-content h3 {
  margin: 28px 0 8px;
  color: #111;
  font-size: 20px;
  line-height: 1.4;
}

.result-content p {
  margin: 0 0 18px;
}

.result-content ul,
.result-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.result-content li {
  margin-bottom: 7px;
}

.result-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
}

/* Related articles */
.result-related-articles {
  margin-top: 42px;
}

.result-related-articles h2,
.result-categories h2 {
  margin: 0 0 16px;
  color: #111;
  font-size: 22px;
  line-height: 1.35;
}

.result-related-articles nav,
.result-categories nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.result-related-articles a {
  width: fit-content;
  font-size: 19px;
  line-height: 1.5;
}

/* Categories */
.result-categories {
  margin-top: 42px;
}

.result-categories a {
  width: 100%;
  color: #222;
  font-size: 19px;
  line-height: 1.5;
  text-decoration: none;
}

.result-categories a:hover {
  color: #555;
}

/* Footer */
.result-footer {
  padding-top: 28px;
  padding-bottom: 22px;
  border-top: 1px solid #d0d0d0;
  text-align: center;
}

.result-footer-links {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.result-footer-links a {
  color: #444;
  font-size: 14px;
  text-decoration: none;
}

.result-footer-links a:hover {
  color: #111;
}

.result-copyright {
  margin: 0;
  color: #777;
  font-size: 13px;
}

@media (max-width: 768px) {
  body {
    padding-top: 65px;
  }

  .result-container {
    width: min(100% - 32px, 680px);
  }

  .result-header-inner {
    min-height: 64px;
  }

  .result-navigation {
    top: 65px;
    padding-top: 20px;
  }

  .result-page {
    padding-top: 32px;
    padding-bottom: 50px;
  }

  .result-article h1 {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .result-container {
    width: min(100% - 28px, 680px);
  }

  .result-page {
    padding-top: 28px;
    padding-bottom: 45px;
  }

  .result-article h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-navigation {
    transition: none;
  }
}

/* Result form and SMS fields */
.result-content .result-form-fields {
  width: 100%;
  margin: 8px 0 18px;
  padding: 0;
}

.result-content .result-form-row {
  margin: 0;
  padding: 3px 0;
  border: 0;
  font-weight: 400;
}

.result-content .result-form-row a {
  font-weight: 400;
}

/* SSC SMS board codes */
.result-board-codes {
  margin: 8px 0 22px;
  border: 0;
}

.result-board-codes > div {
  display: grid;
  grid-template-columns: 150px 70px;
  justify-content: start;
  gap: 18px;
  padding: 4px 0;
  border: 0;
}

.result-board-codes span,
.result-board-codes strong {
  display: block;
  font-family: inherit;
}

.result-board-codes strong {
  color: #111;
  font-weight: 700;
}

@media (max-width: 420px) {
  .result-board-codes > div {
    grid-template-columns: 135px 60px;
    gap: 12px;
  }
}

/* Responsive article images */
.result-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

/* Author link in article meta */
.result-update-meta a,
.result-update-meta a:hover,
.result-update-meta a:focus,
.result-update-meta a:active {
  color: inherit;
  text-decoration: none;
}

