/*-------------------------------------------------
  NucleusCMS Cloud Dancer skin
  Original layout: skins/default/default_right.css (Stanch skin)
  Color: PANTONE 11-4201 Cloud Dancer, digital sRGB #F0EEE9
-------------------------------------------------*/
:root {
  --page-bg: #171715;
  --panel-bg: #1d1c1a;
  --sidebar-bg: #242321;
  --surface-hover: #2e2c29;
  --text: #f0eee9;
  --muted: #b8b4ad;
  --accent: #f0eee9;
  --accent-hover: #f8f6f2;
  --on-accent: #171715;
  --line: #5b5751;
  --danger: #ef9a92;
  color-scheme: dark;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  padding: 15px 0;
  background-color: var(--page-bg);
  background-image: linear-gradient(rgb(8 8 7 / 91%), rgb(8 8 7 / 91%)), url(images/bg.gif);
  color: var(--text);
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", Trebuchet, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { border: 0; max-width: 100%; }
form { margin: 0; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: Georgia, "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", Trebuchet, Arial, sans-serif;
  font-weight: normal;
}
ul { margin: 0; padding: 0; list-style: none; }
a:link, a:visited { color: var(--accent); text-decoration: none; }
a:hover, a:active { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.hidden { display: none; }
.centerize { text-align: center; }
.clearing { width: 100%; height: 0; clear: both; }

/* Header — original 704 × 168 composition */
#header {
  position: relative;
  width: 704px;
  max-width: 100%;
  height: 168px;
  margin: auto;
  border-width: 2px 2px 0;
  border-style: solid;
  border-color: var(--line);
  background: var(--panel-bg);
}
#header h1 {
  display: flex;
  height: 164px;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  background: #0b1520 url("images/header-bootcamp.jpg") center / cover no-repeat;
  font-size: 38px;
  line-height: 1.15;
  text-align: center;
}
#header h1 a {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  color: transparent;
  font-size: 0;
  text-indent: -9999px;
}
#header h1 a:focus-visible {
  color: #111;
  font-size: 18px;
  text-indent: 0;
  background: #fff;
}
#header a:link, #header a:visited, #header a:hover, #header a:active {
  color: var(--on-accent);
  text-decoration: none;
}

/* Original floated two-column wrappers: content left, 204 px sidebar right */
#mainwrapper {
  width: 704px;
  max-width: 100%;
  margin: auto;
  border-width: 0 2px;
  border-style: solid;
  border-color: var(--line);
  background: var(--panel-bg);
}
#wrapper {
  width: 100%;
  margin: auto;
  background: linear-gradient(to left, var(--sidebar-bg) 0, var(--sidebar-bg) 204px, var(--panel-bg) 204px);
}
#container {
  float: left;
  width: 100%;
  min-width: 0;
  margin-right: -204px;
  padding: 4px 0 0;
  overflow: visible;
}
.content {
  min-width: 0;
  margin: 7px 224px 30px 20px;
  padding: 0;
}

/* Items */
.contenttitle h2 {
  clear: both;
  margin: 0;
  padding: 0 0 6px;
  border-bottom: 1px dotted var(--muted);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contentbody {
  max-width: 70ch;
  padding: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  text-align: justify;
  overflow-wrap: anywhere;
}
.contentbody p { margin: 1em 0; }
.contentitem {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 16px;
  padding: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.contentitem1, .contentitem2, .contentitem3, .contentitem4 { display: inline; }
.contentitem2, .contentitem3, .contentitem4 {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px dotted var(--line);
}
.contentitem a { display: inline-block; min-height: 24px; }

/* Comments */
.itemcomment {
  position: relative;
  margin: 10px 0 0;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--line);
  background: var(--sidebar-bg);
}
.itemcomment::before {
  position: absolute;
  top: 2px;
  left: 14px;
  color: var(--accent);
  content: "“";
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}
.itemcomment:hover { border-color: var(--accent); background: var(--surface-hover); }
.itemcomment.id1, .itemcomment.id1:hover { border-color: var(--accent); }
.itemcomment h3 { font-family: inherit; font-size: 14px; font-weight: bold; }
.commentbody { margin-top: 6px; overflow-wrap: anywhere; }
.commentbody p { margin: 0; }
.commentinfo { margin-top: 8px; color: var(--muted); font-size: 12px; }
.comments { color: var(--muted); }

/* Sidebar */
#sidebarcontainer {
  float: right;
  width: 204px;
  min-width: 0;
  padding: 2px 0 0;
}
.sidebar { margin: 0 6px 4px 0; color: var(--text); }
.sidebardl { margin: 0; padding: 0 0 10px; }
.sidebardl dt {
  padding: 5px 10px;
  background-color: var(--accent);
  background-image: linear-gradient(rgb(255 255 255 / 10%), rgb(255 255 255 / 10%)), url(images/sidetitlebg.gif);
  color: var(--on-accent);
  font-family: Georgia, "Lucida Grande", "Lucida Sans Unicode", Arial, "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: bold;
}
.sidebardl dd {
  margin: 1px 0 0;
  padding: 3px 10px;
  background: var(--sidebar-bg);
  font-size: 13px;
  line-height: 1.5;
}
.sidebardl dd:hover { background: var(--surface-hover); }
.sidebardl dd > a {
  display: flex;
  min-height: 25px;
  align-items: center;
  overflow-wrap: anywhere;
}
.sidebardl dd > a::before { margin-right: 6px; content: "→"; }
.sidebardl dd > a[href^="http"]::after { margin-left: auto; padding-left: 5px; content: "↗"; font-size: 11px; }
.sidebardl.centerize { padding: 10px 0; }
.sidebardl.centerize a { display: inline-block; min-height: 31px; }
.sidebardl.centerize img { display: block; width: 85px; height: 31px; }

