/*
Theme Name: Sudokuspel
Theme URI: https://sudokuspel.se/
Author: Kim Skov Hilding
Description: Lekfullt tema för sudokuspel.se med inbyggt sudokuspel (Dagens Sudoku, highscore, streak, mærker, blogkort og regelside). Sætter sig selv op ved aktivering. Pluginet Sudokuspil Game er ikke nødvendigt. Skrifttypen Fredoka hostes lokalt.
Version: 2.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sudokuspel
*/

@font-face {
  font-family: "SSG Fredoka";
  src: url("assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --sp-paper: #FFF8EC;
  --sp-card: #FFFFFF;
  --sp-ink: #1E2A44;
  --sp-muted: #5B6478;
  --sp-line: #E8E1D2;
  --sp-accent: #C2410C;
  --sp-accent-ink: #9A3412;
  --sp-sun: #FFC83D;
  --sp-sun-soft: #FFF1C7;
  --sp-mint: #12A189;
  --sp-mint-soft: #E3F6F2;
  --sp-lilac: #7B5CE0;
  --sp-lilac-soft: #F0EBFF;
  --sp-pink: #F25C8A;
  --sp-fun: "SSG Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --sp-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sp-wrap: 1240px;
  --sp-shadow: 0 5px 0 var(--sp-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sp-paper); color: var(--sp-ink); font-family: var(--sp-text); font-size: 17px; line-height: 1.6; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sp-accent); text-underline-offset: 3px; }
a:hover { color: var(--sp-accent-ink); }
h1, h2, h3, h4 { font-family: var(--sp-fun); font-weight: 600; line-height: 1.15; color: var(--sp-ink); margin: 1.6em 0 .5em; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 22px; }
:focus-visible { outline: 3px solid var(--sp-lilac); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px; background: var(--sp-sun); color: var(--sp-ink); padding: 10px 16px; border: 2px solid var(--sp-ink); border-radius: 10px; font-weight: 700; }
.sp-wrap { max-width: var(--sp-wrap); margin: 0 auto; padding: 0 24px; }
.sp-narrow { max-width: 808px; }

/* Knapper */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 2px solid var(--sp-ink); border-radius: 12px; background: var(--sp-card); color: var(--sp-ink); font-family: var(--sp-fun); font-weight: 600; font-size: 17px; text-decoration: none; box-shadow: 0 4px 0 var(--sp-ink); transition: transform .08s, box-shadow .08s; cursor: pointer; }
.sp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sp-ink); color: var(--sp-ink); }
.sp-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sp-ink); }
.sp-btn-accent, .sp-btn-accent:hover { background: var(--sp-accent); color: #fff; }
.sp-btn-sun, .sp-btn-sun:hover { background: var(--sp-sun); color: var(--sp-ink); }
.sp-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 2px solid var(--sp-ink); border-radius: 999px; background: var(--sp-card); color: var(--sp-ink); font-family: var(--sp-fun); font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .1s; }
.sp-chip:hover { transform: rotate(-2deg) scale(1.04); color: var(--sp-ink); background: var(--sp-sun-soft); }
.sp-chip.is-on { background: var(--sp-accent); color: #fff; }

/* Sidehoved */
.sp-header { position: sticky; top: 0; z-index: 50; background: var(--sp-card); border-bottom: 2px solid var(--sp-ink); }
.admin-bar .sp-header { top: 32px; }
.sp-header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.sp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--sp-ink); text-decoration: none; flex: none; }
.sp-brand:hover { color: var(--sp-ink); }
.sp-brand:hover .sp-logo-mark { transform: rotate(-8deg) scale(1.06); }
.sp-logo-mark { transition: transform .15s; display: block; }
.sp-brand-name { font-family: var(--sp-fun); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.custom-logo { max-height: 48px; width: auto; display: block; }
.sp-nav { flex: 1 1 auto; }
.sp-menu, .sp-menu ul { list-style: none; margin: 0; padding: 0; }
.sp-menu { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.sp-menu > li { position: relative; }
.sp-menu a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--sp-ink); text-decoration: none; font-family: var(--sp-fun); font-weight: 600; font-size: 17px; border: 2px solid transparent; transition: background-color .12s, transform .12s; }
.sp-menu a:hover { background: var(--sp-sun-soft); transform: rotate(-2deg); color: var(--sp-ink); }
.sp-menu .current-menu-item > a, .sp-menu .current_page_item > a, .sp-menu .current-menu-ancestor > a { background: var(--sp-ink); color: #fff; }
.sp-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--sp-card); border: 2px solid var(--sp-ink); border-radius: 14px; box-shadow: var(--sp-shadow); padding: 6px; z-index: 10; }
.sp-menu li:hover > .sub-menu, .sp-menu li:focus-within > .sub-menu { display: block; }
.sp-menu .sub-menu a { border-radius: 10px; }
.sp-menu-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--sp-ink); border-radius: 12px; background: var(--sp-sun); color: var(--sp-ink); font-family: var(--sp-fun); font-weight: 600; font-size: 16px; box-shadow: 0 3px 0 var(--sp-ink); cursor: pointer; }
.sp-streak { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 2px solid var(--sp-ink); border-radius: 999px; background: var(--sp-sun-soft); color: var(--sp-accent-ink); font-family: var(--sp-fun); font-weight: 700; font-size: 15px; text-decoration: none; }
.sp-streak[hidden] { display: none; }
.sp-streak svg { color: var(--sp-accent); }
.sp-stripe { height: 6px; background: repeating-linear-gradient(90deg, var(--sp-accent) 0 60px, var(--sp-sun) 60px 120px, var(--sp-pink) 120px 180px, var(--sp-mint) 180px 240px, var(--sp-lilac) 240px 300px); }

