/* Skidstidende – Brevkasse Justeret Version (800px + 2 kolonner) */

:root{
  --ink:#111;
  --muted:#555;
  --line:#e9e9e9;
  --bg:#fafafa;
  --brand:#0d1b2a;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width:800px;          /* smallere bredde */
  margin:0 auto;
  padding:24px 40px;        /* ekstra indryk i siderne */
}

.header{
  border-bottom:1px solid var(--line);
  background:#fff;
  position:sticky;
  top:0;
  z-index:9;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand .logo{
  width:48px;
  height:48px;
  border-radius:50%;
  background:linear-gradient(180deg,#ffe680,#ffc34d);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

.badge{
  display:inline-block;
  border:1px solid var(--ink);
  padding:6px 10px;
  font-size:.85rem;
  margin-top:8px
}

.hero{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:20px;
  align-items:center;
  margin:18px 0 10px
}

.hero img{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover
}

.hero h1{margin:0;font-size:2rem;line-height:1.1}
.hero p{margin:.4rem 0 0;color:var(--muted)}

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:8px 0 18px
}

.button{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--ink);
  text-decoration:none
}
.button[aria-current="true"], .button:hover{
  background:var(--ink);
  color:#fff
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr); /* ændret fra 3 til 2 */
  gap:20px;
}

.card{
  border:1px solid var(--line);
  padding:16px;
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:8px
}

.card h3{margin:0;font-size:1.1rem;line-height:1.2}
.sig{font-style:italic;color:var(--muted)}
.more{margin-top:auto;border-bottom:1px solid var(--ink);width:max-content}

.section{margin:24px 0}

.sidebar{
  border:1px solid var(--line);
  padding:16px;
  background:#fff
}

.footer{
  border-top:1px solid var(--line);
  padding:16px 24px;
  color:var(--muted);
  font-size:.9rem
}

@media (max-width:900px){
  .hero{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr} /* på mobil stadig 1 kolonne */
}
/* --- Runde hjørner + skygge på sidebar og bokse --- */
.sidebar{
  border:1px solid var(--line);
  background:#fafafa;
  padding:14px;
  border-radius:12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* Hvis du har flere bokse i sidebaren */
.sidebar .box{
  background:#fff;
  border:1px solid var(--line);
  padding:12px;
  border-radius:10px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  margin-bottom:12px;
}

/* Cards lidt mere “magasin”-agtige */
.card{
  border-radius:12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* Knapper en tand blødere */
.button{
  border-radius:8px;
}

/* Portrætbillede får en blød ring */
.hero img{
  box-shadow: 0 0 0 3px #fff, 0 2px 10px rgba(0,0,0,.06);
}
