@charset "UTF-8";

body {
  font-family: "Arial", sans-serif;
  background-color: #ffffff;
  color: #131b23;
  line-height: 1.6;
}

.footer {
  background-color: #E8C5C3;
  color: #131b23;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer p {
  color: #131b23;
}
.footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }
}
.footer .footer-links a {
  color: #131b23;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.footer .footer-links a:hover {
  color: #e23d41;
}
.footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}
.footer .social-links img {
  width: 25px;
  height: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer .social-links img:hover {
  transform: scale(1.1);
  opacity: 1;
}
.footer .sponsor-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 1.5rem;
  width: 100%;
}
.footer .sponsor-logos img {
  width: 25px;
  height: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer .sponsor-logos img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* GLOBAL STYLING */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER OCH NAVIGATION */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem; /* kolla på detta senare*/
  background-color: #ffffff;
  position: relative;
  color: #510b02;
  /* BAS-STYLING: display: flex, background, etc. */
  /* Hamburgarikon - visas endast i mobilvy */
  /* Visa menyn när checkboxen är checkad */
  /* Menylänkar */
  /* Desktopvy */
  /* FUNKTIONALITET: meny-logik, ikon-växling */
}
header img {
  height: 50px;
}
header #menu-toggle {
  display: none;
}
header .menu-icon {
  display: block;
  font-size: 1.8rem;
}
header .menu {
  list-style: none;
  display: none; /* Dölj som standard på mobil */
  flex-direction: column;
  background-color: #000000;
  width: 150px;
  position: absolute; /* Använd absolut position för att falla ner under headern */
  top: 100%;
  right: 0;
  z-index: 10;
  padding: 0;
}
header .menu ul {
  padding: 0;
  margin: 0;
}
header #menu-toggle:checked + .menu-icon + .menu {
  display: flex;
}
header .menu a {
  display: block;
  padding: 10px 15px;
  color: #ffffff;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  header .menu-icon {
    display: none;
  }
  header .menu {
    display: block; /* Visa menyn */
    position: static; /* Återställ position */
    background: #ffffff;
    width: auto;
    max-height: none;
    padding: 0;
  }
  header .menu ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-left: 1.5rem;
  }
  header .menu li {
    margin-left: 3rem;
    font-size: 1.5rem;
  }
  header .menu a {
    padding: 1rem 1rem 0 0;
    color: #131b23; /* Använd mörk färg för synlighet på ljus header */
  }
  header .menu a:hover {
    color: #510b02;
  }
}
header img {
  max-height: 50px;
}

/* MAIN OCH HERO SEKTION */
main {
  position: relative;
  display: block;
  padding: 0;
  background-color: #E8C5C3; /* Säkerställer vit bakgrund för main */
}
main img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 1;
  border-radius: 8px;
}
main .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.6);
  color: #E8C5C3;
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: bolder;
  padding: 1.5rem 2rem;
  border-radius: 0.6rem;
  max-width: 400px;
  width: 80%;
}

/* MAIN SECTIONS (RESPONSIV TRE-KOLUMNS LAYOUT FÖR INDEX) */
.main-sections {
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  gap: 3rem;
  color: #131b23;
}
@media screen and (min-width: 768px) {
  .main-sections {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    padding: 4rem 2rem;
    gap: 2rem;
  }
}

/* Stil för varje kolumn inuti main-sections */
.main-sections > section {
  text-align: center;
  background-color: #E8C5C3;
  padding: 3rem;
  border-radius: 0.6rem;
  color: #131b23;
}
@media screen and (min-width: 768px) {
  .main-sections > section {
    flex-basis: 30%;
    max-width: 33.33%;
    padding: 1.5rem 1rem;
  }
}
.main-sections > section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #131b23;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bolder;
}
.main-sections > section h3 {
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #131b23;
  margin: 1rem;
}
.main-sections > section p {
  max-width: 65ch;
  margin: 0 auto 1em;
  color: #131b23;
}

/* 1. CENTRERING OCH KOLUMN-LAYOUT FÖR HELA SEKTIONEN (Behålls) */
.boktips {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
}

.boktips ul {
  width: 100%;
  list-style: none;
}

/* 2. STYLING FÖR KORTEN (Behåller din befintliga Tailwind-stil med uppdaterad hover) */
.boktips li {
  padding: 20px !important; /* Lite mer luft */
  border: 1px solid #eeeeee !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden !important;
  margin-bottom: 25px;
  color: #131b23;
}

.boktips li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* 3. STYLING FÖR DEN STÖRRE BILDEN (Vänster sida) */
.boktips img {
  max-width: 150px !important;
  height: 220px !important;
  -o-object-fit: cover;
     object-fit: cover;
  float: left;
  margin-right: 1.5rem !important;
  border-radius: 6px;
}

/* 4. STYLING FÖR TEXTEN (som flyter runt bilden) */
.boktips h3 {
  margin-top: 0 !important;
  font-size: 1.3rem;
  color: #131b23;
}

.boktips p.visible-preview {
  font-size: 0.95rem !important;
  color: #333333;
  margin-bottom: 10px;
  clear: none !important;
}

/* 5. STYLING FÖR EXPANDERBAR DEL (<details> - Används för metadata) */
.book-summary {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.8rem;
  text-decoration: underline;
  color: #0056b3;
}

.hidden-content {
  display: none;
}

.boktips details p {
  margin-top: 10px;
  padding-top: 5px;
}

.boktips li p,
.boktips li details {
  clear: both;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

/* 6. STYLING FÖR RUBRIKEN (Stor och Centrerad) */
.boktips h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid #d8a7a6;
  display: inline-block;
  width: 100%;
}

/* Styling för "Hitta fler boktips/Events"-knappen */
.more-info-button {
  background-color: #e23d41;
  color: #131b23;
  border: 2px solid #131b23;
  border-radius: 25px;
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
}
.more-info-button:hover {
  background-color: #131b23;
  color: #f8f8f8;
}

body {
  background-color: #ffffff; /* Hela sidan är vit */
  color: #f8f8f8;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

h2 {
  padding-bottom: 1rem;
  font-size: 1.8rem;
  text-align: center;
}/*# sourceMappingURL=style.css.map */