a:link {color:#bb4444;text-decoration:none;}
a:visited {color:#bb4444;text-decoration:none;}
a:active {color:#781d1d; text-decoration:underline;}
a:hover {color:#781d1d; text-decoration:underline;}

body, td, div, span {
  font-size:16px;
  font-family:arial,verdana,geneva,helvetica;
  color:#000000;
}

h1, h2, h3, h4 {
  font-family:arial,verdana,geneva,helvetica;
  font-weight:normal;
  color:#000000;
}

code, strong {
  color:#0000bb;
}

i, dt {
  color:#006600;
}

p {
  margin-bottom:0.5em;
}

li, ul, ol {
   margin-top:0.5em;
   margin-bottom:0.5em;
}

.sidebarlogo {
  width: 10em;
  height: 10em;
  margin-left: 0.5em;
}

.main {
  margin-left: 20em;
  max-width: 1000px;
}

.pagenav {
  width: 15em;
  height: 50em;
  position: fixed;
  z-index: 1;
  overflow: scroll;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family:verdana,arial,helvetica;
  font-size: 18px;
}

.pagenav ul {
  list-style-type: none;
  font-family:verdana,arial,helvetica;
  margin-left:-1em
}

.pagenav a {
  text-decoration: none;
  display: block;
  font-weight:normal;
  font-family:verdana,arial,helvetica;
  color:#bb4444;
  text-decoration:none;
}

.pagenav a:hover {
  color: #781d1d;
  text-decoration:underline;
}

@media screen {
  .pagenav {
    height: 95%;
  }
}

@media screen and (max-width: 768px) {
  .pagenav {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .main {
    margin-left: 0;
    padding: 0.5em 1em;
  }
}

/* ── contrib additions ─────────────────────────────── */

html { overflow-x: hidden; }

.main { overflow-x: hidden; }

.main pre { overflow-x: auto; }

.main table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.main th, .main td {
  padding: 0.3em 0.6em;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
}

/* keep description column from dominating the table */
.plugin-table td:nth-child(2) {
  max-width: 26em;
  min-width: 10em;
}

/* inline read-more toggle */
.desc-toggle {
  background: none;
  border: none;
  color: #bb4444;
  cursor: pointer;
  font-size: 0.85em;
  font-family: inherit;
  padding: 0 0 0 0.3em;
  margin: 0;
  outline: none;
  vertical-align: baseline;
}

.desc-toggle:hover, .desc-toggle.active {
  color: #781d1d;
  text-decoration: underline;
}

.desc-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* GitLab clone button on plugin pages */
.gitlab-clone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: #FC6D26;
  color: white !important;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  font-size: 0.9em;
  text-decoration: none !important;
}

.gitlab-clone-link:hover {
  background: #e24329;
}

/* logo anchor must stay inline — .pagenav a {display:block} would shift it otherwise */
.pagenav a.sidebarlogo-link {
  display: inline;
}
