header img {
  height: 60px;
  width: auto;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
}
header {
  background: #2d9e7a;
  color: white;
  padding: 15px;
  text-align: center;
}
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: #333;
  padding: 10px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}
main {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}
.card {
  background: white;
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-title {
  margin-top: 32px; margin-bottom: 12px;
  font-size: 1.2rem; color: #2d9e7a;
  border-bottom: 2px solid #eee; padding-bottom: 6px;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.btn { display:inline-block; padding:10px 14px; border-radius:6px; text-decoration:none; font-weight:bold; }
.btn-primary { background:#2d9e7a; color:#fff; }
.btn-primary:hover { background:#247b60; }

.pills { display:flex; gap:8px; flex-wrap:wrap; margin: 6px 0 12px; }
.pill { background:#eef6f3; color:#2d6a59; border-radius:999px; padding:6px 10px; font-size:12px; }

article {
  background: transparent;
  border: none;
  box-shadow: none;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.game-card {
  position: relative;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s;
}

.game-card:hover {
  transform: translateY(-5px);
}
.game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.game-card h3 {
  margin: 15px 0 10px;
}
.game-card p {
  margin: 0 15px 15px;
  font-size: 0.95em;
}
/* Samme knap-stil i kort OG i kategorilister */
/* Knap-stil til alle spil-knapper + 'Se alle' */
.game-card a,
.game-list-item a,
.btn-row a {
  display: inline-block;
  text-decoration: none;
  background: #2d9e7a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
}

/* Hover-effekt */
.game-card a:hover,
.game-list-item a:hover,
.btn-row a:hover {
  background: #247b60;
}


/* Justeringer til listevisning, så knappen står pænt til højre og uden ekstra bundmargin */
.game-list-item a {
  margin-left: auto;
  margin-bottom: 0;
}

/* Behold bundmargin i kort */
.game-card a {
  margin-bottom: 15px;
}

.do-wrap { 
  max-width: 860px !important; 
  margin: 28px auto 60px !important; 
  padding: 0 16px !important; 
}
main .do-card { 
  position: relative !important;
  background: #ffffffcc !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 24px !important;
  padding: clamp(18px, 4vw, 28px) !important;
  box-shadow: 0 12px 30px rgba(2, 6, 23, .06) !important;
  max-width: 860px;
  margin-left: auto; 
  margin-right: auto;
}

.do-card .do-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #2d9e7a !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  box-shadow: 0 6px 18px rgba(27,129,254,.25) !important;
}

.do-card .do-title {
  margin: 10px 0 4px !important;
  color: #0f172a !important;
  font-size: clamp(22px, 4vw, 28px) !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}
.do-card .do-date {
  color: #64748b !important;
  font-size: 14px !important;
  margin-bottom: 14px !important;
}

#doord, #ord {
  font-size: clamp(26px, 6vw, 42px) !important;
  font-weight: 900 !important;
  color: #111827 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}
#doord + p, #forklaring {
  font-size: clamp(16px, 2.4vw, 20px) !important;
  line-height: 1.6 !important;
  color: #334155 !important;
  text-align: center !important;
  margin-top: 6px !important;
}

.do-card .do-note {
  color: #64748b !important;
  font-size: 14px !important;
  text-align: center !important;
  margin-top: 8px !important;
}

.do-card .do-wordbox {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#doord, #ord {
  display: inline-block !important;
  text-align: center !important;
}

.do-wrap #ord {
  font-size: clamp(34px, 7.2vw, 58px) !important;
  display: inline-block !important;
  padding: 0 .2em !important;
  border-radius: 8px !important;
  text-align: center !important;
}
.do-wrap #ord::after {
  content: "";
  display: block;
  width: clamp(40px, 12vw, 120px);
  height: 4px;
  margin: 8px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #22d6ff, #ffb700);
  opacity: .9;
}

:root{
  --game-max-w: 1000px;
}

.game-shell{
  width: min(96%, var(--board-max-w, var(--game-max-w)));
  margin: 20px auto 60px;
  min-height: 560px;
}

.slide{
  min-width:100%;
  height:clamp(220px, 38vw, 420px);
  position:relative; scroll-snap-align:start;
  display:grid; place-items:center; background:#111; color:#fff;
}
.slide img{ width:100%; height:100%; object-fit:cover; }

.dots{ position:absolute; left:0; right:0; bottom:.8rem; display:flex; gap:.5rem; justify-content:center; }
.dots button{
  width:10px; height:10px; padding:0; border:0; border-radius:50%;
  background:#ffffff66; display:inline-block; line-height:0; cursor:pointer;
}
.dots button[aria-current="true"]{ background:#fff; 
}

.blog {
  padding: 20px 20px;
  max-width: 900px;
  margin: auto;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-card{
  display:flex;
  gap:20px;
  margin-bottom:40px;
  align-items:flex-start;
}

.blog-content h2{
  margin-top:0;
}

.blog-image img{
  width:200px;
  height:140px;
  object-fit:cover;
  border-radius:8px;
  display:block;
}

.blog-date{
color:#777;
font-size:0.9rem;
margin-bottom:8px;
}

.read-more{
font-weight:bold;
}

.article-image{
width:100%;
max-width:900px;
border-radius:10px;
margin-top: 25px;
margin-bottom:25px;
}

.site-footer {
  background-color: #f9fafb; /* meget lys grå */
  color: #1f2937;
  margin-top: 60px;
  padding: 40px 20px 20px;
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #111827;
}

.footer-section p,
.footer-section li {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section a {
  color: #2563eb; /* samme blå vibe som links */
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 5px;
}

.game-badge{
  position: absolute;
  top: 12px;
  left: -40px;
  width: 120px;
  text-align: center;
  background: linear-gradient(135deg, #ff7a18, #ff3d54);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  letter-spacing: 1px;
  z-index: 2;
}

.teacher-text{
  max-width: 800px;
  margin: 30px auto;
  line-height: 1.7;
}

.teacher-text h2{
  margin-bottom: 10px;
}

.teacher-grid-section{
  margin: 40px 0;
}

.teacher-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.teacher-card{
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
}

.teacher-highlight{
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 800px;
  border-left: 5px solid #2d9e7a;
}

@media (max-width: 800px){
  .teacher-grid{
    grid-template-columns: 1fr;
  }
}

.policy-page{
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.policy-hero h1{
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.policy-intro{
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.policy-updated{
  font-size: 0.95rem;
  color: #5b6875;
  margin-top: 10px;
}

.policy-text{
  max-width: 780px;
  margin: 30px auto;
  line-height: 1.75;
}

.policy-text h2{
  margin-bottom: 10px;
}

.policy-highlight{
  max-width: 780px;
  margin: 40px auto;
  background: #ffffff;
  border-left: 6px solid #2d9e7a;
  border-radius: 12px;
  padding: 24px;
}

.policy-list{
  padding-left: 22px;
  line-height: 1.8;
}

@media (max-width: 800px){
  .policy-hero{
    padding: 24px 20px;
  }
}

.contact-page{
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.contact-hero h1{
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-intro{
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.contact-text{
  max-width: 780px;
  margin: 30px auto;
  line-height: 1.75;
}

.contact-text h2{
  margin-bottom: 10px;
}

.contact-email{
  font-size: 1.2rem;
  font-weight: 700;
  margin: 18px 0;
}

.contact-email a{
  color: #2d9e7a;
  text-decoration: none;
}

.contact-email a:hover{
  text-decoration: underline;
}

.contact-list{
  padding-left: 22px;
  line-height: 1.8;
}

.contact-highlight{
  max-width: 780px;
  margin: 40px auto;
  background: #ffffff;
  border-left: 6px solid #2d9e7a;
  border-radius: 12px;
  padding: 24px;
}

@media (max-width: 800px){
  .contact-hero{
    padding: 24px 20px;
  }
}