/* Mercat: the WordPress (Oxygen) design rebuilt. Proxima Nova became Figtree; colours and sizes as on the live site. */
:root {
    --text: #515151;
    --muted: #98a1a8;
    --link: #0074db;
    --yellow: #ffe3a5;
    --shadow: 0 10px 24px rgba(57, 57, 57, .15);
    --font: Figtree, "proxima-nova", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4, h5, h6 { font-size: 20px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header: the logo, and the menu as one white pill with a shadow. */
.site-header { position: relative; z-index: 300; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding-top: 5px; padding-bottom: 5px; }
.logo img { height: 90px; width: auto; display: block; }
.main-nav { display: flex; align-items: stretch; background: #fff; border-radius: 60px; box-shadow: 19px 15px 24px rgba(57, 57, 57, .05); position: relative; }
.main-nav > a, .categories-menu > summary { display: flex; align-items: center; gap: 8px; padding: 18px 32px; font-size: 20px; color: var(--text); cursor: pointer; list-style: none; line-height: 25px; }
.categories-menu > summary::-webkit-details-marker { display: none; }
.main-nav .nav-middle { border-left: 1px solid rgba(81, 81, 81, .18); border-right: 1px solid rgba(81, 81, 81, .18); padding: 0 32px; margin: 18px 0; }
.categories-panel { position: absolute; top: calc(100% + 16px); left: 0; width: 520px; background: #fff url(/wp-content/uploads/2021/04/mega-menu-bck.png) no-repeat right bottom / contain; border-radius: 20px; box-shadow: var(--shadow); padding: 30px 40px; }
.categories-title { font-size: 24px; font-weight: 900; margin: 0 0 16px; }
.categories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.categories-grid a, .mobile-categories a { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 18px; }
.categories-grid img, .mobile-categories img { width: 25px; height: 16px; object-fit: contain; }
.mobile-menu { display: none; }
.mobile-menu > summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff url(/wp-content/uploads/2021/04/mobile-menu-bck.png) no-repeat center bottom / cover; padding: 30px; box-shadow: var(--shadow); }
.mobile-categories { display: grid; gap: 14px; margin-bottom: 24px; }
.mobile-link { display: block; font-size: 20px; font-weight: 700; color: var(--text); padding: 6px 0; }
@media (max-width: 991px) {
    .main-nav { display: none; }
    .mobile-menu { display: block; }
    .logo img { height: 70px; }
}

/* A post: a coloured shape behind the top, the categories, the big title and the byline. */
.post-hero { background: url(/wp-content/uploads/2021/04/category-background.png) no-repeat center top / 100% 620px; padding-top: 30px; margin-bottom: 50px; }
.post-categories { margin: 0; font-size: 16px; font-weight: 500; color: rgba(37, 59, 72, .71); }
.post-categories a { color: rgba(51, 51, 51, .61); }
.post-title { font-size: 62px; font-weight: 900; line-height: 74px; margin: 10px 0 30px; }
.byline { display: inline-flex; align-items: center; gap: 15px; color: var(--text); }
.byline img { width: 60px; height: 60px; border-radius: 60px; object-fit: cover; }
.byline > span { display: flex; flex-direction: column; }
.byline-name { font-size: 18px; }
.byline-name strong { font-weight: 400; }
.byline-dates { font-size: 12px; margin-top: -2px; }
.post-layout { display: flex; gap: 40px; align-items: flex-start; margin-top: 30px; }
.post-main { width: 80%; min-width: 0; }
.post-side { width: 20%; position: sticky; top: 20px; }
.featured { width: 100%; border-radius: 20px; display: block; }

/* The contents: in the sidebar on wide screens, above the text on phones. */
.toc { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.toc-title { margin: 0; text-align: center; font-size: 32px; font-weight: 900; line-height: 38px; }
.toc-line { display: block; width: 50px; height: 4px; background: var(--text); margin: 6px auto 14px; }
.toc a { color: #606e79; }
.toc .toc-primary { color: var(--text); border: 1px solid #eee; border-radius: 60px; box-shadow: var(--shadow); padding: 8px 15px 8px 24px; min-height: 56px; display: flex; align-items: center; line-height: 1.4; margin-bottom: 10px; }
.toc .toc-sub { text-decoration: underline; margin-left: 16px; }
.toc-mobile { display: none; margin-top: 30px; }

/* The text. */
.content { margin-top: 30px; overflow-wrap: break-word; }
.content h2 { font-size: 30px; margin: 1.6em 0 .6em; }
.content h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.content h4 { font-size: 20px; margin: 1.2em 0 .4em; }
.content img { border-radius: 10px; }
.content figure, .content .video { margin: 1em 0; }
.content figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.content blockquote { margin: 1.5em 0; padding: 10px 24px; border-left: 4px solid var(--yellow); font-style: italic; }
.content table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.5em 0; }
.content th, .content td { border: 1px solid #e5e5e5; padding: 8px 12px; text-align: left; }
.content th { background: #f6f6f6; }
.content .stripes tbody tr:nth-child(odd) { background: #f2f2f2; }
.content td[align="center"], .content th[align="center"] { text-align: center; }
/* Links to other Mercat pages: a grey label with an arrow out of a box. */
.content a[href^="/"] { color: #000; font-weight: 700; background: #eee; padding: 2px 25px 2px 8px; border-radius: 8px; position: relative; display: inline; }
.content a[href^="/"]::after { content: ''; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6'/%3E%3Cpath d='m21 3-9 9'/%3E%3Cpath d='M15 3h6v6'/%3E%3C/svg%3E") no-repeat center / contain; }
.content a[href^="/"]:hover { background: #ddd; }
.content .wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; margin: 1.5em 0; border-radius: 10px; overflow: hidden; color: #fff; }
.content .wp-block-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.content .wp-block-cover::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); z-index: 1; }
.content .wp-block-cover__inner-container { position: relative; z-index: 2; padding: 30px; text-align: center; font-size: 28px; }
.content .video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; }

/* The yellow info box (a lamp above it, a cactus below) and the red warning box (a sign and a stone). */
.info-box, .warning-box { position: relative; margin: 60px 0 70px; padding: 50px 120px 30px 80px; min-height: 210px; border-radius: 20px; font-size: 20px; background: url(/wp-content/uploads/2022/02/infobox-bck-1.png) no-repeat right bottom / cover; }
.warning-box { background-image: url(/wp-content/uploads/2022/02/warning-bck-1.png); padding-left: 100px; }
.info-box::before, .warning-box::before { content: ''; position: absolute; left: 40px; top: -45px; width: 155px; height: 90px; background: url(/wp-content/uploads/2022/02/infobox-infobox.png) no-repeat left top / contain; }
.warning-box::before { background-image: url(/wp-content/uploads/2022/02/warning-infobox.png); }
.info-box::after, .warning-box::after { content: ''; position: absolute; right: 20px; bottom: -40px; width: 122px; height: 146px; background: url(/wp-content/uploads/2022/02/infobox-cactus.png) no-repeat right bottom / contain; }
.warning-box::after { width: 121px; height: 39px; bottom: -20px; background-image: url(/wp-content/uploads/2022/02/warning-stone.png); }
.info-box > :first-child, .warning-box > :first-child { margin-top: 0; }
.info-box > :last-child, .warning-box > :last-child { margin-bottom: 0; }

/* WordPress columns: pros and cons side by side. */
.columns { display: flex; gap: 2em; margin: 1.5em 0; }
.column { flex: 1; min-width: 0; }
.column > :first-child { margin-top: 0; }

/* Share links and the author box under the text. */
.share { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 29px; }
.share-title { margin: 0; font-weight: 700; font-size: 20px; line-height: 36px; }
.share-line { flex: 1; height: 1px; background: rgba(81, 81, 81, .18); }
.share a { color: var(--text); display: flex; }
.author-box { background: url(/wp-content/uploads/2021/04/blog-post-author.svg) no-repeat center / 100% 100%; min-height: 350px; padding: 120px 15% 50px; text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; }
.author-photo { width: 105px; height: 105px; border-radius: 105px; object-fit: cover; margin-top: -60px; margin-bottom: 10px; }
.author-name { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; line-height: 31px; margin: 0 0 10px; }
.go-button { width: 42px; height: 42px; border-radius: 42px; background: var(--yellow); border: 1px solid #fff; box-shadow: 0 1px 7px rgba(0, 0, 0, .15); display: inline-flex; align-items: center; justify-content: center; }
.go-button img { width: 14px; height: auto; border-radius: 0; }
.go-button .arrow-mini { display: none; }
.author-bio { font-size: 20px; line-height: 36px; margin: 0; }

@media (max-width: 991px) {
    .post-layout { display: block; }
    .post-main { width: 100%; }
    .post-side { display: none; }
    .toc-mobile { display: flex; }
}
@media (max-width: 767px) {
    .post-hero { background-size: 100% 420px; }
    .post-title { font-size: 28px; line-height: 36px; }
    .info-box, .warning-box { padding: 60px 20px 80px; }
    .author-box { background: url(/wp-content/uploads/2021/04/post-author-bck-mobile.png) no-repeat center / cover; padding: 90px 30px 40px; border-radius: 20px; }
    .columns { display: block; }
}

/* Article cards (home, categories, authors): photo, date, title, writer. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; color: var(--text); flex: 1; }
.card-date { font-size: 14px; color: var(--muted); }
.card-title { font-size: 20px; font-weight: 900; line-height: 1.3; }
.card-author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid #eee; font-size: 14px; }
.card-author img { width: 40px; height: 40px; border-radius: 40px; object-fit: cover; }
.card-author small { display: block; color: var(--muted); }
@media (max-width: 991px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Category and author pages. */
.archive-hero { background: url(/wp-content/uploads/2021/04/category-background.png) no-repeat center top / 100% 620px; padding: 30px 0 60px; }
.archive-name { font-size: 20px; font-weight: 700; color: var(--muted); margin: 0 0 20px; }
.archive-name a { color: inherit; }
.lead-post { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lead-post > img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; }
.lead-post h1 { font-size: 46px; font-weight: 900; line-height: 1.2; margin: 10px 0 24px; }
.lead-post h1 a { color: var(--text); }
.lead-date { font-size: 16px; color: var(--muted); }
.listing { padding-bottom: 60px; }
.listing-empty { text-align: center; }
.pagination { margin: 40px 0 0; text-align: center; font-size: 18px; }
.pagination a, .pagination span { display: inline-block; min-width: 40px; padding: 6px 10px; margin: 0 2px; border-radius: 40px; color: var(--text); }
.pagination [aria-current] { background: var(--yellow); font-weight: 700; }
@media (max-width: 767px) {
    .lead-post { grid-template-columns: 1fr; }
    .lead-post h1 { font-size: 28px; }
}

/* Author page: photo, name, role and bio. */
.author-profile { text-align: center; max-width: 800px; margin: 0 auto; }
.author-profile-photo { width: 285px; height: 285px; border-radius: 285px; object-fit: cover; }
.author-profile-name { font-size: 46px; font-weight: 900; line-height: 1.2; margin: 20px 0 0; }
.author-profile-role { margin: 0 0 10px; color: var(--muted); }
.author-profile-bio { font-size: 20px; line-height: 36px; }
@media (max-width: 767px) { .author-profile-photo { width: 180px; height: 180px; } .author-profile-name { font-size: 32px; } }

/* Text pages (privacy, cookies) and the about and contact pages. */
.page-hero { background: url(/wp-content/uploads/2021/04/page-background-minimized.svg) no-repeat center top / cover; padding: 30px 0 60px; }
.crumbs { font-size: 16px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--muted); }
.page-hero h1 { font-size: 62px; font-weight: 900; line-height: 74px; margin: 0; }
.page-text { padding-bottom: 60px; }
.page-text .content { max-width: 900px; }

/* Home page. */
.home-hero { background: url(/wp-content/uploads/2021/04/hero-illustrator-r2.png) no-repeat right center / contain; min-height: 520px; display: flex; align-items: center; }
.home-hero-text { max-width: 540px; }
.home-hero-text p { font-size: 46px; font-weight: 900; line-height: 1.2; margin: 0 0 30px; }
.home-section { padding: 60px 0; }
.home-section h2 { font-size: 36px; font-weight: 900; text-align: center; margin: 0 0 30px; }
.home-about { text-align: center; max-width: 800px; margin: 0 auto; }
.home-about h1 { font-size: 36px; font-weight: 900; }
.button { display: inline-block; background: var(--yellow); color: var(--text); font-weight: 700; padding: 14px 36px; border-radius: 60px; box-shadow: 0 1px 7px rgba(0, 0, 0, .15); }
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.tabs label { cursor: pointer; padding: 10px 24px; border-radius: 60px; border: 1px solid #eee; box-shadow: var(--shadow); font-weight: 700; }
.tab-panel { display: none; }
.tab-input { position: absolute; opacity: 0; }
#tab-populair:checked ~ .tab-panels .panel-populair, #tab-uitgelicht:checked ~ .tab-panels .panel-uitgelicht, #tab-nieuw:checked ~ .tab-panels .panel-nieuw { display: grid; }
#tab-populair:checked ~ .tabs [for="tab-populair"], #tab-uitgelicht:checked ~ .tabs [for="tab-uitgelicht"], #tab-nieuw:checked ~ .tabs [for="tab-nieuw"] { background: var(--yellow); }
.photo-tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo-tile { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; display: block; background: #eee center / cover no-repeat; }
.photo-tile span { position: absolute; inset: auto 0 0 0; padding: 16px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
@media (max-width: 767px) {
    .home-hero { background-size: 60%; background-position: right bottom; min-height: 0; padding: 40px 0 200px; }
    .home-hero-text p, .page-hero h1 { font-size: 32px; line-height: 1.2; }
    .photo-tiles { grid-template-columns: 1fr 1fr; }
}

.home-hero-text img { width: 420px; max-width: 100%; }
.home-hero-mobile { display: none; }
.home-about img { display: block; margin: 0 auto 20px; }
.home-featured { position: relative; background: url(/wp-content/uploads/2021/04/categories-bck.svg) no-repeat center / cover; }
.featured-corner { position: absolute; width: 220px; pointer-events: none; }
.featured-corner-left { left: 0; top: 0; }
.featured-corner-right { right: 0; bottom: 0; }
.tabs img { width: 24px; height: 24px; vertical-align: middle; margin-right: 8px; }
.section-intro { text-align: center; }
.about-intro { text-align: center; max-width: 900px; margin: 0 auto; }
.about-intro p { font-size: 20px; }
.value h4 { font-size: 24px; font-weight: 900; margin: 0 0 10px; }
.team-member .go-button { margin-top: 10px; }
.team-social { color: var(--text); display: inline-flex; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band-title { font-size: 36px; font-weight: 900; margin: 0 0 10px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card, .contact-form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 40px; }
.contact-card h1 { font-size: 46px; margin: 0 0 20px; }
.contact-label { font-weight: 700; margin: 16px 0 0; }
.contact-card p { margin: 0; }
.contact-socials { display: flex; gap: 14px; margin-top: 20px !important; }
.contact-socials a { color: var(--text); }
.contact-form-card { text-align: center; }
.contact-form-card h4 { font-size: 30px; font-weight: 900; margin: 10px 0; }
.contact-art-mobile { display: none; }
.contact-footer { display: flex; justify-content: space-between; margin-top: 40px; }
.contact-footer img { width: 260px; }
@media (max-width: 767px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-art { display: none; }
    .contact-art-mobile { display: inline; }
    .contact-band { flex-direction: column; text-align: center; }
    .home-hero-mobile { display: block; }
}

/* Authors on the about page. */
.team { display: grid; gap: 60px; margin-top: 40px; }
.team-member { text-align: center; padding: 60px 15%; background: url(/wp-content/uploads/2021/04/author-list-odd-bck.svg) no-repeat center / 100% 100%; }
.team-member:nth-child(even) { background-image: url(/wp-content/uploads/2021/04/author-list-even-bck.svg); }
.team-member img.team-photo { width: 150px; height: 150px; border-radius: 150px; object-fit: cover; }
.team-name { font-size: 24px; font-weight: 900; margin: 10px 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 767px) { .values { grid-template-columns: 1fr; } }

/* Footer. */
.site-footer { background: url(/wp-content/uploads/2021/04/footer-bck.svg) no-repeat center top / cover; padding: 140px 0 20px; margin-top: 60px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; }
.footer-about img { width: 160px; height: auto; }
.footer-social { color: var(--text); display: inline-flex; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h2 { font-size: 20px; font-weight: 900; margin: 0 0 10px; }
.footer-col a { color: var(--text); }
.footer-contact p { margin: 0; }
.footer-bottom { text-align: center; font-size: 14px; margin-top: 40px; }
@media (max-width: 767px) {
    .site-footer { background-image: url(/wp-content/uploads/2021/04/footer-background-mobile.svg); padding-top: 80px; }
    .footer-grid { grid-template-columns: 1fr; }
}
