/* ============================================================
   Twenty Seventeen Theme CSS Clone — Dark Color Scheme
   notulistenservice.nl static clone
   ============================================================ */

/* Font */
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300&display=swap');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }

html { line-height: 1.15; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Libre Franklin","Helvetica Neue",helvetica,arial,sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  background: #222;
  color: #eee;
  word-wrap: break-word;
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6 { clear: both; line-height: 1.4; margin: 0; padding: 0; }
p { margin: 0 0 1.5em; padding: 0; }
ul,ol { margin: 0 0 1.5em; padding: 0; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
a { color: #ddd; text-decoration: none; }
a:hover, a:active { color: #fff; }
img { border-style: none; height: auto; max-width: 100%; }
strong, b { font-weight: 700; }

/* === SKIP LINK === */
.skip-link {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link:focus {
  clip-path: none;
  background: #f1f1f1;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  overflow: auto;
  padding: 15px 23px 14px;
  position: fixed !important;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* === WRAP / CONTAINER === */
.wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  padding-left: 3em;
  padding-right: 3em;
}

/* ============================================================
   CUSTOM HEADER
   ============================================================ */
.custom-header { position: relative; }

/* Front page: full-viewport hero */
.twentyseventeen-front-page.has-header-image .custom-header {
  height: 100vh;
}

/* --- Custom Header Media --- */
.custom-header-media {
  height: 165px;
  overflow: hidden;
  position: relative;
}

/* Front page: media fills the entire hero */
.twentyseventeen-front-page.has-header-image .custom-header-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  width: 100%;
}

/* Gradient overlay */
.custom-header-media::before {
  background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.3) 75%,rgba(0,0,0,.3) 100%);
  bottom: 0;
  content: "";
  display: block;
  height: 33%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}

.twentyseventeen-front-page .custom-header-media::before {
  height: 100%;
}

/* Front page parallax hero image (position:fixed) */
.twentyseventeen-front-page.has-header-image .custom-header-media img {
  position: fixed;
  height: auto;
  left: 50%;
  min-height: 100%;
  min-width: 100vw;
  width: auto;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}

@supports (object-fit: cover) {
  .twentyseventeen-front-page.has-header-image .custom-header-media img {
    height: 100%;
    left: 0;
    object-fit: cover;
    top: 0;
    transform: none;
    width: 100%;
  }
}

/* Subpage: image is NOT fixed */
.has-header-image:not(.twentyseventeen-front-page) .custom-header-media img {
  bottom: 0;
  height: auto;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: auto;
  transform: translateX(-50%);
  width: auto;
}

@supports (object-fit: cover) {
  .has-header-image:not(.twentyseventeen-front-page) .custom-header-media img {
    height: 100%;
    left: 0;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
    top: 0;
    transform: none;
    width: 100%;
  }
}

/* --- Site Header --- */
.site-header {
  background-color: #262626;
  position: relative;
  z-index: 3;
}

/* Front page: site-header anchored at the bottom of the hero */
.twentyseventeen-front-page.has-header-image .site-header {
  background-color: transparent;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  width: 100%;
}

/* --- Site Branding --- */
.site-branding {
  padding: 1.5em 0;
  position: relative;
  z-index: 3;
}

/* Front page: branding with bottom padding before nav */
.twentyseventeen-front-page.has-header-image .site-branding {
  padding: 0 0 3em;
}

.custom-logo-link {
  display: inline-block;
  padding-right: 2em;
  vertical-align: middle;
}
.custom-logo-link:hover { opacity: .8; }
.custom-logo-link img {
  display: inline-block;
  max-height: 80px;
  width: auto;
}

.site-branding-text {
  display: inline-block;
  max-width: calc(100% - 140px);
  vertical-align: middle;
}

.site-title {
  clear: none;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
.site-title a { color: #fff; text-decoration: none; }
.site-title a:hover { opacity: .8; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navigation-top {
  background: #222;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  font-size: 14px;
  position: relative;
  width: 100%;
  z-index: 10;
}

/* Sticky nav override (added by JS on scroll) */
.navigation-top.site-navigation-fixed {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Nav wrap: slightly different padding */
.navigation-top .wrap {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 3.4166666em;
  padding-right: 3.4166666em;
  position: relative;
}

/* Mobile menu toggle (hidden on desktop by default) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #eee;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  padding: 1em;
  width: 100%;
  text-align: left;
}

/* Main nav */
.main-navigation {
  display: block;
  margin-left: -1.25em;
}

.main-navigation ul {
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  border: 0;
  display: inline-block;
  position: relative;
}

.main-navigation a {
  color: #ddd;
  display: block;
  font-size: 14px;
  font-weight: 600;
  padding: 1em 1.25em;
  text-decoration: none;
  transition: color .2s;
}
.main-navigation a:hover { color: #bbb; }

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: #bbb; }

/* Scroll-down arrow */
.menu-scroll-down {
  color: #999;
  display: block;
  font-size: 18px;
  line-height: 1;
  padding: .75em 1em;
  position: absolute;
  right: 3.4166em;
  text-decoration: none;
  top: 50%;
  transform: translateY(-50%);
}
.site-navigation-fixed .menu-scroll-down { display: none; }

/* ============================================================
   SITE CONTENT
   ============================================================ */
.site-content {
  background: #222;
  padding: 0;
  position: relative;
  z-index: 2;
}

/* Non-front-page: some top padding before content */
.has-header-image:not(.twentyseventeen-front-page) .site-content {
  padding-top: 0;
}

/* ============================================================
   FRONT PAGE PANELS
   ============================================================ */
.twentyseventeen-panel {
  overflow: hidden;
  position: relative;
}

/* Panel background image area */
.panel-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  max-height: 1200px;
  position: relative;
}

/* Parallax effect */
.background-fixed .panel-image { background-attachment: fixed; }

/* iOS Safari fix: no background-attachment:fixed (causes repaint bugs) */
@supports (-webkit-touch-callout: none) {
  .background-fixed .panel-image { background-attachment: scroll; }
}

/* Gradient overlay on panel image */
.panel-image::before {
  background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.3) 100%);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 100px;
}

/* Panel text content */
.panel-content {
  background: transparent;
  position: relative;
}

.panel-content .wrap {
  padding-bottom: 4.5em;
  padding-top: 6em;
}

/* --- Entry --- */
.entry-header { margin-bottom: 4.5em; }

.entry-title {
  color: #ddd;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  margin: 0 0 .25em;
  padding: 0;
  text-transform: uppercase;
}

.entry-content {
  color: #eee;
  font-size: 16px;
  line-height: 1.5;
}
.entry-content p { margin: 0 0 1.5em; }
.entry-content ul {
  list-style: disc;
  margin: 0 0 1.5em;
  padding: 0 0 0 1.5em;
}
.entry-content li { padding: .15em 0; }

/* ============================================================
   SUBPAGE CONTENT
   ============================================================ */
.page-title {
  color: #ddd;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  margin: 0 0 .25em;
  padding: 0;
  text-transform: uppercase;
}

.page-content {
  color: #eee;
  font-size: 16px;
  line-height: 1.5;
  padding: 4.5em 0;
}
.page-content p { margin: 0 0 1.5em; }
.page-content ul {
  list-style: disc;
  margin: 0 0 1.5em;
  padding: 0 0 0 1.5em;
}
.page-content li { padding: .15em 0; }

/* Subpage article panel (single panel for the page topic) */
.site-main > article.twentyseventeen-panel {
  margin-bottom: 3em;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid #333;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 3em;
}

.site-footer .wrap {
  padding-bottom: 1.5em;
  padding-top: 2em;
}

.site-info {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 0;
}
.site-info a { color: #ccc; text-decoration: none; }
.site-info a:hover { color: #fff; }

/* ============================================================
   LARGE SCREENS (>= 67em / 1072px)
   ============================================================ */
@media (min-width: 67em) {
  .navigation-top .wrap { padding-left: 2em; padding-right: 2em; }
  .menu-scroll-down { right: 2em; }
}

/* ============================================================
   MOBILE (< 48em / 768px)
   ============================================================ */
@media (max-width: 47.9375em) {

  /* Shorter mobile hero */
  .twentyseventeen-front-page.has-header-image .custom-header {
    height: 75vh;
    min-height: 300px;
  }

  /* On mobile, hero image is not fixed */
  .twentyseventeen-front-page.has-header-image .custom-header-media img {
    position: absolute;
    left: 50%;
    top: 50%;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
  }
  @supports (object-fit: cover) {
    .twentyseventeen-front-page.has-header-image .custom-header-media img {
      left: 0; top: 0; width: 100%; height: 100%;
      object-fit: cover; transform: none;
    }
  }

  /* Mobile: site-header flows below the hero image, not absolute */
  .twentyseventeen-front-page.has-header-image .site-header {
    position: relative;
    bottom: auto;
    background-color: #262626;
  }

  /* Mobile: branding normal padding */
  .twentyseventeen-front-page.has-header-image .site-branding {
    padding: 1em 0;
  }

  .site-title { font-size: 22px; }
  .custom-logo-link img { max-height: 50px; }
  .site-branding-text { max-width: calc(100% - 90px); }

  /* Mobile nav: hamburger */
  .menu-toggle { display: block; }
  .main-navigation { margin-left: 0; }
  .main-navigation ul { flex-direction: column; display: none; }
  .main-navigation.toggled-on ul { display: flex; }
  .main-navigation a { border-bottom: 1px solid #333; padding: .75em 1em; }

  .navigation-top .wrap { padding-left: 0; padding-right: 0; }
  .menu-scroll-down { display: none; }

  /* Mobile panels */
  .panel-image { height: 50vh; background-attachment: scroll !important; }
  .panel-content .wrap { padding-top: 2em; padding-bottom: 2em; }
  .entry-header { margin-bottom: 2em; }

  .wrap { padding-left: 1.5em; padding-right: 1.5em; }
}
