/*
 * Koffieamigo: rebuilt after the WordPress theme "Rise" (Thrive Themes, blue colour scheme) and its Thrive Architect
 * content. Colours and fonts as on the live site: Montserrat headings, Open Sans text, dark blue links (#24447b),
 * a brown menu that turns yellow on hover, posts beside a sidebar, the dark blue footer.
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #000; font: 400 17px/1.5 'Open Sans', sans-serif; }
img { max-width: 100%; height: auto; }
a { color: #24447b; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 20px; }
strong, b { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { font-family: Montserrat, sans-serif; font-weight: 500; line-height: 1.15; color: #0a0a0a; margin: 0 0 20px; overflow-wrap: break-word; }
h1 { font-size: 46px; }
h2 { font-size: 34px; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }
h6 { font-size: 17px; }
hr { border: 0; border-top: 1px solid #ddd; margin: 30px 0; }

.wrap { width: 100%; max-width: 1190px; margin: 0 auto; padding: 0 20px; }

/* Header: the logo on the left, the menu on the right; a menu item's list of posts opens on hover. */
.site-header { background: #fff; padding-top: 15px; position: relative; z-index: 10; }
.header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.logo img { display: block; width: 330px; max-width: 100%; height: auto; }
.main-nav > ul { display: flex; margin: 0; padding: 0 0 10px; list-style: none; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 30px 15px 15px; font: 600 14px 'Open Sans', sans-serif; color: #342821; text-transform: uppercase; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: #d6d277; text-decoration: none; }
.main-nav li ul { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; margin: 0; padding: 0; list-style: none;
    box-shadow: 3px 0 10px 0 rgba(0, 0, 0, .18); border-bottom: 3px solid #24447b; }
.main-nav li:hover > ul, .main-nav li:focus-within > ul { display: block; }
.main-nav li ul li { background: #fff; padding: 0 15px; }
.main-nav li ul li:hover { background: #f8f8f8; }
.main-nav li ul a { display: block; padding: 15px 0; border-bottom: 1px dotted #cacaca; color: #666; font-size: 15px; white-space: nowrap; }
.main-nav li ul a:hover { color: #24447b; text-decoration: none; }
.mobile-menu { display: none; }

.site-main { margin-top: 50px; margin-bottom: 60px; }
/* Posts and lists: the content (74%) and the sidebar (25%). */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 74fr) minmax(0, 25fr); gap: 1%; align-items: start; }
.sidebar { font-size: 16px; padding-left: 20px; }

/* A post or page. */
.featured { display: block; width: 100%; margin-bottom: 30px; }
.entry-title { font-size: 46px; }
.meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 30px; padding: 0; list-style: none; color: #d1d0d0; font-size: 15px; }
.content { overflow-wrap: break-word; }
.content ul { list-style: square; margin: 0 0 20px 40px; padding: 0; }
.content ol { margin: 0 0 20px; padding-left: 40px; }
.content li { margin-bottom: 10px; }
.content li p { margin: 0; }
.content blockquote { border: 3px solid #ebebeb; margin: 20px 0; padding: 17px 17px 17px 60px; position: relative; }
.content blockquote::before { content: '\201C'; color: #24447b; font: 72px/1 Georgia, serif; position: absolute; left: 20px; top: 10px; }
.content blockquote p { color: #999; font-style: italic; margin-bottom: 10px; }
.content img { display: block; margin: 0 auto 20px; }
.content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; margin-bottom: 20px; }
.content .table-scroll { overflow-x: auto; margin-bottom: 20px; }
.content table { width: 100%; border-collapse: collapse; text-align: left; }
.content thead th { background: #24447b; border: 3px solid #24447b; color: #fff; font-weight: 600; padding: 12px 15px; }
.content tbody tr { border: 3px solid #ebebeb; border-width: 2px 3px; }
.content tbody tr:nth-child(even) td { background: #f9f9f9; }
.content td { background: #fff; color: #333; padding: 12px 15px; vertical-align: middle; }
.content td p, .content th p { margin: 0; }
.content td .button { margin: 0; }

/* Thrive Architect blocks: columns, boxes, buttons, toggles, icon lists, price tables, review scores. */
.columns { display: flex; gap: 30px; margin-bottom: 20px; }
.column { flex: 1 1 0; min-width: 0; }
.column > :last-child, .box > :last-child, .toggle-content > :last-child, .band > :last-child { margin-bottom: 0; }
.box { border: 1px solid #ddd; border-radius: 4px; padding: 20px; margin-bottom: 20px; background: #fff; }
.box .box { border: 0; padding: 0; }
.box-red, .box .box-red { background: #c0392b; border: 0; color: #fff; padding: 20px; text-align: center; }
.box-red h1, .box-red h2, .box-red h3, .box-red h4, .box-red p { color: #fff; }
.box-red h3 { font-size: 64px; margin: 0; }
.box h1 { font-size: 28px; }
.band { background: #c7a13a; color: #fff; padding: 40px 30px; margin-bottom: 40px; text-align: center; font-size: 20px; }
.band p { margin: 0 0 20px; }
.band:has(h2) { background: #aeffdf; color: #000; }
.band:has(h2) .column { text-align: left; }
.band:has(h2) .column h3 { text-align: center; }
.button { margin: 0 0 20px; text-align: center; }
.button p { margin: 0; }
.button a { display: inline-block; background: #5088e4; color: #fff; padding: 14px 22px; border-radius: 4px; border-bottom: 4px solid #3b68bb; font: 600 17px/1.2 'Open Sans', sans-serif; text-align: center; }
.button a:hover { background: #4576ca; color: #fff; text-decoration: none; }
.toggle { border: 1px solid #e5e5e5; margin-bottom: 20px; }
.toggle-title { cursor: pointer; padding: 15px 20px 15px 50px; position: relative; }
.toggle-title::before { content: '+'; position: absolute; left: 20px; top: 11px; font: 500 24px/1 Montserrat, sans-serif; color: #1abc9c; }
.toggle.open .toggle-title::before { content: '\2212'; }
.toggle-title h4 { margin: 0; font-size: 20px; }
.toggle-title:hover { background: #1abc9c; }
.toggle-title:hover h4, .toggle-title:hover::before { color: #fff; }
.toggle-content { display: none; padding: 0 20px 20px; }
.toggle.open .toggle-content { display: block; }
.content .list-check ul, .content .list-cross ul, .content .list-arrow ul { list-style: none; margin-left: 0; }
.content .list-check li, .content .list-cross li, .content .list-arrow li { position: relative; padding-left: 32px; }
.content .list-check li::before, .content .list-cross li::before, .content .list-arrow li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.content .list-check li::before { content: '\2713'; color: #00b200; }
.content .list-cross li::before { content: '\2717'; color: #cc3333; }
.content .list-arrow li::before { content: '\279C'; color: #24447b; }
.content .list-numbered ul { list-style: decimal; }
.price-switch { display: flex; justify-content: center; margin-bottom: 20px; }
.price-switch .button { margin: 0; }
.price-switch .button a { background: #eaecf1; color: #333; border-radius: 0; border: 0; }
.price-switch .button a.active { background: #24447b; color: #fff; }
.pricing { display: flex; gap: 20px; margin-bottom: 30px; align-items: stretch; }
.pricing.pricing-alt { display: none; }
.pricing > .column > .box { height: 100%; text-align: center; }
.price p { display: inline; margin: 0; font-size: 48px; font-weight: 600; }
.stars { height: 24px; margin: 10px auto; width: 120px; background: linear-gradient(90deg, #f4c150 var(--fill, 100%), #ddd var(--fill, 100%));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7 7 .6-5.3 4.7 1.6 7.2L12 17.8 5.7 21.5l1.6-7.2L2 9.6 9 9z'/%3E%3C/svg%3E") 0 0 / 24px 24px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7 7 .6-5.3 4.7 1.6 7.2L12 17.8 5.7 21.5l1.6-7.2L2 9.6 9 9z'/%3E%3C/svg%3E") 0 0 / 24px 24px repeat-x; }
.stars-45 { --fill: 90%; } .stars-40 { --fill: 80%; } .stars-38 { --fill: 76%; } .stars-37 { --fill: 74%; }
.progress { position: relative; background: #eee; border-radius: 3px; margin: 10px 0 20px; color: #fff; font-weight: 600; overflow: hidden; }
.progress::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--fill, 100%); background: #c0392b; }
.progress p { position: relative; margin: 0; padding: 8px 12px; }
.progress-99 { --fill: 99%; } .progress-80 { --fill: 80%; } .progress-75 { --fill: 75%; } .progress-60 { --fill: 60%; }
.counter { text-align: center; margin-bottom: 20px; }
.counter p { margin: 0; font: 600 48px/1.2 Montserrat, sans-serif; color: #c0392b; }
.counter p:last-child { font-size: 16px; color: #333; }

/* The recipes page: a grid of three per row (title, start of the text, "Read More"). */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 30px; }
.grid-item { border: 1px solid #e5e5e5; padding: 20px; }
.grid-item img { margin-bottom: 15px; }
.grid-item p:last-child { margin: 0; }
@media (max-width: 767px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* The "Inhoudsopgave" box. */
.toc { border: 1px solid #e5e5e5; padding: 20px; margin: 0 0 30px; }
.toc-title { font-weight: 600; margin-bottom: 10px; }
.content .toc ul { columns: 2; column-gap: 30px; margin: 0; list-style: none; }
.content .toc li { margin: 0 0 6px; break-inside: avoid; }
.content .toc .toc-level3 { padding-left: 20px; }

/* Lists of posts: blog and author pages. */
.archive-title { background: #f5f5f5; border: 1px solid #e9e9e9; border-left: 4px solid #c9dbef; padding: 20px; margin-bottom: 30px; }
.archive-title h1, .archive-title h3 { font-size: 26px; margin: 0; }
.list-item { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid #ebebeb; }
.list-image img { display: block; width: 100%; margin-bottom: 25px; }
.list-item .entry-title { font-size: 34px; margin-bottom: 10px; }
.list-item .entry-title a { color: #0a0a0a; }
.list-item .meta { margin-bottom: 15px; }
.more { font-weight: 600; }
.pagination { display: flex; flex-wrap: wrap; margin: 20px 0; font: 600 15px/37px 'Open Sans', sans-serif; }
.pagination a, .pagination span { padding: 0 14px; color: #999; border-right: 1px solid #ebebeb; }
.pagination span[aria-current] { box-shadow: inset 0 -2px 0 #24447b; color: #333; }
.pagination a:hover { box-shadow: inset 0 -2px 0 #24447b; text-decoration: none; }

.not-found { display: flex; gap: 40px; align-items: center; padding: 40px 0; }
.not-found h1 { font-size: 120px; margin: 0; }
.not-found h3 span { display: block; font-size: 46px; }

/* Footer: the footer menu on dark blue, then the copyright line and round social media icons. */
.site-footer { background: linear-gradient(#2b3649, #2c436a); color: #fff; font-size: 15px; }
.footer-menu { background: #1a3056; padding: 20px 0; }
.footer-menu .wrap { display: flex; gap: 20px; }
.site-footer a { color: #c9dbef; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.site-footer p { margin: 0; }
.socials { display: flex; align-items: center; gap: 4px; }
.socials span { margin-right: 6px; }
.socials a { display: flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; }
.socials a:hover { background: #24447b; }
.socials svg { width: 16px; height: 16px; fill: #fff; }

@media (max-width: 1080px) {
    h1, .entry-title { font-size: 33px; }
    h2, .list-item .entry-title { font-size: 28px; }
    .main-nav > ul > li > a { padding-left: 8px; padding-right: 8px; font-size: 13px; }
}
@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-inner { align-items: center; padding-bottom: 15px; }
    .logo img { width: 240px; }
    .mobile-menu { display: block; }
    .mobile-menu summary { list-style: none; cursor: pointer; padding: 10px; display: flex; flex-direction: column; gap: 5px; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary span { display: block; width: 26px; height: 3px; background: #342821; }
    .mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 6px 10px rgba(0, 0, 0, .15); padding: 10px 20px 20px; }
    .mobile-menu nav a { display: block; padding: 10px 0; border-bottom: 1px dotted #cacaca; color: #342821; font-weight: 600; text-transform: uppercase; font-size: 15px; }
    .mobile-menu nav a.mobile-sub { padding-left: 15px; color: #666; font-weight: 400; text-transform: none; }
    .site-main { margin-top: 30px; }
    .with-sidebar { display: block; }
    .sidebar { padding: 30px 0 0; max-width: 400px; }
}
@media (max-width: 767px) {
    .columns, .pricing { flex-direction: column; gap: 0; }
    .content .toc ul { columns: 1; }
    .content ul { margin-left: 20px; }
    .not-found { flex-direction: column; align-items: flex-start; gap: 0; }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
    body { font-size: 16px; }
    h1, .entry-title { font-size: 30px; }
    h2, .list-item .entry-title { font-size: 25px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    .content td, .content th { padding: 8px; }
    .band { padding: 25px 15px; }
}
