*,
*::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;
}

/* SMS message generator */
.result-content .sms-box {
  width: 100%;
  max-width: 440px;
  margin: 30px auto;
  padding: 24px;
  background: #eef7ff;
  border-radius: 12px;
}

.result-content .sms-box .form-group {
  margin-bottom: 18px;
}

.result-content .sms-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.result-content .sms-box select,
.result-content .sms-box input {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font: inherit;
  outline: none;
}

.result-content .sms-box select:focus,
.result-content .sms-box input:focus {
  border-color: #6b9fd3;
}

.result-content .sms-box input::placeholder {
  color: #888;
}

.result-content .sms-box .field-error {
  display: none;
  margin: 6px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.result-content .sms-box .sms-preview {
  margin: 2px 0 20px;
  padding: 12px 14px;
  background: #dfeef8;
  border-radius: 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.result-content .sms-box .send-button {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.result-content .sms-box .send-button:hover {
  background: #2b2b2b;
}

.result-content .sms-box .form-note {
  margin: 13px 0 0;
  color: #6b7280;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 420px) {
  .result-content .sms-box {
    padding: 20px;
  }
}


/* 2026-10-08: Wider desktop pages, contextual category sidebar, image-only cards. */
.result-container {width:min(100% - 48px, 972px)}
.result-layout {display:grid;grid-template-columns:minmax(0, 1fr) 260px;align-items:start;gap:32px}
.result-layout > .result-article {min-width:0}
.result-sidebar {min-width:0}
.result-sidebar .result-categories {margin:0;padding:22px 22px 24px;border:1px solid #e7e7e7;border-radius:8px}
.result-sidebar .result-categories h2 {font-size:21px;margin-bottom:16px}
.result-sidebar .result-categories nav {gap:0;align-items:stretch}
.result-sidebar .result-categories nav a {padding:12px 0;font-size:17px;line-height:1.45;border-bottom:1px solid #ececec}
.result-sidebar .result-categories nav a:last-child {border-bottom:none;padding-bottom:0}
.result-layout .result-related-articles {margin-top:42px}
.result-navigation-links a,.result-navigation-links a:visited,.result-navigation-links a:hover,.result-navigation-links a:focus,.result-navigation-links a:active {text-decoration:none}
.result-post-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:31px 24px;margin-top:24px}
.result-post-card,.result-post-card:hover,.result-post-card:focus,.result-post-card:active,.result-post-card:visited {display:block;min-width:0;text-decoration:none!important;color:#202020}
.result-post-card img {width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:5px;display:block;margin:0;background:#f1f1f1}
.result-post-card-title {display:block;margin-top:11px;font-size:18px;font-weight:700;line-height:1.4;text-wrap:balance;overflow-wrap:break-word}
.result-post-card:hover .result-post-card-title {color:#9b1c31}
.result-listing-page .result-article h1 {font-size:34px}
.result-listing-page .result-content > p {margin:0 0 10px}
.result-content .result-board-codes a {color:#9b1c31;text-decoration:none}
.result-content .result-board-codes a:hover {color:#741525;text-decoration:none}
/* The homepage and category landing pages are full-width and never have sidebars. */
.result-listing-page .result-article {width:100%}
@media (max-width:1050px) {
 .result-layout {grid-template-columns:minmax(0,1fr) 260px;gap:32px}
 .result-post-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
}
@media (max-width:768px) {
 .result-container {width:min(100% - 32px, 680px)}
 .result-layout {grid-template-columns:minmax(0,1fr);gap:36px}
 .result-sidebar {border-top:1px solid #e7e7e7;padding-top:20px}
 .result-sidebar .result-categories {padding:0;border:0}
 .result-post-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}
 .result-post-card-title {font-size:17px}
 .result-navigation {max-height:calc(100vh - 65px);overflow-y:auto}
}
@media (max-width:520px) {
 .result-post-grid {grid-template-columns:1fr;gap:26px}
 .result-post-card-title {font-size:18px}
 .result-listing-page .result-article h1 {font-size:28px}
}
@media (max-width:420px) {.result-container {width:min(100% - 28px, 680px)}}

/* ResultBD365 homepage */
.result-site-logo-text {
  display: block;
  color: #111;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.1px;
  line-height: 1.1;
}
.result-home-hero {
  max-width: 800px;
  margin: 0 auto 28px;
  text-align: center;
}
.result-home-hero h1 {
  margin-bottom: 14px;
}
.result-home-hero p {
  margin: 0;
  color: #444;
  font-size: 19px;
  line-height: 1.7;
}
.result-listing-page .result-post-grid {
  margin-top: 0;
}
@media (max-width: 520px) {
  .result-site-logo-text { font-size: 26px; }
  .result-home-hero { margin-bottom: 24px; }
  .result-home-hero p { font-size: 17px; line-height: 1.65; }
}


/* ResultBD365 desktop navigation and Featured homepage sidebar */
/* Desktop: permanent horizontal navigation; menu icon only on small screens. */
.result-header-inner { gap: 28px; }
.result-header .result-menu-button { display: none; }
.result-header .result-navigation {
  position: static;
  inset: auto;
  z-index: auto;
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}
.result-header .result-navigation-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}
.result-header .result-navigation-links a {
  padding: 6px 0;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

/* Homepage: the hero and six article cards live in the main column. */
.result-homepage .result-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 32px;
}
.result-homepage .result-home-layout > .result-article { min-width: 0; }
.result-homepage .result-home-hero { max-width: 740px; margin: 0 auto 30px; text-align: center; }
.result-homepage .result-article h1 { margin: 0 0 14px; }
.result-homepage .result-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
  margin-top: 0;
}

/* Featured links in a clean, narrow right-hand column. */
.result-homepage .result-featured-sidebar {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.result-homepage .result-featured-sidebar h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 23px;
  line-height: 1.35;
}
.result-homepage .result-featured-links { display: flex; flex-direction: column; }
.result-homepage .result-featured-links a {
  display: block;
  padding: 10px 0;
  border-bottom: 0;
  color: #252525;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.result-homepage .result-featured-links a:last-child { border-bottom: 0; }
.result-homepage .result-featured-links a:hover,
.result-homepage .result-featured-links a:focus { color: #9b1c31; }

@media (max-width: 1050px) and (min-width: 769px) {
  .result-homepage .result-home-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 32px; }
  .result-homepage .result-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .result-header-inner { gap: 12px; }
  .result-header .result-menu-button { display: flex; margin-left: auto; }
  .result-header .result-navigation {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 0 16px;
    border-bottom: 1px solid #d0d0d0;
    background: #fff;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 160ms ease, opacity 160ms ease, visibility 0s linear 160ms;
  }
  .result-header .result-navigation.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 160ms ease, opacity 160ms ease, visibility 0s;
  }
  .result-header .result-navigation-links {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }
  .result-header .result-navigation-links a {
    padding: 13px 0;
    font-size: 18px;
  }
  .result-homepage .result-home-layout { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .result-homepage .result-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 16px; }
  .result-homepage .result-featured-sidebar { padding: 0; }
}
@media (max-width: 520px) {
  .result-homepage .result-post-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .result-header .result-navigation { transition: none; }
}

/* Keep homepage card titles dark, without underlines, across all states. */
.result-homepage .result-content a.result-post-card,
.result-homepage .result-content a.result-post-card:visited,
.result-homepage .result-content a.result-post-card:focus,
.result-homepage .result-content a.result-post-card:active,
.result-homepage .result-content a.result-post-card:hover {
  color: #202020;
  text-decoration: none;
}
.result-homepage .result-content a.result-post-card:hover .result-post-card-title,
.result-homepage .result-content a.result-post-card:focus-visible .result-post-card-title {
  color: #9b1c31;
}


/* Header brand image: upload /resultbd365-logo.png to the website root. */
.result-site-logo-image {
  display: block;
  width: 100%;
  max-height: 48px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.result-site-logo-image[hidden] { display: none; }
.result-site-logo.has-logo .result-site-logo-text { display: none; }


/* ResultBD365: featured links used on homepage and information pages. */
.result-featured-sidebar {min-width:0;padding:0;border:0;border-radius:0;background:transparent}
.result-featured-sidebar h2 {margin:0 0 10px;color:#111;font-size:23px;line-height:1.35}
.result-featured-links {display:flex;flex-direction:column;align-items:stretch}
.result-featured-links a {display:block;padding:10px 0;border:0;color:#252525;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none}
.result-featured-links a:hover,.result-featured-links a:focus {color:#9b1c31;text-decoration:none}
.result-info-page .result-article h1 {margin:0 0 22px}
.result-info-page .result-layout {align-items:start}
.result-site-logo.logo-unavailable .result-site-logo-image {display:none}
.result-site-logo.logo-unavailable .result-site-logo-text {display:block}
