/* Base typography + colors */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #ececec;
  background-color: #171718;
}

/* Outermost container */
.published-container {
  max-width: none !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 100vh;
}

/* 3-column shell */
.site-body {
  display: flex !important;
  flex-direction: row;
  align-items: stretch;
  width: 100vw;
  min-height: 100vh;
  background: transparent;
}

/* Left sidebar — sticky; lower z so portalled search can overlay */
.site-body-left-column {
  width: 220px !important;
  min-width: 200px !important;
  max-width: 260px !important;
  height: 100vh;
  background: #19191b;
  color: #dadada;
  border-right: 1px solid #252529;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: visible;   /* allow in-sidebar dropdowns to spill out */
  padding-top: 8px;
}
.site-body-left-column a {
  color: #97caf7;
  border-bottom: none;
  transition: color 0.2s;
}
.site-body-left-column a:hover { color: #8ee6f7; }

/* Center column */
.site-body-center-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100vw !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  position: relative;
  z-index: 1;
}
.site-header { margin: 1em 0; }

/* Content scroller */
.render-container-inner {
  flex: 1 1 auto;
  overflow-y: auto;
  min-width: 0;
  background: transparent !important;
  display: flex;
  flex-direction: row;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  position: relative;
  z-index: 1;
}

/* Main content area */
.render-container-inner > *:not(.site-body-right-column) { flex: 1 1 0; }
.markdown-preview-view,
.markdown-preview-sizer,
.markdown-preview-section,
.theme-light .markdown-preview-view,
.theme-dark .markdown-preview-view {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 2em 2.5em;
  max-width: 80vw;
  min-width: 400px;
  margin: 3em 2em 3em 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Georgia", "Palatino Linotype", serif;
  color: #fff;
  font-weight: bold;
  border-bottom: 1px solid #262638;
  margin-top: 2em;
  padding-bottom: 0.3em;
}

/* Links */
.markdown-preview-view a,
.markdown-preview-section a {
  color: #79b8ff;
  text-decoration: none;
  border-bottom: 1px dotted #4f72aa;
  transition: color 0.2s;
}
.markdown-preview-view a:hover,
.markdown-preview-section a:hover {
  border-bottom-style: solid;
  color: #fff;
}

/* Blockquotes */
blockquote {
  background-color: #232335;
  border-left: 4px solid #476887;
  padding: 1em;
  font-style: italic;
  margin: 2em 0;
  color: #cfcfcf;
}

