/*
Theme Name: psvkorfbal v3
Version: 1.1
*/

@font-face {
  font-family: 'Poetsen One';
  src: url('PoetsenOne-Regular.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-size: 14px;
  font-family: Arial, sans-serif;
  background: #eee;
}
@media (min-width: 1000px) {
	body {
	  width: 1020px;
	  font-size: 16px;
	}
}

.layout {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

.sidebar {
  width: 150px;
  flex-shrink: 0;
  padding: 20px;
  background: #fff;
}
@media (max-width: 600px) {
	.sidebar {
	  width: 120px;
	  padding-left: 15px;
	}
}
.sidebar-logo {
  margin-bottom: 20px;
}
.sidebar-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}
.sidebar-login {
  margin-top: 20px;
}
.sidebar-login a, .sidebar-login a:visited {
  color: #CCC;
  text-decoration: none;
}
.sidebar-login a:hover {
  text-decoration: underline;
}

.content {
  flex: 1;
  padding: 10px 20px 10px 20px;
  max-width: 800px;
  line-height: 1.5;
  background: #fff;
}
@media (max-width: 600px) {
  .content {
    min-width: 360px;
  }
}
.content h2 {
	font-size: 28px;
    font-family: 'Poetsen One', sans-serif;
    margin-top: 30px;
    margin-bottom: 8px;
}
.content h2:first-of-type {
    margin-top: 8px;
    margin-bottom: 8px;
}

.menu,
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #000;
}
.menu li {
  margin-bottom: 12px;
}
.menu a {
  color: #000;
  text-decoration: none;
}
.menu a:hover {
  text-decoration: underline;
}
.menu .current-menu-item > a {
  font-weight: bold;
}
.menu .current_page_parent > a {
  font-weight: bold;
}
.menu .current-menu-parent > a {
  font-weight: bold;
}
.menu .sub-menu {
  display: none;
  padding-top: 8px;
  margin-left: 15px;
}
.menu li.open > .sub-menu {
  display: block;
}

.menu-item-has-children > a::after {
  content: " ▸";
}
.menu-item-has-children.open > a::after {
  content: " ▾";
}
.menu-item-has-children.open > .sub-menu {
  display: block;
}

.disabled > a {
  color: #999;
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}
.menu .divider {
  border-top: 1px solid #ddd;
  margin: 15px 0;
}
.menu .divider a {
  display: none;
}

.content .wp-block-media-text__content p {
	margin: 0;
	padding: 0;
	background: none;
}

.content p,
.content table,
.wp-block-media-text,
.wp-block-table,
.wp-block-columns,
.wp-block-list,
.mijnkorfbal-pools,
.mijnkorfbal-saldo,
.mijnkorfbal-stand,
.mijnkorfbal-program,
.mijnkorfbal-results,
.colorblock {
	padding: 15px 20px;
	color: white;
	margin-block-end: 1em;
	margin-top: 15px;
	background:linear-gradient(90deg, rgb(211,50,50) 0%, rgb(255,255,255) 200%);
	border-radius: 4px;
}
.content li {
  margin: 0 10px;
}
.content ul {
    list-style: none;
    padding-left: 1.5em;
}

.content ul li {
    position: relative;
}
.content ul li::before {
    content: "▸";
    position: absolute;
    left: -1em;
}
.content a, .content a:visited {
  color: white;
}
.content img {
	border-radius: 4px;
}

.extraruimte img {
	padding-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
}

.content .nocolor, .nocolor table, .nocolor p {
	padding: 0;
	color: black;
	background: none;
}
.nocolor a, .nocolor a:visited {
	color: black;
}

.content .noblock, .noblock table, .noblock p {
	padding: 0;
	background: none;
}
.wp-block-column p {
	padding: 0;
	margin: 5px;
}
.content .nospacebot {
	margin-bottom: 0;
	border-radius: 4px 4px 0 0;
}
.content .nospacetop {
	margin-top: 0;
	padding-top: 0;
	border-radius: 0 0 4px 4px;
}
.content .standout {
	color: white;
	background:linear-gradient(90deg, rgb(150,150,150) 0%, rgb(0,0,0) 200%);
}
.standout a, .standout a:visited {
  color: white;
}

.mobielklein img {
    height: auto;
}
@media (max-width: 600px) {
    .mobielklein img {
        width: 120px !important;
        max-width: 120px !important;
        height: auto;
    }
}
.mobielmini img {
    height: auto;
}
@media (max-width: 600px) {
    .mobielmini img {
        width: 50px !important;
        max-width: 50px !important;
        height: auto;
    }
}