/* Indhold */
.sp-main { padding-bottom: 72px; }
.sp-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 8px; }
.sp-hero h1 { margin: 0; }
.sp-hero p { margin: 10px 0 0; font-size: 19px; color: var(--sp-muted); max-width: 640px; }
.sp-hero-tiles { display: flex; gap: 10px; flex: none; }
.sp-hero-tiles span, .sp-cta-tiles span { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--sp-ink); border-radius: 14px; box-shadow: 0 4px 0 var(--sp-ink); font-family: var(--sp-fun); font-weight: 700; font-size: 28px; color: #fff; }
.sp-hero-tiles span:nth-child(1), .sp-cta-tiles span:nth-child(1) { background: var(--sp-accent); transform: rotate(-8deg); }
.sp-hero-tiles span:nth-child(2), .sp-cta-tiles span:nth-child(2) { background: var(--sp-sun); color: var(--sp-ink); transform: rotate(5deg) translateY(-8px); }
.sp-hero-tiles span:nth-child(3), .sp-cta-tiles span:nth-child(3) { background: var(--sp-mint); transform: rotate(-3deg); }
.sp-hero-tiles span:nth-child(4) { background: var(--sp-lilac); transform: rotate(9deg) translateY(-4px); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes sp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
  .sp-hero-tiles span { animation: sp-bob 3.2s ease-in-out infinite; }
  .sp-hero-tiles span:nth-child(2) { animation-delay: -.8s; }
  .sp-hero-tiles span:nth-child(3) { animation-delay: -1.6s; }
  .sp-hero-tiles span:nth-child(4) { animation-delay: -2.4s; }
}
.sp-front { padding-top: 24px; }

