/* Variant E "Kafeneio": a Greek kafeneio table. Blue shop sign with a checker-and-cup mark, checked tablecloth strips,
   an open tavli board in the hero, guides as points on a tavli board (felt, wooden frame, red and amber triangles),
   games as the cafe's slate menu board, a wooden 21+ box with worry beads, a blue footer. */
:root {
	--nmk-wall: #f7f4ec; --nmk-wall2: #ece6d8; --nmk-blue: #1a4f8f; --nmk-blue2: #0f3463; --nmk-sea: #d6e4f2;
	--nmk-wood: #8a5a2b; --nmk-wood2: #5b3a1a; --nmk-felt: #2f5e46; --nmk-felt2: #244a37; --nmk-red: #b8392b;
	--nmk-cream: #f1e4c6; --nmk-amber: #d98a1c; --nmk-ink: #1d2430; --nmk-ink2: #434b58;
	--nmk-karo: conic-gradient(var(--nmk-blue) 25%, #fff 0 50%, var(--nmk-blue) 0 75%, #fff 0) 0 0 / 28px 28px;
}
body { font-size: 1.125rem; line-height: 1.58; overflow-wrap: break-word; }
h1, h2, h3 { color: var(--nmk-blue2); letter-spacing: -0.005em; }
:focus-visible { outline: 3px solid var(--nmk-amber); outline-offset: 3px; }
.nmk-head :focus-visible, .nmk-foot :focus-visible, .nmk-stats :focus-visible, .simeioma-frontidas :focus-visible,
.wp-block-post-content > .theseis-tavliou ~ .theseis-tavliou :focus-visible { outline-color: #fff; }
.wp-site-blocks > .nmk-hero, .wp-site-blocks > .nmk-band { margin-block-start: 0; }

/* Header: the blue shop sign, not sticky (the cloth strip under it would take too much of a phone screen) */
.nmk-head { position: relative; top: auto; z-index: 50; background: var(--nmk-blue) !important; color: #fff; box-shadow: none; }
.nmk-sign { width: 100%; min-height: 60px; gap: 0.875rem; }
.nmk-head .wp-block-site-title { margin: 0; flex: 0 1 auto; min-width: 0; font-size: inherit; }
.nmk-head .wp-block-site-title a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: #fff; text-decoration: none; text-transform: uppercase; font: 800 1.8125rem/1.02 var(--wp--preset--font-family--heading); letter-spacing: 0.02em; }
/* the mark: a cream checker with a brown ring and a red centre, as on the sign of the concept */
.nmk-head .wp-block-site-title a::before { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%;
	background: radial-gradient(circle, var(--nmk-red) 0 3.5px, var(--nmk-cream) 4px 8.5px, var(--nmk-wood2) 9px 12px, var(--nmk-cream) 12.5px 16.5px, #fff 17px 19px, transparent 19.5px); }
.nmk-head .wp-block-navigation__container { gap: 0; }
.nmk-head .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item a { min-height: 44px; padding: 0 11px; color: #fff; font: 800 1.125rem/1 var(--wp--preset--font-family--heading); letter-spacing: 0.02em; }
.nmk-head .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item a:hover { background: var(--nmk-blue2); }
/* menu button: a white plaque with a red checker */
.nmk-head .wp-block-navigation button.wp-block-navigation__responsive-container-open { align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 0; background: #fff; color: var(--nmk-blue2); font: 800 1.25rem/1 var(--wp--preset--font-family--heading); text-transform: uppercase; letter-spacing: 0.02em; }
.nmk-head .wp-block-navigation button.wp-block-navigation__responsive-container-open::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--nmk-red); box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--nmk-red); }
.nmk-head .wp-block-navigation button.wp-block-navigation__responsive-container-open:hover { background: var(--nmk-sea); }
.nmk-head .wp-block-navigation button.wp-block-navigation__responsive-container-open:focus-visible { outline-color: var(--nmk-amber); }
/* the open menu: a white card under the button with a blue frame and an amber offset shadow */
.nmk-head .wp-block-navigation__responsive-container.is-menu-open { box-sizing: border-box; top: 12px; right: 12px; left: auto; bottom: auto; width: min(320px, calc(100vw - 32px)); height: auto; max-height: calc(100vh - 32px); overflow-y: auto; padding: 0.5rem; background: #fff !important; color: var(--nmk-ink) !important; border: 3px solid var(--nmk-blue2); box-shadow: 8px 8px 0 var(--nmk-amber); }
.nmk-head .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
.nmk-head .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.nmk-head .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: stretch !important; gap: 0 !important; width: 100%; }
.nmk-head .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 10px; border-bottom: 1px solid var(--nmk-wall2); color: var(--nmk-ink); font: 700 1.125rem/1.2 var(--wp--preset--font-family--system); }
.nmk-head .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child a { border-bottom: 0; }
.nmk-head .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover { background: var(--nmk-sea); }
.nmk-head .wp-block-navigation__responsive-container.is-menu-open :focus-visible { outline-color: var(--nmk-amber); }
.nmk-head .wp-block-navigation button.wp-block-navigation__responsive-container-close { display: flex; align-items: center; justify-content: center; top: 0.5rem; right: 0.5rem; min-width: 44px; min-height: 44px; padding: 0 12px; border: 2px solid var(--nmk-blue2); border-radius: 0; background: #fff; color: var(--nmk-blue2); font: 800 1rem/1 var(--wp--preset--font-family--heading); text-transform: uppercase; }
/* six links and the long name need room: below 1000 px the button is used (the block itself switches at 600 px) */
@media (min-width: 600px) and (max-width: 999px) {
	.nmk-head .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.nmk-head .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 640px) {
	.nmk-head .wp-block-site-title a { gap: 9px; font-size: 1.4375rem; }
	.nmk-head .wp-block-site-title a::before { width: 30px; height: 30px; background: radial-gradient(circle, var(--nmk-red) 0 2.75px, var(--nmk-cream) 3.25px 6.5px, var(--nmk-wood2) 7px 9.5px, var(--nmk-cream) 10px 13px, #fff 13.5px 15px, transparent 15.5px); }
	.nmk-head .wp-block-navigation button.wp-block-navigation__responsive-container-open { padding: 0 14px; font-size: 1.125rem; }
}

/* Checked tablecloth strips (decoration only) */
.nmk-cloth { height: 28px; margin: 0; background: var(--nmk-karo); }

/* Hero: text beside the kafeneio table with the open tavli board; the three facts on a wooden band */
.nmk-hero { color: var(--nmk-ink); background-color: #fff; background-image: linear-gradient(#fff, var(--nmk-wall)); padding: clamp(1.75rem, 5vw, 2.875rem) 1rem 0; }
.nmk-hero .nmk-inner { max-width: 71.25rem; display: grid; grid-template-columns: minmax(0, 1fr); }
.nmk-hero .nmk-inner > * { margin: 0; }
.nmk-badge { order: 1; justify-self: start; padding: 4px 12px; border-radius: 0; background: var(--nmk-red); color: #fff; font: 800 1.0625rem/1.2 var(--wp--preset--font-family--heading); letter-spacing: 0.06em; text-transform: uppercase; }
.nmk-hero h1 { order: 2; margin: 0.875rem 0 1rem !important; color: var(--nmk-blue2); font-size: clamp(2.375rem, 5.6vw, 4rem); line-height: 0.98; }
.nmk-hero .wp-block-post-excerpt { order: 3; max-width: 34rem; color: var(--nmk-ink2); opacity: 1; font-size: 1.25rem; line-height: 1.5; }
.nmk-ornament { order: 4; width: 100%; max-width: 520px; justify-self: center; margin-top: 1.75rem !important; }
.nmk-ornament svg { display: block; width: 100%; height: auto; }
.nmk-stats { order: 5; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px !important; padding: 26px 0; background: var(--nmk-wood2); color: #fff;
	box-shadow: 0 0 0 100vmax var(--nmk-wood2); clip-path: inset(-28px -100vmax 0); }
.nmk-stats::before { content: ""; position: absolute; left: -100vmax; right: -100vmax; top: -28px; height: 28px; background: var(--nmk-karo); }
.nmk-stat { display: flex; align-items: center; gap: 14px; margin: 0; }
.nmk-stat strong { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--nmk-cream); color: var(--nmk-wood2); font: 800 1.5625rem/1 var(--wp--preset--font-family--heading);
	box-shadow: inset 0 0 0 4px var(--nmk-wood2), inset 0 0 0 7px var(--nmk-cream), inset 0 0 0 9px var(--nmk-wood); }
.nmk-stat:nth-child(2) strong { background: var(--nmk-red); color: #fff; box-shadow: inset 0 0 0 4px var(--nmk-wood2), inset 0 0 0 7px var(--nmk-red), inset 0 0 0 9px #e9a397; }
.nmk-stat span { font-size: 1.03125rem; line-height: 1.4; color: #f3e9d8; }
@media (min-width: 900px) {
	.nmk-hero .nmk-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: auto auto 1fr auto; column-gap: 28px; }
	.nmk-badge { grid-column: 1; grid-row: 1; }
	.nmk-hero h1 { grid-column: 1; grid-row: 2; }
	.nmk-hero .wp-block-post-excerpt { grid-column: 1; grid-row: 3; padding-bottom: 46px; }
	.nmk-ornament { grid-column: 2; grid-row: 1 / span 3; align-self: end; max-width: none; margin-top: 0 !important; }
	.nmk-stats { grid-column: 1 / -1; grid-row: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px !important; }
}

/* Page band: white board with the tablecloth strip along the bottom */
.nmk-band { position: relative; padding: clamp(1.75rem, 4vw, 2.5rem) 1rem calc(1.75rem + 28px); background: #fff; border-bottom: 0; }
.nmk-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: var(--nmk-karo); }
.nmk-band h1 { color: var(--nmk-blue2); font-size: clamp(2rem, 5.4vw, 3.25rem); line-height: 1.02; }
.nmk-band .wp-block-post-excerpt { margin-top: 0.875rem !important; color: var(--nmk-ink2); font-size: 1.1875rem; line-height: 1.5; }

/* Content */
.wp-block-post-content > h2 { margin-top: 3.25rem; margin-bottom: 0.5rem; color: var(--nmk-blue2); font-size: clamp(2rem, 4.4vw, 3.125rem); line-height: 1.02; }
.wp-block-post-content > h3 { margin-top: 1.75rem; color: var(--nmk-blue2); font-size: 1.4375rem; line-height: 1.15; }
.wp-block-post-content a { color: var(--nmk-blue); text-decoration-thickness: 2px; }
.wp-block-post-content a:hover { color: var(--nmk-blue2); text-decoration-color: var(--nmk-amber); }
.wp-block-post-content ul li::marker { color: var(--nmk-red); }
.wp-block-post-content ol li::marker { color: var(--nmk-blue); }
.wp-block-post-content strong { color: var(--nmk-ink); }

/* "Updated" line: bold with a small red checker in front */
.imerominia-elegchou { width: fit-content; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; display: flex; align-items: center; gap: 10px; padding: 0; border-radius: 0; background: transparent; color: var(--nmk-ink); font-weight: 700; font-size: 1.0625rem; }
.imerominia-elegchou::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--nmk-red); box-shadow: inset 0 0 0 3px var(--nmk-wall), 0 0 0 2px var(--nmk-red); }

/* Guides as points on a tavli board: felt in a wooden frame, a red or amber triangle and a numbered checker on each card */
.wp-block-post-content > .wp-block-list.theseis-tavliou { max-width: 64rem; counter-reset: nmk-pt; gap: 12px; margin-top: 1.5rem; padding: 10px; background: var(--nmk-felt); border: 8px solid var(--nmk-wood); border-radius: 10px;
	outline: 4px solid var(--nmk-wood2); outline-offset: -4px; box-shadow: inset 0 0 0 3px var(--nmk-felt2), 0 10px 0 var(--nmk-wood2); }
.wp-block-list.theseis-tavliou li { position: relative; counter-increment: nmk-pt; }
.wp-block-list.theseis-tavliou li::before { content: counter(nmk-pt); position: absolute; left: 18px; top: 14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nmk-ink); color: #fff; font: 800 1.25rem/1 var(--wp--preset--font-family--heading); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--nmk-ink); pointer-events: none; }
.wp-block-list.theseis-tavliou a { position: relative; box-sizing: border-box; height: 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 0; padding: 78px 18px 18px; background: #fff; border: 0; border-radius: 4px; box-shadow: none; color: var(--nmk-blue2); font: 700 1.25rem/1.25 var(--wp--preset--font-family--system); }
.wp-block-list.theseis-tavliou a::before { content: ""; position: absolute; left: 50%; top: 0; width: 96px; height: 64px; margin-left: -48px; background: var(--nmk-red); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.wp-block-list.theseis-tavliou li:nth-child(2n) a::before { background: var(--nmk-amber); }
.wp-block-list.theseis-tavliou a::after { content: "\394\3b9\3b1\3b2\3ac\3c3\3c4\3b5" / ""; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: var(--nmk-blue); color: #fff; font: 800 1.0625rem/1 var(--wp--preset--font-family--heading); letter-spacing: 0.04em; text-transform: uppercase; }
.wp-block-list.theseis-tavliou a:hover { transform: translateY(-2px); border-color: transparent; box-shadow: 0 4px 0 var(--nmk-felt2); color: var(--nmk-blue2); }
.wp-block-list.theseis-tavliou a:hover::after { background: var(--nmk-blue2); }
@media (min-width: 600px) { .wp-block-post-content > .wp-block-list.theseis-tavliou { gap: 16px; padding: 16px; border-width: 16px; } }
@media (min-width: 900px) { .wp-block-post-content > .wp-block-list.theseis-tavliou { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* A second link list on the same page (the games on the home page) is the cafe's slate menu board */
.wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou { counter-reset: none; gap: 0 40px; padding: 16px 18px; background: var(--nmk-blue2); border: 8px solid var(--nmk-wood); border-radius: 6px; outline: 0; box-shadow: none; }
.wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou li::before { content: none; }
.wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou a { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; min-height: 48px; padding: 10px 0; background: transparent; border-radius: 0; color: #fff; font: 700 1.1875rem/1.3 var(--wp--preset--font-family--system); }
.wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou a::before { content: "\2192" / ""; position: static; order: 3; width: auto; height: auto; margin: 0; background: none; clip-path: none; color: #ffd08a; font-weight: 700; }
.wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou a::after { content: ""; order: 2; flex: 1 1 1.5rem; min-width: 1.5rem; min-height: 0; height: 0; padding: 0; background: none; border-bottom: 3px dotted #8fb0d8; transform: translateY(-4px); }
.wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou a:hover { transform: none; box-shadow: none; color: #ffd08a; }
.wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou a:hover::after { background: none; }
@media (min-width: 600px) { .wp-block-post-content > .theseis-tavliou ~ .wp-block-list.theseis-tavliou { grid-template-columns: 1fr 1fr; padding: 26px 28px; border-width: 8px; } }

/* Tables: a white card with a blue frame and a sea-blue offset shadow */
.wp-block-table { background: #fff; border: 3px solid var(--nmk-blue2); border-radius: 0; box-shadow: 6px 6px 0 var(--nmk-sea); }
.wp-block-table thead th { background: var(--nmk-blue); color: #fff; font: 800 0.9375rem/1.25 var(--wp--preset--font-family--heading); letter-spacing: 0.04em; }
.wp-block-table th, .wp-block-table td { border-bottom-color: var(--nmk-wall2); }
.wp-block-table tbody tr:nth-child(even) td { background: var(--nmk-wall); }
.wp-block-table table, .wp-block-table table.has-fixed-layout { font-size: 1rem; }
@media (max-width: 600px) { .wp-block-table table { font-size: 1rem; } .wp-block-table tbody td:first-child { background: #fff; } .wp-block-table tbody tr:nth-child(even) td:first-child { background: var(--nmk-wall); } }

/* Images */
.wp-block-image img { display: block; height: auto; border: 3px solid var(--nmk-blue2); box-shadow: 6px 6px 0 var(--nmk-sea); background: #fff; }
.wp-block-image figcaption { margin-top: 0.875rem; color: var(--nmk-ink2); font-size: 1rem; text-align: left; }

/* age line: a cream label with a wooden checker */
.simansi-enilikon { box-sizing: border-box; display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; border-top: 0; background: var(--nmk-cream); color: var(--nmk-wood2); font-size: 1.0625rem; }
.simansi-enilikon::before { content: "21+"; width: 2.75rem; height: 2.75rem; border: 0; background: var(--nmk-wood2); color: var(--nmk-cream); font: 800 1rem/1 var(--wp--preset--font-family--heading); box-shadow: inset 0 0 0 3px var(--nmk-wood2), inset 0 0 0 5px var(--nmk-cream); flex: none; margin: 0; }

/* Help box (drafts' "> ..." lines): the wooden 21+ box with worry beads round the checker */
.simeioma-frontidas { position: relative; margin-top: 2.75rem; padding: 22px 18px; background: var(--nmk-wood2); color: #f3e9d8; border: 0; border-radius: 10px; font-size: 1.0625rem; }
.simeioma-frontidas::before { content: "21+"; box-sizing: border-box; display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 14px; padding: 5px; border: 9px dotted var(--nmk-amber); border-radius: 50%; background: var(--nmk-cream); background-clip: content-box; color: var(--nmk-wood2); font: 800 1.5rem/1 var(--wp--preset--font-family--heading); }
.simeioma-frontidas strong, .wp-block-post-content .simeioma-frontidas strong { color: #fff; }
.simeioma-frontidas a, .wp-block-post-content .simeioma-frontidas a { color: #ffd08a; text-decoration-color: #ffd08a; font-weight: 700; }
.wp-block-post-content .simeioma-frontidas a:hover { color: #fff; }
.simeioma-frontidas li::marker { color: var(--nmk-amber) !important; }
@media (min-width: 600px) {
	.simeioma-frontidas { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 26px; padding: 28px; }
	.simeioma-frontidas > * { grid-column: 2; }
	.simeioma-frontidas::before { grid-column: 1; grid-row: 1 / span 6; width: 110px; height: 110px; margin: 0; font-size: 1.75rem; }
}
.nmk-rg { border-radius: 10px; }

/* Search and 404 */
.wp-block-search__input { min-height: 48px; border: 3px solid var(--nmk-blue2); border-radius: 0; background: #fff; font-size: 1.0625rem; }
.wp-block-search__button { min-height: 48px; border: 0; border-radius: 0; background: var(--nmk-red); color: #fff; font: 800 1.125rem/1 var(--wp--preset--font-family--heading); text-transform: uppercase; letter-spacing: 0.04em; }

/* Footer: the blue sign again, with the tablecloth strip on top */
.nmk-foot { position: relative; margin-top: 4rem !important; padding-top: calc(28px + 2rem) !important; background: var(--nmk-blue); color: #fff; font-size: 1rem; }
.nmk-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 28px; background: var(--nmk-karo); }
.nmk-foot p, .nmk-foot .has-small-font-size { font-size: 1rem; line-height: 1.55; }
.nmk-foot a { color: #fff; font-weight: 700; }
.nmk-foot .nmk-wordmark { color: #fff; font: 800 1.75rem/1.1 var(--wp--preset--font-family--heading); text-transform: uppercase; letter-spacing: 0.02em; }
.nmk-foot .nmk-note { color: #dbe6f4; font-size: 1rem; }
/* the footer age mark (21+ from the config) as a round checker */
.nmk-age { display: flow-root; }
.nmk-age > strong:first-child { float: left; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0 0.75rem 0.25rem 0; border-radius: 50%; background: var(--nmk-cream); color: var(--nmk-wood2); font: 800 1rem/1 var(--wp--preset--font-family--heading); vertical-align: middle; box-shadow: inset 0 0 0 3px var(--nmk-wood2), inset 0 0 0 5px var(--nmk-cream), 0 0 0 2px #fff; }
.nmk-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; margin-top: 0.75rem !important; }
.nmk-links a { min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-color: #8fb0d8; text-underline-offset: 0.22em; }
.nmk-links a:hover { text-decoration-color: #fff; }
@media (min-width: 782px) { .nmk-links { display: flex; flex-wrap: wrap; column-gap: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .wp-block-list.theseis-tavliou a { transition: none; } .wp-block-list.theseis-tavliou a:hover { transform: none; } }