.blogcontent {
  flex: 1;
  padding: 10px 20px 10px 20px;
  max-width: 800px;
  line-height: 1.5;
  color: black;
  background: #fff;
}
@media (max-width: 600px) {
  .blogcontent {
    min-width: 360px;
  }
}
.blogcontent h1 {
	font-size: 28px;
    font-family: 'Poetsen One', sans-serif;
    margin-top: 8px;
    margin-bottom: 8px;
    color: black;
}
.blogcontent h2 {
	font-size: 24px;
    font-family: 'Poetsen One', sans-serif;
    margin-top: 0;
    margin-bottom: 8px;
}
.single-title a, .single-title a:visited {
  color: black;
  text-decoration: none;
}
.blogcontent a, .blogcontent a:visited {
	color: black;
}

.multi-list {
    display: grid;
    gap: 20px;
}
.multi-card {
    padding: 15px 20px;
    color: white;
	background:linear-gradient(90deg, rgb(211,50,50) 0%, rgb(255,255,255) 200%);
	border-radius: 4px;
}
.multi-title a, .multi-title a:visited {
  color: white;
  text-decoration: none;
}
.multi-content {
	margin-top: 8px;
	margin-bottom: 15px;
}
.multi-content a, .multi-content a:visited {
  color: white;
  text-decoration: underline;
}
.multi-footer {
    font-size: 12px;
    color: #ddd;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
.multi-footer a, .multi-footer a:visited {
  color: white;
}

.single-back {
	background: none;
	color: black;
}
.single-back a, .single-back a:visited {
  color: black;
  text-decoration: none;
}
.single-card {
}
.single-title, .single-title a, .single-title a:visited {
  color: black;
  text-decoration: none;
}
.single-content {
    padding: 10px 20px;
    color: white;
	margin-top: 8px;
	margin-bottom: 10px;
	background:linear-gradient(90deg, rgb(211,50,50) 0%, rgb(255,255,255) 200%);
	border-radius: 4px;
}
.single-content a, .single-content a:visited {
  color: white;
}
.single-footer {
    font-size: 12px;
    color: #888;
}
.single-footer a, .single-footer a:visited {
  color: #888;
}

.pagination {
    margin-top: 2rem;
}

.ff-el-group.ff-custom_html p {
	margin: 0;
	padding: 0;
	background: none;
}
div.fluentform {
    padding: 20px 20px 10px 20px;
	color: white;
	margin-top: 8px;
	margin-bottom: 10px;
	background:linear-gradient(90deg, rgb(211,50,50) 0%, rgb(255,255,255) 200%);
	border-radius: 4px;
}
.fluentform .error.text-danger {
	color: black;
	font-size: 16px;
	font-weight: bold;
	margin-top: 4px;
}
.ff-message-success {
  padding: 16px;
  border: 2px solid black;
  border-radius: 8px;
  margin-bottom: 10px;
}
.ff-message-success p {
  margin: 0;
  background: none;
}
:root {
    --fluentform-danger: #444;
}

@media (max-width: 600px) {
    .mobielnaastelkaar {
        display: flex;
        flex-wrap: nowrap;
    }
    .mobielnaastelkaar .wp-block-image {
        flex: 1 1 0;
    }
}

.searchform input {
    width: 100%;
    box-sizing: border-box;
}

.navigation.pagination {
    margin: 40px 0;
    text-align: center;
}
.navigation.pagination .nav-links {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;

    background: #f2f2f2;
    color: #333;
    text-decoration: none;

    border-radius: 6px;
    border: 1px solid #ddd;

    font-size: 15px;
    font-weight: 500;

    transition: all 0.2s ease;
}
.navigation.pagination a.page-numbers:hover {
    background: #d33232;
    color: #fff;
    border-color: #d33232;
}
.navigation.pagination .page-numbers.current {
    background: #d33232;
    color: #fff;
    border-color: #d33232;
    font-weight: 700;
}
.navigation.pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: #777;
}
.navigation.pagination .prev,
.navigation.pagination .next {
    padding: 0 16px;
}

.gallery-popup-overlay {
	display: none;
	position: fixed;
	top: 50%;
	left: var(--popup-content-left, 0px);
	width: var(--popup-content-width, 100vw);
	transform: translateY(-50%);
	z-index: 9999;
	pointer-events: none;
}
.gallery-popup-overlay.active {
	display: block;
}
.gallery-popup-box {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	max-width: calc(100% - 40px);
	max-height: calc(100vh - 40px);
	background: white;
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	padding: 10px;
	pointer-events: auto;
}
.gallery-popup-box img {
	display: block;
	width: 700px;
	height: 500px;
	max-width: calc(100vw - 60px);
	max-height: calc(100vh - 60px);
	object-fit: contain;
	border-radius: 4px;
	cursor: zoom-out;
}
.gallery-popup-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: rgba(200, 0, 0, 0.5);
	color: white;
	width: 28px;
	height: 28px;
	border-radius: 10%;
	text-align: center;
	line-height: 28px;
	font-size: 32px;
	cursor: pointer;
	z-index: 10000;
}