/* --- Reset & base ----------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: #ffffff;
  color: #333333;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.5;
}

a {
  color: #333333;
  text-decoration: none;
}

a:hover {
  color: #000000;
  text-decoration: underline;
}

img {
  border: none;
  display: block;
}

/* --- Top navigation bar ----------------------------------- */
#mainnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 18px;
  z-index: 100;
  font-size: 10px;
  letter-spacing: 0.03em;
}

#mainnav a {
  color: #777;
  text-transform: lowercase;
}

#mainnav a:hover {
  color: #000;
  text-decoration: none;
}

/* --- Outer screen ----------------------------------------- */
#screen {
  display: flex;
  flex-direction: row;
  height: 100vh;
  padding-top: 22px; /* accounts for fixed mainnav */
  overflow: hidden;
}

/* --- Left column: project title + logo -------------------- */
#projecttext {
  width: 170px;
  flex-shrink: 0;
  padding: 18px 14px 18px 12px;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

#projecttext .title {
  font-size: 11px;
  font-weight: bold;
  color: #000;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

#projecttext .comment {
  font-size: 10px;
  color: #999;
  line-height: 1.4;
}

#casalogo {
  margin-top: auto;
  max-width: 100%;
  display: block;
}

/* --- Main scrollable content area ------------------------- */
#content-scroll-container {
  flex: 1;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  position: relative;
}

/* Custom scrollbar track (jqueryscroll) */
#content-slider {
  width: 6px;
  flex-shrink: 0;
  background: #f0f0f0;
  position: relative;
  order: 2;
}

/* The scrollable pane itself */
#content-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px;
  order: 1;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f0f0f0;
}

#content-scroll::-webkit-scrollbar {
  width: 6px;
}
#content-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
}
#content-scroll::-webkit-scrollbar-thumb {
  background: #bbb;
}

/* Content typography */
#content .title {
  font-size: 12px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

#content .box {
  font-size: 11px;
  color: #444;
  line-height: 1.7;
  max-width: 520px;
}

#content .box .date {
  display: block;
  font-size: 10px;
  color: #999;
  margin-bottom: 10px;
}

#content .box img {
  float: left;
  margin: 0 16px 12px 0;
  max-width: 160px;
}

#content .box::after {
  content: '';
  display: table;
  clear: both;
}

/* --- Right sidebar: news item list ------------------------ */
#iconnavigation {
  width: 220px;
  flex-shrink: 0;
  border-left: 1px solid #e8e8e8;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f0f0f0;
}

#iconnavigation::-webkit-scrollbar {
  width: 4px;
}
#iconnavigation::-webkit-scrollbar-track {
  background: #f8f8f8;
}
#iconnavigation::-webkit-scrollbar-thumb {
  background: #ccc;
}

/* sc_menu (sideScrollMenu) */
div.sc_menu {
  padding: 12px 0;
}

ul.sc_menu {
  list-style: none;
}

ul.sc_menu li {
  border-bottom: 1px solid #f0f0f0;
}

ul.sc_menu li a {
  display: block;
  padding: 6px 12px;
  font-size: 10px;
  color: #666;
  line-height: 1.4;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

ul.sc_menu li a:hover {
  background: #f7f7f7;
  color: #000;
  text-decoration: none;
}

ul.sc_menu li a.current {
  background: #f0f0f0;
  color: #000;
  font-weight: bold;
}

/* --- Timeline (timeline.css) ------------------------------ */
#timeline {
  width: 100%;
  overflow-x: auto;
  padding: 12px 0;
}

.timeline-item {
  display: inline-block;
  vertical-align: top;
  width: 100px;
  font-size: 10px;
  color: #666;
  padding: 0 6px;
  border-left: 1px solid #ddd;
}

.timeline-item .year {
  font-weight: bold;
  color: #000;
  margin-bottom: 4px;
}

/* --- Search page (search.css) ----------------------------- */
#zoeken {
  padding: 20px 24px;
  max-width: 520px;
}

#zoeken input[type="text"] {
  width: 200px;
  height: 22px;
  border: 1px solid #ccc;
  padding: 2px 6px;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 11px;
  color: #333;
  outline: none;
}

#zoeken input[type="text"]:focus {
  border-color: #999;
}

#zoeken input[type="submit"] {
  height: 22px;
  padding: 0 10px;
  background: #000;
  color: #fff;
  border: none;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 10px;
  cursor: pointer;
  margin-left: 4px;
}

#zoeken input[type="submit"]:hover {
  background: #333;
}

.zoekresultaten .result {
  margin: 12px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.zoekresultaten .result a {
  font-weight: bold;
  color: #000;
  font-size: 11px;
}

.zoekresultaten .result .snippet {
  color: #666;
  font-size: 10px;
  margin-top: 3px;
  line-height: 1.5;
}

/* --- Bureau / simple page (simplepage.css) ---------------- */
#simplepage {
  padding: 20px 24px;
  max-width: 560px;
}

#simplepage h2,
#simplepage .section-title {
  font-size: 11px;
  font-weight: bold;
  color: #000;
  margin: 16px 0 8px;
  text-transform: lowercase;
}

#simplepage p {
  font-size: 11px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
}

#simplepage img {
  max-width: 100%;
  margin: 10px 0;
}

/* --- Project list (list.css) ------------------------------ */
#projectlist {
  padding: 12px 0;
}

.project-entry {
  display: flex;
  align-items: flex-start;
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  gap: 10px;
}

.project-entry:hover {
  background: #fafafa;
}

.project-entry img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: cover;
}

.project-entry .meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.project-entry .meta .name {
  font-size: 11px;
  font-weight: bold;
  color: #000;
  text-transform: lowercase;
}

.project-entry .meta .desc {
  font-size: 10px;
  color: #777;
  line-height: 1.4;
}