.sp-page-head { max-width: 760px; margin: 0 auto; padding: 44px 0 8px; }
.sp-page-head.is-game { max-width: none; }
.sp-page-head h1 { margin: 0; }
.sp-lead { font-size: 20px; color: var(--sp-muted); margin: 12px 0 0; }
.sp-content { max-width: 760px; margin: 0 auto; }
.sp-content > *:first-child { margin-top: 24px; }
.sp-content :where(p, li) { font-size: 18px; }
.sp-content :where(ul, ol) { padding-left: 1.3em; }
.sp-content :where(li) { margin: .35em 0; }
.sp-content :where(li)::marker { color: var(--sp-accent); font-weight: 700; }
.sp-content h2 { position: relative; }
.sp-content > h2::before { content: ""; display: block; width: 44px; height: 8px; margin-bottom: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--sp-accent) 0 33%, var(--sp-sun) 33% 66%, var(--sp-mint) 66%); }
.sp-content :where(blockquote) { margin: 28px 0; padding: 18px 22px; background: var(--sp-sun-soft); border: 2px solid var(--sp-ink); border-radius: 16px; box-shadow: var(--sp-shadow); font-family: var(--sp-fun); font-size: 21px; }
.sp-content :where(blockquote p) { font-size: inherit; margin: 0; }
.sp-content :where(img) { border-radius: 14px; }
.sp-content :where(figure:not(.ssg-demo figure)) { margin: 28px 0; }
.sp-content :where(figcaption:not(.ssg-demo figcaption)) { font-size: 14px; color: var(--sp-muted); text-align: center; margin-top: 8px; }
.sp-content :where(table:not(.ssg-table)) { width: 100%; border-collapse: collapse; border: 2px solid var(--sp-ink); border-radius: 12px; overflow: hidden; }
.sp-content :where(table:not(.ssg-table)) :where(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--sp-line); text-align: left; }
.sp-content :where(table:not(.ssg-table) th) { background: var(--sp-sun-soft); font-family: var(--sp-fun); }
.sp-content :where(code) { background: var(--sp-lilac-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.sp-content > .alignwide { max-width: none; margin-left: calc(50% - min(50vw - 24px, 596px)); margin-right: calc(50% - min(50vw - 24px, 596px)); }
.sp-content > .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.sp-content-wide { max-width: none; }
.sp-content-wide > .alignwide { margin-left: 0; margin-right: 0; }
.sp-content-wide > *:not(.alignwide):not(.alignfull):not(.ssg):not(.ssg-root):not(.sp-ad) { max-width: 760px; }
.sp-front .sp-content-wide > .ssg-root:first-child, .sp-front .sp-content-wide > .ssg:first-child { margin-top: 8px; }
.sp-front .sp-content-wide > .ssg, .sp-front .sp-content-wide > .ssg-root { margin-bottom: 56px; }

/* Kort */
.sp-blog-head { max-width: none; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; margin-top: 32px; }
.sp-card { display: flex; flex-direction: column; background: var(--sp-card); border: 2px solid var(--sp-ink); border-radius: 18px; overflow: hidden; box-shadow: var(--sp-shadow); color: var(--sp-ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.sp-card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 9px 0 var(--sp-ink); color: var(--sp-ink); }
.sp-card:nth-child(3n+2):hover { transform: translateY(-4px) rotate(.6deg); }
.sp-card-img { aspect-ratio: 16 / 9; border-bottom: 2px solid var(--sp-ink); overflow: hidden; background: var(--sp-sun-soft); }
.sp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.sp-card-art { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr); font-family: var(--sp-fun); font-weight: 700; font-size: 28px; }
.sp-card-art span { display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(30, 42, 68, .14); border-bottom: 1px solid rgba(30, 42, 68, .14); }
.sp-card-art span:nth-child(3n+1) { color: var(--sp-accent); }
.sp-card-art span:nth-child(3n+2) { color: #0B6E5D; }
.sp-card-art span:nth-child(3n) { color: var(--sp-lilac); }
.sp-card-art-0 { background: var(--sp-sun-soft); }
.sp-card-art-1 { background: var(--sp-mint-soft); }
.sp-card-art-2 { background: var(--sp-lilac-soft); }
.sp-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.sp-card-meta { font-size: 14px; color: var(--sp-muted); }
.sp-card-title { margin: 0; font-size: 22px; }
.sp-card-excerpt { margin: 0; color: var(--sp-muted); font-size: 16px; }
.sp-card-more { margin-top: auto; padding-top: 6px; font-family: var(--sp-fun); font-weight: 600; color: var(--sp-accent); }

.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 2px solid var(--sp-ink); border-radius: 12px; background: var(--sp-card); color: var(--sp-ink); text-decoration: none; font-family: var(--sp-fun); font-weight: 600; box-shadow: 0 3px 0 var(--sp-ink); }
.nav-links .page-numbers.current { background: var(--sp-ink); color: #fff; }
.nav-links .dots { border: 0; box-shadow: none; background: none; }

/* Indlæg */
.sp-single-head { max-width: 760px; margin: 0 auto; padding-top: 48px; text-align: center; }
.sp-single-head h1 { margin: 18px 0 10px; }
.sp-single-meta { color: var(--sp-muted); margin: 0; }
.sp-single-img { max-width: 1000px; margin: 32px auto 0; }
.sp-single-img img { display: block; width: 100%; border: 2px solid var(--sp-ink); border-radius: 20px; box-shadow: 0 6px 0 var(--sp-ink); }
.sp-cta { max-width: 760px; margin: 48px auto 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 24px; background: var(--sp-ink); color: #FFF8EC; border: 2px solid var(--sp-ink); border-radius: 20px; box-shadow: 0 6px 0 var(--sp-accent); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.sp-cta h2 { margin: 0 0 4px; color: #fff; font-size: 24px; }
.sp-cta p { margin: 0; color: #D3D8E3; font-size: 16px; }
.sp-cta-tiles { display: flex; gap: 6px; }
.sp-cta-tiles span { width: 40px; height: 40px; font-size: 20px; border-color: #0B1222; box-shadow: 0 3px 0 #0B1222; }
.sp-cta .sp-btn { border-color: #0B1222; box-shadow: 0 4px 0 #0B1222; }
.sp-tags { max-width: 760px; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-tags a { padding: 4px 12px; border: 2px dashed var(--sp-ink); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--sp-ink); }
.sp-related { margin-top: 72px; }
.sp-related h2 { margin: 0; }

/* Annoncer: fast minimumshøjde så indholdet ikke hopper */
.sp-ad { position: relative; margin: 40px auto; min-height: 120px; text-align: center; }
.sp-ad-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sp-muted); margin-bottom: 6px; }
.sp-ad-ad-in-post { min-height: 280px; }

/* 404 og tom */
.sp-404 { max-width: 640px; text-align: center; padding-top: 64px; }
.sp-404 h1 { margin: 28px 0 10px; }
.sp-404-grid { display: inline-grid; grid-template-columns: repeat(3, 72px); border: 3px solid var(--sp-ink); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 0 var(--sp-ink); background: #fff; transform: rotate(-3deg); }
.sp-404-grid span { height: 72px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #D5D9E2; border-bottom: 1px solid #D5D9E2; font-family: var(--sp-fun); font-weight: 700; font-size: 36px; }
.sp-404-grid span:nth-child(1), .sp-404-grid span:nth-child(5) { color: var(--sp-accent); }
.sp-404-grid span:nth-child(3) { color: var(--sp-lilac); }
.sp-404-grid span:nth-child(7), .sp-404-grid span:nth-child(9) { color: var(--sp-mint); }
.sp-404-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.sp-empty { text-align: center; padding: 48px 0; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.search-form label { flex: 1; }
.search-field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--sp-ink); border-radius: 12px; font: inherit; background: #fff; color: var(--sp-ink); }
.search-submit, .comment-form .submit { min-height: 48px; padding: 0 18px; border: 2px solid var(--sp-ink); border-radius: 12px; background: var(--sp-accent); color: #fff; font-family: var(--sp-fun); font-weight: 600; font-size: 16px; box-shadow: 0 3px 0 var(--sp-ink); cursor: pointer; }

/* Kommentarer */
.sp-comments { margin-top: 56px; }
.sp-comment-list { list-style: none; padding: 0; }
.sp-comment-list .comment-body { background: var(--sp-card); border: 2px solid var(--sp-ink); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.sp-comment-list .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }

/* Sidefod */
.sp-footer { position: relative; background: var(--sp-ink); color: #D3D8E3; margin-top: 24px; padding: 56px 0 0; font-size: 16px; }
.sp-footer-dots { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.sp-footer-dots span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--sp-ink); }
.sp-footer-dots span:nth-child(1) { background: var(--sp-accent); }
.sp-footer-dots span:nth-child(2) { background: var(--sp-sun); }
.sp-footer-dots span:nth-child(3) { background: var(--sp-pink); }
.sp-footer-dots span:nth-child(4) { background: var(--sp-mint); }
.sp-footer-dots span:nth-child(5) { background: var(--sp-lilac); }
.sp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.sp-footer .sp-brand, .sp-footer .sp-brand:hover { color: #fff; }
.sp-footer-about p { max-width: 420px; margin: 14px 0 20px; }
.sp-footer h2 { margin: 0 0 12px; font-size: 20px; color: #fff; }
.sp-footer ul { list-style: none; margin: 0; padding: 0; }
.sp-footer li { margin: 6px 0; }
.sp-footer a { color: #FFF8EC; text-decoration: none; }
.sp-footer a:hover { color: var(--sp-sun); text-decoration: underline; }
.sp-footer .sp-btn-sun { color: var(--sp-ink); border-color: #0B1222; box-shadow: 0 4px 0 #0B1222; text-decoration: none; }
.sp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }

/* WordPress-klasser */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--sp-muted); }
.has-ink-color { color: var(--sp-ink); } .has-ink-background-color { background-color: var(--sp-ink); }
.has-accent-color { color: var(--sp-accent); } .has-accent-background-color { background-color: var(--sp-accent); }
.has-sun-color { color: var(--sp-sun); } .has-sun-background-color { background-color: var(--sp-sun); }
.has-mint-color { color: var(--sp-mint); } .has-mint-background-color { background-color: var(--sp-mint); }
.has-lilac-color { color: var(--sp-lilac); } .has-lilac-background-color { background-color: var(--sp-lilac); }
.has-pink-color { color: var(--sp-pink); } .has-pink-background-color { background-color: var(--sp-pink); }
.has-paper-color { color: var(--sp-paper); } .has-paper-background-color { background-color: var(--sp-paper); }
.has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }
.wp-block-button__link { border: 2px solid var(--sp-ink); border-radius: 12px; box-shadow: 0 4px 0 var(--sp-ink); font-family: var(--sp-fun); font-weight: 600; background: var(--sp-accent); color: #fff; }
.wp-block-separator { border: 0; height: 8px; max-width: 120px; margin: 40px auto; border-radius: 99px; background: linear-gradient(90deg, var(--sp-accent) 0 33%, var(--sp-sun) 33% 66%, var(--sp-mint) 66%); }

/* Mobil */
@media (max-width: 960px) {
  .sp-menu-toggle { display: inline-flex; }
  .sp-header-inner { flex-wrap: wrap; gap: 12px; min-height: 68px; }
  .sp-nav { display: none; flex-basis: 100%; padding-bottom: 14px; order: 4; }
  .sp-nav-open .sp-nav { display: block; }
  .sp-menu { flex-direction: column; align-items: stretch; }
  .sp-menu a { padding: 12px 16px; border: 2px solid var(--sp-ink); border-radius: 12px; background: var(--sp-card); margin-bottom: 6px; box-shadow: 0 3px 0 var(--sp-ink); }
  .sp-menu a:hover { transform: none; }
  .sp-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .sp-streak { order: 2; }
  .sp-menu-toggle { order: 3; margin-left: 0; }
  .sp-brand { margin-right: auto; }
  .sp-hero-tiles { display: none; }
  .sp-footer-grid { grid-template-columns: 1fr 1fr; }
  .sp-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sp-wrap { padding: 0 16px; }
  .sp-brand-name { font-size: 20px; }
  .sp-streak-t { display: none; }
  .sp-hero { padding-top: 24px; }
  .sp-hero p { font-size: 17px; }
  .sp-content :where(p, li) { font-size: 17px; }
  .sp-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .sp-footer-grid { grid-template-columns: 1fr; }
  .sp-content > .alignwide { margin-left: 0; margin-right: 0; }
}
@media screen and (max-width: 782px) { .admin-bar .sp-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .sp-header { top: 0; position: relative; } }

/* Forsidens automatiske sektioner */
.sp-game-area { padding-top: 20px; }
.sp-front-blog { margin-top: 56px; }
.sp-front { padding-top: 8px; }
.sp-front-text { margin-top: 48px; }
.sp-front-text > *:first-child { margin-top: 0; }
.sp-front-badges { margin-top: 56px; }

/* Plads til streak-mærket i sidehovedet uden at menuen brydes */
.sp-menu { flex-wrap: nowrap; }
.sp-menu a { padding: 8px 12px; font-size: 16px; white-space: nowrap; }
@media (max-width: 1320px) { .sp-streak-t { display: none; } }
@media (min-width: 961px) and (max-width: 1160px) { .sp-menu a { padding: 8px 8px; font-size: 15px; } .sp-brand-name { font-size: 21px; } }
@media (min-width: 961px) and (max-width: 1180px) { .sp-streak { display: none; } }
