@charset "UTF-8";
/* Custom styles for Gridwise documentation - standalone without theme imports */
/* Reset browser defaults for consistent rendering */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  zoom: 1;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: #333;
}

/* Basic header and navigation styles */
.site-header {
  border-bottom: 1px solid #e8e8e8;
  min-height: 56px;
  position: relative;
  background-color: #fff;
  z-index: 1000;
}

.site-header .wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
  text-decoration: none;
  color: #424242;
}

.site-title:hover {
  text-decoration: none;
  color: #111;
}

.site-nav {
  float: right;
  line-height: 54px;
}

.site-nav .nav-trigger {
  display: none;
}

.site-nav .menu-icon {
  display: none;
}

.site-nav .page-link {
  color: #111;
  line-height: 1.5;
  text-decoration: none;
  margin-left: 20px;
}

.site-nav .page-link:hover {
  text-decoration: underline;
}

.wrapper {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}

/* Header Button Styling */
.button {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #4f4f4f;
  border-radius: 4px;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  cursor: pointer;
  color: black;
  z-index: 1;
  text-decoration: none;
  line-height: 1.5;
  vertical-align: middle;
  margin-top: 0;
}

.button:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: #39bda7;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button:hover {
  color: #ffffff;
  border: 1px solid #39bda7;
  text-decoration: none;
}

.button:hover:before {
  top: -35%;
  background-color: #39bda7;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.button:hover:after {
  top: -45%;
  background-color: #39bda7;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/* Override wrapper for documentation pages */
.page-content .wrapper {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Ensure header is above sidebar */
.site-header {
  position: relative;
  z-index: 1000;
  background-color: #fff;
}

/* Ensure footer displays correctly */
.site-footer {
  margin-left: 280px;
  /* Same as sidebar width */
  width: calc(100% - 280px);
  clear: both;
}

/* Documentation Layout with Sidebar */
.docs-container {
  display: flex;
  gap: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Left Sidebar - Fixed to left edge */
.docs-sidebar {
  width: 280px;
  flex-shrink: 0;
  background-color: #f8f9fa;
  padding: 20px 15px 25px 15px;
  border-right: 1px solid #e1e4e8;
  position: fixed;
  left: 0;
  top: 56px;
  /* Below the header */
  height: calc(100vh - 56px);
  overflow-y: auto;
  z-index: 100;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.docs-sidebar h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: #333;
  border-bottom: 2px solid #39bda7;
  padding-bottom: 0.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.docs-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 30px;
  min-height: 0;
}

.docs-nav li {
  margin-bottom: 0.15rem;
}

.docs-nav li.nav-section-heading {
  padding: 0.9rem 0.8rem 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #999;
  cursor: default;
  margin-bottom: 0;
}

.docs-nav a {
  display: block;
  padding: 0.6rem 0.8rem;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
  border-left: 3px solid transparent;
}

.docs-nav a:hover {
  background-color: #e8eaed;
  color: #111;
  border-left-color: #39bda7;
  transform: translateX(5px);
  padding-left: 0.9rem;
}

.docs-nav a.active {
  background-color: #39bda7;
  color: white;
  font-weight: 500;
  border-left-color: #2ecc71;
  box-shadow: 0 2px 8px rgba(57, 189, 167, 0.3);
}

/* Scrollbar styling for sidebar */
.docs-sidebar::-webkit-scrollbar {
  width: 8px;
}

.docs-sidebar::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.docs-sidebar::-webkit-scrollbar-thumb {
  background: #39bda7;
  border-radius: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
  background: #2ecc71;
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid #e1e4e8;
  flex-shrink: 0;
  background-color: #f8f9fa;
}

.github-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
}

.github-link:hover {
  background-color: #e8eaed;
  color: #111;
}

.github-icon {
  flex-shrink: 0;
}

/* Main Content - Centered with left margin for sidebar */
.docs-content {
  flex: 1;
  margin-left: 280px;
  /* Same as sidebar width */
  padding: 30px 60px 30px 60px;
  max-width: calc(100vw - 280px);
  width: 100%;
}

/* Override minima wrapper inside docs-content */
.docs-content .wrapper {
  max-width: 1200px;
  margin: 0;
  padding: 0;
}

.docs-content .home,
.docs-content .post {
  max-width: 1200px;
}

.docs-content .post-content,
.docs-content .home {
  font-size: 16px;
  line-height: 1.7;
}

.docs-content h1 {
  font-size: 2.25rem;
  margin-bottom: 1.2rem;
  color: #111;
  font-weight: 600;
}

.docs-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #111;
  font-weight: 600;
}

.docs-content h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: #111;
  font-weight: 600;
}