/* Callouts */
.callout {
  border-radius: 6px;
  padding: 1.2em 1.5em;
  margin: 1.5em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  background-color: #23232a;
  color: #dadada;
}
.callout[data-callout="note"]    { background-color: #192330; border-left: 5px solid #57a0df; }
.callout[data-callout="warning"] { background-color: #30251b; border-left: 5px solid #e0a000; }
.callout[data-callout="quote"]   { background-color: #2e2320; border-left: 5px solid #c09060; font-style: italic; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 2em 0; background: #222228; }
th, td { border: 1px solid #353540; padding: 0.7em 1em; text-align: left; color: #f2f2f2; }
th { background-color: #26262c; }

/* Images */
img { max-width: 100%; border: 1px solid #353540; border-radius: 4px; margin: 1em 0; }

/* Footnotes / meta */
.footnote, .meta {
  font-size: 0.85em;
  color: #bdbdbd;
  border-top: 1px dashed #353540;
  margin-top: 2em;
  padding-top: 0.5em;
}

/* Index page title */
.index-page h1 {
  text-align: center;
  font-size: 2.5em;
  letter-spacing: 0.5px;
  color: #e5eaff;
}

/* Two-column utility (manual) */
.two-column-class-block { display: flex; gap: 2.5em; align-items: flex-start; margin-bottom: 2em; }
.left-class-col  { flex: 0 0 320px; min-width: 260px; max-width: 370px; }
.right-class-col { flex: 1 1 0; min-width: 0; }

/* Columns callout (auto) */
div[data-callout="columns"].callout { background: none; padding: 0; }
div[data-callout="columns"].callout > .callout-title { display: none; }
div[data-callout="columns"].callout > .callout-content { display: grid; grid-gap: 8px; text-align: center; }
@media (min-width: 1000px) {
  div[data-callout="columns"].callout > .callout-content { grid-template-columns: 1fr 1fr; }
}
div[data-callout="columns"].callout > .callout-content > .callout { margin: 5px; }

/* Dropdown callout (default) */
div[data-callout="dropdown"].callout { background-color: teal; text-align: center; }
div[data-callout="dropdown"].callout > .callout-title { display: none; }

/* Centered link utility */
.center-link { display: block; text-align: center; }

/* ===== Home tiles: OUTLINE style for dropdowns inside a columns callout =====
   (matches your Publish screenshot without needing a cssclass) */
.callout[data-callout="columns"] > .callout-content > .callout[data-callout="dropdown"]{
  background: transparent !important;
  background-image: none !important;
  border: 3px solid #2ea4a6 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.callout[data-callout="columns"] > .callout-content > .callout[data-callout="dropdown"] .callout-title{
  background: transparent !important;
  color: #bfefff !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 1.1rem 1.25rem !important;
}
.callout[data-callout="columns"] > .callout-content > .callout[data-callout="dropdown"] .callout-title a:link,
.callout[data-callout="columns"] > .callout-content > .callout[data-callout="dropdown"] .callout-title a:visited{
  color: #54d7e6 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
.callout[data-callout="columns"] > .callout-content > .callout[data-callout="dropdown"] .callout-title a:hover{
  color: #ffffff !important;
}
.callout[data-callout="columns"] > .callout-content > .callout[data-callout="dropdown"]:hover{
  background: rgba(14, 119, 116, 0.18) !important;
}
/* subtle divider under titles */
.callout[data-callout="columns"] > .callout-content > .callout[data-callout="dropdown"] .callout-title::after{
  content:"";
  display:block;
  width: 92%;
  height: 1px;
  margin: 10px auto 0;
  background: rgba(84, 215, 230, 0.25);
}
/* Grid width/spacing like screenshot */
.callout[data-callout="columns"] > .callout-content{
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 1000px){
  .callout[data-callout="columns"] > .callout-content{
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}

/* Kill right column / graph completely */
.graph-view-outer,
.graph-view-container,
.graph-view,
.site-body-right-column,
.site-body-right-column-inner {
  display: none !important;
  visibility: hidden !important;
  max-width: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 1400px) {
  .markdown-preview-view,
  .markdown-preview-sizer,
  .markdown-preview-section { max-width: 95vw; min-width: 0; margin: 2em 0.5em; padding: 1.5em; }
}
@media (max-width: 1100px) {
  .site-body-center-column { flex-direction: column !important; align-items: stretch !important; }
  .markdown-preview-view,
  .markdown-preview-sizer,
  .markdown-preview-section { max-width: 100vw; min-width: 0; margin: 1.5em 0.5em; padding: 1em; }
}
@media (max-width: 900px) {
  .two-column-class-block { flex-direction: column; gap: 1.2em; }
  .left-class-col, .right-class-col { max-width: 100%; min-width: 0; }
}
@media (max-width: 700px) {
  .site-body-left-column { display: none !important; }
  .show-navigation .site-body-left-column,
  .is-navigation-open .site-body-left-column,
  .has-navigation .site-body-left-column,
  .published-container.show-navigation .site-body-left-column,
  .published-container.is-navigation-open .site-body-left-column,
  .published-container.has-navigation .site-body-left-column,
  body.show-navigation .site-body-left-column,
  body.is-navigation-open .site-body-left-column,
  body.has-navigation .site-body-left-column {
    display: flex !important;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 9999;
    width: 75vw !important;
    min-width: 180px !important;
    max-width: 90vw !important;
    box-shadow: 2px 0 12px rgba(0,0,0,0.5);
    background: #19191b;
    flex-direction: column;
    overflow-y: auto;
  }
}

/* Built-in search — keep input above sidebar items; dropdown is portalled so we don't touch it */
.site-body-left-column .search,
.site-body-left-column .search-bar,
.site-body-left-column [class*="search"] {
  position: relative;
  z-index: 3;
}

/* Search dropdown highlight color (sidebar results list) */
:root { --search-hl: rgba(0, 200, 255, 0.45); --search-hl-active: rgba(0, 200, 255, 0.75); --search-hl-text: #e6faff; }
.search-results mark,
.search-suggestions mark,
.suggestion-container mark,
.suggestion mark,
.popover mark,
.search-result-file-matched-text,
.search-result-file-title mark,
.site-body-left-column .search-results mark,
.site-body-left-column .search-suggestions mark,
.site-body-left-column .suggestion-container mark,
.site-body-left-column .suggestion mark,
.site-body-left-column .popover mark,
.site-body-left-column .search-result-file-matched-text,
.site-body-left-column .search-result-file-title mark {
  background-color: var(--search-hl) !important;
  color: var(--search-hl-text) !important;
  border-radius: 3px !important;
  padding: 0 2px !important;
}
.search-result-file-matched-text.is-selected mark,
.search-results .is-selected mark,
.search-suggestions .is-selected mark,
.suggestion-container .is-selected mark,
.suggestion.is-selected mark {
  background-color: var(--search-hl-active) !important;
  color: #fff !important;
}
/*TableRight Callout*/

div[data-callout="tableright"].callout >.callout-title {
    display: none;
}
div[data-callout="tableright"].callout > .callout-content {
    background: none;
}
div[data-callout="tableright"].callout {
        background: transparent;
        border: 0;
        box-shadow: none;
        margin: 0;
        margin-left: 8px;
        width: auto;
        max-width: 20vw;
        float: right;
}
/* ------------------------------------------------------------   */
/*    Table Style : Veridian Heading table with rounded edges     */
/* ------------------------------------------------------------   */

table {
    background-color: transparent;
    border-collapse: collapse;
    border-radius: 10px;
    font-size: 1em;
    color: white;
    overflow: hidden;
    width: auto;
    /* max-width: 100%; */
}

thead {
    background-color: #639286;
}

th {
    letter-spacing: 0.3px;
    text-shadow: 0 1px 1px #2b2a466b;
}

table > thead > tr > th {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

td {
    background-color: transparent;
    color: white;
}

td strong {
    color: white;
}

td,
th {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 11px;
}

/* row hover still active, but header hover removed */
tbody tr:hover td,
tbody tr:hover td a {
    background-color: transparent;
    color: white;
}