/* Forms generated by NucleusCMS */
.loginform, .searchform { margin: 3px 0; }
.searchform { display: flex; align-items: flex-start; gap: 4px; }
.commentform, .mailform {
  margin-top: 10px;
  padding: 12px;
  background: var(--sidebar-bg);
}
.commentform img { margin: 5px 0 0; }
.commentform label, .mailform label { display: block; margin: 8px 0 3px; font-size: 13px; }
.formfield {
  display: block;
  min-width: 0;
  min-height: 30px;
  max-width: 100%;
  margin: 1px 0 0;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--page-bg);
  color: var(--text);
  font-size: 13px;
}
.formfield::placeholder { color: var(--muted); opacity: 1; }
.formbutton {
  min-width: 58px;
  min-height: 30px;
  margin: 1px 0 0;
  padding: 4px 7px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: bold;
  line-height: 1.25;
}
.formbutton:hover { background: var(--accent-hover); }
.formbutton:active { transform: translateY(1px); }
.searchform .formfield { width: 100%; padding: 4px 6px; }
.searchform .formbutton { flex: 0 0 auto; }
.loginform .formfield { width: 130px; margin-bottom: 4px; }
.mainform .formfield { width: 280px; }
.commentform .formfield, .commentform textarea,
.mailform .formfield, .mailform textarea { width: 100%; }
.commentform .formfield, .mailform .formfield { min-height: 38px; font-size: 14px; }
.commentform textarea, .mailform textarea { min-height: 120px; resize: vertical; }
.commentform .formbutton, .mailform .formbutton { min-height: 38px; margin-top: 12px; padding-inline: 14px; }
.error { color: var(--danger); font-weight: bold; }
.success { color: var(--accent); }

/* Archives, search results and footer */
.content dl { margin: 12px 0 0; }
.content dt { color: var(--accent); font-weight: bold; }
.content dd { margin: 8px 0 0 18px; }
.content dd a { display: inline-block; min-height: 28px; }
.highlight { padding: 0 2px; background: var(--accent); color: var(--on-accent); }
#more { scroll-margin-top: 15px; }
#footer {
  clear: both;
  width: 704px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  border-width: 0 2px 2px;
  border-style: solid;
  border-color: var(--line);
  background: var(--accent);
  text-align: center;
}
#copyrights { padding: 0 8px; color: var(--on-accent); font-size: 12px; }
#copyrights a:link, #copyrights a:visited { color: var(--on-accent); }
#copyrights a:hover, #copyrights a:active { color: var(--on-accent); text-decoration: underline; }
#copyrights a { display: inline-block; min-height: 24px; }

/* Original image-shadow and toolbar helpers retained for existing posts */
.wrap1, .wrap2, .wrap3 { display: inline-table; }
.wrap1 {
  float: left;
  margin: 0 5px 3px 0;
  background: url(images/shadow.gif) right bottom no-repeat;
}
.wrap2 { background: url(images/corner_br.gif) left bottom no-repeat; }
.wrap3 {
  padding: 0 5px 5px 0;
  background: url(images/corner_tr.gif) right top no-repeat;
}
.wrap3 img { display: block; border: 3px solid var(--accent); }
.leftbox, .rightbox { margin: 3px; padding: 3px; font-size: larger; width: 20%; }
.leftbox { float: left; border-right: 2px solid var(--line); }
.rightbox { float: right; border-left: 2px solid var(--line); }

/* NiceTitles match the skin instead of the original white tooltip */
.nicetitle { color: var(--text); }
.nicetitle-content { background: var(--panel-bg); border-color: var(--accent); }
.nicetitle p.destination, div.nicetitle p span.accesskey { color: var(--muted); }

/* The fixed-width original becomes one readable column on small screens */
@media (max-width: 720px) {
  body { padding: 8px 0; }
  #header { height: 140px; }
  #header h1 { height: 136px; margin-inline: 5px; font-size: clamp(27px, 8vw, 36px); }
  #wrapper { background: var(--panel-bg); }
  #container { float: none; margin-right: 0; }
  .content { margin: 8px 16px 26px; }
  .contentbody { font-size: 16px; text-align: left; }
  #sidebarcontainer { float: none; width: 100%; padding: 0 0 8px; }
  .sidebar { margin: 0 8px 8px; }
  .sidebardl dd { padding-block: 4px; font-size: 14px; }
  .sidebardl dd > a { min-height: 44px; }
  .sidebardl dd > a[href^="http"]::after { margin-left: 6px; }
  .formfield, .formbutton { min-height: 44px; font-size: 14px; }
  .loginform .formfield { width: 100%; }
  .sidebardl.centerize a { display: flex; min-height: 44px; align-items: center; justify-content: center; }
  #copyrights a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Local author avatar (private file served by nucleus/avatar.php). */
.authoravatar{width:48px;height:48px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:.45em}