.docs-content p {
  margin-bottom: 1.1rem;
}

.docs-content code {
  font-size: 0.9em;
  padding: 0.15em 0.35em;
  background-color: #f6f8fa;
  border-radius: 3px;
}

.docs-content pre {
  padding: 16px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 6px;
}

/* Code inside a fenced block: undo the inline-code styling */
.docs-content pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

/* Responsive */
@media (max-width: 1024px) {
  .docs-sidebar {
    width: 250px;
  }
  .docs-content {
    margin-left: 250px;
    padding: 25px 40px;
  }
  .site-footer {
    margin-left: 250px;
    width: calc(100% - 250px);
  }
}
@media (max-width: 768px) {
  .docs-sidebar {
    width: 100%;
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e1e4e8;
  }
  .docs-content {
    margin-left: 0;
    padding: 20px;
  }
  .site-footer {
    margin-left: 0;
    width: 100%;
  }
}
/* ------------------------------------------------------------------ */
/* Syntax highlighting — Rouge "github" theme (bundle exec rougify style github) */
/* ------------------------------------------------------------------ */
.highlight table td {
  padding: 5px;
}

.highlight table pre {
  margin: 0;
}

.highlight, .highlight .w {
  color: #24292f;
  background-color: #f6f8fa;
}

.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .kv {
  color: #cf222e;
}

.highlight .gr {
  color: #f6f8fa;
}

.highlight .gd {
  color: #82071e;
  background-color: #ffebe9;
}

.highlight .nb, .highlight .nc, .highlight .no, .highlight .nn {
  color: #953800;
}

.highlight .sr, .highlight .na, .highlight .nt {
  color: #116329;
}

.highlight .gi {
  color: #116329;
  background-color: #dafbe1;
}

.highlight .ges {
  font-weight: bold;
  font-style: italic;
}

.highlight .kc {
  color: #0550ae;
}

.highlight .l, .highlight .ld, .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh,
.highlight .mi, .highlight .il, .highlight .mo, .highlight .mx,
.highlight .sb, .highlight .bp, .highlight .ne, .highlight .nl, .highlight .py,
.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi, .highlight .vm,
.highlight .o, .highlight .ow {
  color: #0550ae;
}

.highlight .gh, .highlight .gu {
  color: #0550ae;
  font-weight: bold;
}

.highlight .s, .highlight .sa, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2,
.highlight .se, .highlight .sh, .highlight .sx, .highlight .s1, .highlight .ss {
  color: #0a3069;
}

.highlight .nd {
  color: #8250df;
}

.highlight .nf, .highlight .fm {
  color: #8250df;
}

.highlight .err {
  color: #f6f8fa;
  background-color: #82071e;
}

.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cp, .highlight .cpf,
.highlight .c1, .highlight .cs, .highlight .gl, .highlight .gt {
  color: #6e7781;
}

.highlight .ni, .highlight .si {
  color: #24292f;
}

.highlight .ge {
  color: #24292f;
  font-style: italic;
}

.highlight .gs {
  color: #24292f;
  font-weight: bold;
}

/* ------------------------------------------------------------------ */
/* Navigation dropdowns                                                 */
/* ------------------------------------------------------------------ */
.nav-dropdown {
  display: inline-block;
  position: relative;
  line-height: 54px;
}

.nav-dropdown-toggle {
  cursor: default;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 240px;
  z-index: 2000;
  padding: 6px 0;
  line-height: 1.4;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-dropdown-content a {
  display: block;
  padding: 7px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.nav-dropdown-content a:hover {
  background-color: #f6f8fa;
  color: #39bda7;
}

.nav-dropdown-heading {
  display: block;
  padding: 10px 16px 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #999;
  user-select: none;
}

/* ------------------------------------------------------------------ */
/* Splash / home page layout                                            */
/* ------------------------------------------------------------------ */
.splash-content {
  max-width: 860px;
  margin: 60px auto;
  padding: 0 40px;
}

.splash-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.5rem;
}

.splash-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}

.splash-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ */
/* Shared doc-btn link style (used on docs and examples index pages)   */
/* ------------------------------------------------------------------ */
.doc-btn {
  display: inline-block;
  padding: 7px 14px;
  background: #39bda7;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  transition: background 0.2s;
}

.doc-btn:hover {
  background: #2a9a87;
  text-decoration: none;
  color: white;
}

/*# sourceMappingURL=style.css.map */