.section-fact-box h2 {
    text-align: center;
}

.blurbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.blurb {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.blurb:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blurb svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.fact-blurbs {
  background-color: transparent;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 3rem;
}

.fact-blurbs h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.blurb svg {
  transition: transform 0.3s ease;
}
.blurb:hover svg {
  transform: scale(1.1) rotate(-2deg);
}

@media (max-width: 600px) {
  .blurbs-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;   /* valfritt, men gör att det inte sitter dikt mot kanten */
    padding-right: 0.5rem;  /* valfritt */
    max-width: 400px;       /* valfritt, kan justeras eller tas bort om du vill ha full bredd */
  }
}


/* === FÄRGTEMAN PER IKON === */

/* === Tydliga färgade ikoner med drop-shadow === */

.blurb.geography   svg { color: #0077cc; }
.blurb.airports    svg { color: #e36c27; }
.blurb.currency    svg { color: #2b9348; }
.blurb.transport   svg { color: #f9c80e; }
.blurb.electricity svg { color: #5b5bff; }
.blurb.vaccinations svg { color: #a83279; }
.blurb.shopping    svg { color: #ec4899; }
.blurb.nightlife   svg { color: #ff5c5c; }
.blurb.time_diff   svg { color: #6d28d9; }
.blurb.language    svg { color: #0891b2; }
.blurb.environment svg { color: #00a86b; }
.blurb.visa        svg { color: #ca8a04; }

/*Historiska Platser*/
.blurb.open svg        { color: #0077cc; } /* Öppettider */
.blurb.entry svg       { color: #e36c27; } /* Entré */
.blurb.access svg      { color: #2b9348; } /* Tillgänglighet */
.blurb.parking svg     { color: #f9c80e; } /* Parkering */
.blurb.toilets svg     { color: #5b5bff; } /* Toaletter */
.blurb.restaurant svg  { color: #ec4899; } /* Restauranger */
.blurb.guided svg      { color: #ff5c5c; } /* Guidade turer */
.blurb.language svg    { color: #0891b2; } /* Språk på platsen */
.blurb.epoch svg       { color: #6d28d9; } /* Tidsperiod/Epok */
.blurb.child svg       { color: #00a86b; } /* Barnvänligt */
.blurb.signs svg       { color: #ca8a04; } /* Skyltning */
.blurb.audio svg       { color: #a83279; } /* Ljudguide/AR */
.blurb.transport svg   { color: #f97316; } /* Närmsta kollektivtrafik */
.blurb.unesco svg      { color: #1e3a8a; } /* UNESCO-status */
.blurb.info svg        { color: #374151; } /* Viktig info */


/* === Stränder === */
.blurb.sand svg      { color: #00b4d8; } /* Sandtyp */
.blurb.temp svg      { color: #ff7f50; } /* Vattentemperatur */
.blurb.child svg     { color: #facc15; } /* Barnvänligt */
.blurb.lifeguard svg { color: #ef4444; } /* Livräddare */
.blurb.service svg   { color: #0ea5e9; } /* Strandservice */
.blurb.food svg      { color: #22c55e; } /* Mat och dryck */
.blurb.sport svg     { color: #8b5cf6; } /* Vattensporter */
