@media (max-width: 800px) {
  .page-skotsel .container.inner-overlay > div[style*="display:flex"] {
    justify-content: center !important;
    align-items: center !important;
  }
  .page-skotsel [style*="background:#f3f3f3"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 800px) {
  .page-skotsel .koi-title-bg {
    max-width: 100%;
    width: 100%;
    margin: 1.2rem 0 1.2rem 0;
    padding: 0.5em 0.5em;
    font-size: 1.4rem;
    border-radius: 10px;
  }
  .page-skotsel .koi-title {
    font-size: 1.6rem;
    word-break: break-word;
    padding: 0.2em 0.1em;
  }
  #koiTextPreview {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 1rem !important;
    padding: 1.1rem 0.5rem !important;
    border-radius: 10px !important;
    box-sizing: border-box;
  }
  .page-skotsel .container.inner-overlay {
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
  }
  .page-skotsel .koiTextBox {
    padding: 0.5rem 0.2rem !important;
    font-size: 1rem !important;
  }
  #koiToggleText {
    font-size: 1em !important;
    padding-bottom: 0.7em;
  }
}
/* Gör texten i blogg-inlägg svart */
body.page-blogg #bloggInlaggLista, 
body.page-blogg #bloggInlaggLista *,
body.page-blogg .blogg-inlagg, 
body.page-blogg .blogg-inlagg * {
  color: #111 !important;
}
/* Padding mellan herobild och fiskkort på butiksidor */
.hero-image-container {
  margin-bottom: 2.5rem;
}

/* Extra padding ovanför fisklistan på butiksidor */
[id$="FiskLista"] {
  padding-top: 1.5rem;
}
/* Jämnare avstånd mellan fisksektionerna på skotsel.html */
.page-skotsel section.sturgeon-intro,
.page-skotsel section.albino-sturgeon-intro,
.page-skotsel section.rainbow-shiner-intro {
  margin-top: 1.2rem !important;
  margin-bottom: 1.2rem !important;
}

.page-skotsel .koi-title {
  font-size: 2.6rem;
  font-weight: 800;
}
/* Grå ruta bakom rubriken Koi-karpen på skötsel-sidan */
.page-skotsel .koi-title-bg {
  background: #e0e0e0;
  border-radius: 12px;
  padding: 0.7em 1.5em 0.7em 1.5em;
  margin-top: 2.8rem;
  margin-bottom: 2.2rem;
  display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/* Gör all text vit på sidan Skötsel, men inte i headern */
body.page-skotsel .container,
body.page-skotsel .inner-overlay,
body.page-skotsel .koiTextBox,
body.page-skotsel .koi-title-bg,
body.page-skotsel .koi-title,
body.page-skotsel .koiTextHint {
  color: #111 !important;
}

/* Gör headern fast högst upp */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
/* ===== MODAL FÖR ZOOMAD BILD ===== */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.img-modal[style*="display: flex"] {
  display: flex !important;
}
.img-modal-content {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
  background: #fff;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.img-modal-close {
  position: absolute;
  top: 2.5vh;
  right: 3vw;
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.18s, color 0.18s;
}
.img-modal-close:hover {
  background: #fff;
  color: #222;
}
/* Öka textstorlek på mailadressen vid hover på kontakta-oss-sidan */
body.page-kontakta-oss #mailBox.big-mail #mailText {
  font-size: 1.22em;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0a4a7a;
  transition: font-size 0.18s, color 0.18s;
}


@media (min-width: 801px) {
  .brand {
    display: none !important;
  }
}

/* Dölj .brand när mobilmenyn är öppen */
.primary-nav.open ~ .brand,
.primary-nav.open + .brand,
body.primary-nav-open .brand {
  display: none !important;
}
.brand {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.03em;
  margin: 0 auto;
  text-align: center;
  z-index: 10;
}
/* ===============================
   RESET & BASICS
=============================== */
*,*::before,*::after { box-sizing: border-box; }
html,body { height: 100%; }
.koi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 0.4rem;
  justify-items: center;
  padding: 1.2rem 0.7rem 1.7rem;
}
.koi-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 1.1rem 1rem 1.1rem;
  margin-bottom: 1.2rem;
  transition: box-shadow 0.18s, transform 0.18s;
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.koi-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.16);
  transform: translateY(-2px) scale(1.012);
}

.media-slider,
.slider-media-wrapper {
  width: 100%;
  max-width: 320px;
  min-height: 190px;
  height: 190px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-media {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover;
  border-radius: 10px;
  max-width: 320px;
  display: block;
}

body {
  padding-top: 10px;
}

@media (max-width: 800px) {
  .nav-toggle {
    position: relative;
    top: 22px; /* Flyttar hamburgermenyn nedåt, ändra värde för mer/mindre */
    margin-top: 0;
  }
  body {
    padding-top: 5px;
  }
}
/* Standardiserad header-inner: smal på alla skärmar */
/* --- Sista och enda .header-inner-regeln --- */
.brand {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-toggle {
  background: transparent !important;
  border: 0;
  padding: 0.5rem;
  display: inline-block;
  width: 2px;
  min-width: 2px;
  max-width: 2px;
  height: 1.2em;
  margin: 0 0.5em;
  vertical-align: middle;
  border-radius: 10px;
  opacity: 1;
  box-sizing: content-box;
  position: relative;
}
.nav-toggle .hamburger::after,
.nav-toggle .hamburger::before {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #000;
}
.nav-toggle .hamburger::before { top: -6px; }
.nav-toggle .hamburger::after { top: 6px; }
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.primary-nav {
  display: none;
  margin: 0 auto;
}
.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}
.primary-nav.open { display: block; }
.primary-nav a {
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  color: #000;
  text-align: center;
  font-size: 1.32em;
}
.admin-links-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 1.5em;
  z-index: 30;
}
.admin-links-wrapper a {
  padding: 0.15em 0.35em;
  font-weight: 600;
  text-decoration: none;
  color: #000;
}
.admin-nav-item {
  display: none;
}
.admin-nav-item {
  display: none;
}

/* Speciell regel för loggan i Kontakta oss-raden */
.feature-image[src*="logga.png"] {
  object-fit: contain;
  object-position: center;
  background: #fff;
  margin: 0 auto;
  display: block;
}

/* Feature-sektioner grundlayout */
.feature,
.feature.reverse {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  min-height: 320px;
  height: 320px;
  width: 100%;
}
.feature.reverse {
  flex-direction: row-reverse;
}
.feature.reverse .feature-image {
  object-position: right center;
}
/* Bildkolumn */
.feature-image-wrap {
  width: 50%;
  flex: none;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #000;
  box-shadow: none;
  border-radius: 10px;
}
.feature-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: none;
  object-fit: cover;
  object-position: center center;
  background: #000;
  margin: 0;
}
/* Textrutekolumn */
.feature-content {
  width: 50%;
  flex: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
}
/* Textruta med grå bakgrund och rundade hörn */
/* Textruta */
.feature-box {
  font-size: 2rem;
  display: block;
  width: 100%;
  height: 100%;
  background: #d3d3d3;
  color: #111;
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: filter 0.15s, transform 0.15s;
}
.feature-box:focus {
  outline: 3px solid rgba(11,114,133,0.18);
  outline-offset: 4px;
}
.feature-box:focus:not(:focus-visible) {
  outline: none;
}
.feature-box:hover {
  filter: brightness(0.98);
  transform: translateY(-2px);
}
.feature-box:active {
  transform: translateY(0);
}
.feature-box {
  background: #f3f3f3;
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
}
/* ...existing code... */
/* ...existing code... */
/* --- Sista och enda .header-inner-regeln --- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  position: relative;
  font-size: 1.32rem;
}

/* ===============================
   MOBILANPASSNING (max-width: 800px)
=============================== */
@media (max-width: 800px) {
  .header-inner {
    padding: 0.3rem 0;
  }
  .page-skotsel .container.inner-overlay {
    padding-top: 0.7rem !important;
  }
  .feature,
  .feature.reverse {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.7rem;
    min-height: unset;
    height: auto;
  }
  .feature-image-wrap {
   width: 100%;
   height: auto;
   min-width: 0;
   margin: 0 0 1rem 0;
   box-sizing: border-box;
   background: transparent !important;
   border-radius: 10px !important;
   padding-left: 0.3rem;
   padding-right: 0.3rem;
  }
  .feature-content {
   width: 100%;
   height: auto;
   min-width: 0;
   margin: 0 0 1rem 0;
   box-sizing: border-box;
   padding-left: 0.3rem;
   padding-right: 0.3rem;
  }
  .feature-image {
   width: 100%;
   height: auto;
   max-height: 250px;
   object-fit: cover;
   border-radius: 10px !important;
   margin-bottom: 0.5rem;
   background: transparent !important;
   padding-left: 0.1rem;
   padding-right: 0.1rem;
  }
  .feature-box {
   width: 100%;
   min-height: 92px;
   height: auto;
   font-size: 1.1rem;
   padding: 1rem 1rem;
   box-sizing: border-box;
   border-radius: 0 0 10px 10px;
   margin-bottom: 1.2rem;
  }
  /* Ta bort allt extra avstånd mellan hero och första feature */
  .hero-image-container + .feature,
  .hero-image-container + .feature.reverse {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .hero-image-container {
    margin-bottom: 0;
  }
}
body.page-nisai-butik .hero-contact-cta,
body.page-sansai-butik .hero-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  backdrop-filter: blur(2px);
  transition: background 0.15s, color 0.15s;
}

body.page-koi-butik .hero-contact-cta:hover,
body.page-koi-butik .hero-contact-cta,
body.page-butterfly-butik .hero-contact-cta,
body.page-regnbage-butik .hero-contact-cta,
body.page-andra-butik .hero-contact-cta,
body.page-ryskstor-butik .hero-contact-cta,
body.page-albinostor-butik .hero-contact-cta,
body.page-tosai-butik .hero-contact-cta,
body.page-nisai-butik .hero-contact-cta,
body.page-sansai-butik .hero-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  backdrop-filter: blur(2px);
  transition: background 0.15s, color 0.15s;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  backdrop-filter: blur(2px);
  transition: background 0.15s, color 0.15s;
}

body.page-koi-butik .hero-contact-cta:hover,
body.page-butterfly-butik .hero-contact-cta:hover,
body.page-regnbage-butik .hero-contact-cta:hover,
body.page-andra-butik .hero-contact-cta:hover,
body.page-ryskstor-butik .hero-contact-cta:hover,
body.page-albinostor-butik .hero-contact-cta:hover,
body.page-tosai-butik .hero-contact-cta:hover,
body.page-nisai-butik .hero-contact-cta:hover,
body.page-sansai-butik .hero-contact-cta:hover {
  background: #fff;
  color: #000 !important;
}

/* Förbättra touch-area för accessibility/mobil */
.nav-toggle{min-width:44px;min-height:44px;border-radius:6px}


/* Brytpunkter: visa nav horisontellt på bredare skärmar */
@media (min-width:600px){
  .primary-nav{display:block}
  .primary-nav ul{flex-direction:row;gap:1rem;justify-content:center}
  .nav-toggle{display:none}
}

/* Mobila justeringar: större tryckytor för nav-länkar */
@media (max-width:599px){
  body.page-koi-butik .hero-contact-cta,
  body.page-butterfly-butik .hero-contact-cta,
  body.page-regnbage-butik .hero-contact-cta,
  body.page-andra-butik .hero-contact-cta,
  body.page-ryskstor-butik .hero-contact-cta,
  body.page-albinostor-butik .hero-contact-cta,
  body.page-tosai-butik .hero-contact-cta,
  body.page-nisai-butik .hero-contact-cta,
  body.page-sansai-butik .hero-contact-cta {
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem;
  }

  .primary-nav a{padding:0.75rem 0}
}

/* När mobilmenyn öppnas */
.primary-nav.open{display:block}

/* Hero image styling (stor, responsiv och centrerad) */
.hero-image-container{
  /* Gör containern full-bleed (sträcker sig över hela viewport-bredden)
     utan att ändra HTML-strukturen som använder en centrerad .container */
  width:100vw;
  height: 550px;
  margin-left:calc(50% - 50vw);
  position:relative;
  padding: 0px;
  margin-top: 40px;
  margin-bottom: 0;
}
.hero-image{
  display:block;
  width:100%;
  max-width:none;
  height:100%;
  margin:0; /* left-align the image (no auto centering) */
  border-radius:0;
  box-shadow:0 6px 20px rgba(16,50,58,0.08);
  object-fit:cover;
  object-position:left center; /* focus image to the left */
}

/* Overlay text på hero-bild */
/* Overlay removed — styles deleted per request to remove text on hero image */
/* Restore overlay styles so the hero displays centered text over the image */
.hero-overlay{
  --hero-small-line-size:clamp(0.95rem, 2.9vw, 1.7rem);
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  color:#fff;
  padding:1rem 1.25rem;
  max-width:90%;
  width:min(1100px,90%);
  /* Mjuk mörk bakgrund för kontrast */
  background:linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
  border-radius:8px;
}
.hero-title{
  margin:0 0 0.25rem 0;
  font-weight:700;
  line-height:1.05;
  font-size:clamp(1.6rem, 5vw, 3rem);
  text-transform:capitalize;
  text-shadow:0 2px 8px rgba(0,0,0,0.6);
}
.hero-title-small{
  display:inline-block;
  font-size:var(--hero-small-line-size);
  letter-spacing:0.03em;
  font-weight:600;
}
.hero-title-main{
  display:inline-block;
  font-size:1.1em;
}
.hero-tagline{
  margin:0 0 0.4rem 0;
  font-size:var(--hero-small-line-size);
  color:rgba(255,255,255,0.95);
  text-shadow:0 1px 6px rgba(0,0,0,0.55);
}
.hero-sub{
  margin:0;
  font-size:clamp(0.9rem, 2.5vw, 1.1rem);
  color:rgba(255,255,255,0.95);
}

@media (max-width:480px){
  .hero-overlay{padding:0.75rem 1rem}
  .hero-title{font-size:1.4rem}
}


/* Ta bort vit yta mellan hero och bg-section */
.hero-image-container {
  margin-bottom: 0;
}
.bg-section {
  margin-top: 0;
}
#bloggInlaggLista:empty {
  display: none;
}

/* Kontakta oss: undvik svarta kanter runt bilder/formrutan */
.page-kontakta-oss .feature-image-wrap {
  background: #d3d3d3;
}
.page-kontakta-oss .feature-image-wrap.form-height {
  background: transparent;
}

/* Inline-stilar i HTML gjorde text och rutor stora; dessa overrides gör helheten mindre. */
.koi-intro img,
.sturgeon-intro img,
.albino-sturgeon-intro img,
.rainbow-shiner-intro img{
  max-width:440px !important;
}

.koi-intro > div > div,
.sturgeon-intro > div > div,
.albino-sturgeon-intro > div > div,
.rainbow-shiner-intro > div > div{
  max-width:440px !important;
  padding:0.85rem 0.75rem !important;
}

.koiTextBox{
  font-size:1.08rem !important;
  line-height:1.45 !important;
}

.koiTextBox span[style*="font-size:2rem"]{
  font-size:1.25rem !important;
}

/* Gör .feature-box (nu en anchor) lik en knapp med hover/fokus-effekter */

@media (max-width:800px) {
  .header-inner {
    padding: 0.1rem 0;
    min-height: 38px;
  }
  .brand {
    font-size: 1.05rem;
    padding: 0;
    margin: 0;
    line-height: 1.1;
  }
  .nav-toggle {
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
    margin: 0 0.2em;
  }
  .nav-toggle .hamburger,
  .nav-toggle .hamburger::before,
  .nav-toggle .hamburger::after {
    width: 18px;
    height: 2px;
  }
  .nav-toggle .hamburger::before { top: -5px; }
  .nav-toggle .hamburger::after { top: 5px; }
  .feature-image {
    border-radius: 10px 10px 0 0;
  }
  .feature-box {
    height: 100%;
    border-radius: 10px;
    padding: 1.1rem 0.9rem;
  }
}

/* Background wrapper for feature rows to keep a fixed background while scrolling */
.bg-section{
  width:100vw;
  margin-left:calc(50% - 50vw);
  background-image: url('../bilder/bakgrund2.jpg');
  background-size:cover;
  background-position:center center;
  background-attachment:fixed;
  padding:3rem 0;
  min-height: 100vh;
}
.bg-section .container{max-width:var(--container-width);margin:0 auto;padding:0 1rem}
.bg-section .inner-overlay{background:rgba(255,255,255,0.02);padding:0;display:flex;flex-direction:column;gap:2.25rem}

@media (max-width:800px){
  .brand {
    font-size: 1.50rem;
    padding: 0;
    margin: 0;
    line-height: 1.1;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: max-content;
    z-index: 2;
  }
  .header-inner {
    position: relative;
  }
  

  .bg-section {
    background-image: none !important;
    background: #fff !important;
  }

  .bg-section .inner-overlay {
    background: #fff !important;
  }
}

.menu-sep {
  display: inline-block;
  width: 2px;
  min-width: 2px;
  max-width: 2px;
  height: 1.2em;
  background: #fff;
  margin: 0 0.5em;
  vertical-align: middle;
  border-radius: 2px;
  opacity: 0.7;
  box-sizing: content-box;
  border-radius: 10px;
} /* <-- Avslutande klammer lagd till, fixar trasig CSS! */
.site-header .primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-header .primary-nav li.menu-sep {
  pointer-events: none;
  min-width: 2px;
  max-width: 2px;
  padding: 0;
}

@media (min-width:600px){
  a.logout-link {
    padding-right: 3.5em;
  }
}
.blogg-admin-title {
  color: #fff !important;
  text-align: center !important;
  font-size: 2.2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* Mobile hardening: header + index hero/feature layout */
@media (max-width: 900px) {
  .admin-links-wrapper {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0 1rem 0.6rem;
    background: #d3d3d3;
  }

  .admin-links-wrapper a {
    font-size: 0.95rem !important;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
  }

  .site-header .primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
  }

  .site-header .menu-sep {
    display: none;
  }
}

@media (max-width: 599px) {
  .admin-links-wrapper {
    display: none !important;
  }

  .site-header .primary-nav li.admin-nav-item {
    display: list-item;
  }

  .site-header .primary-nav li.admin-nav-item a {
    font-weight: 700;
  }
}


@media (max-width: 800px) {

  .hero-image-container {
    height: auto;
    min-height: 220px;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .hero-image {
    height: auto;
    max-height: 55vh;
    width: 100%;
    display: block;
  }
  .hero-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-align: center;
  }

  .page-index .hero-title {
    font-size: clamp(1.25rem, 6.5vw, 1.8rem);
  }

  .page-index .hero-sub {
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
    line-height: 1.35;
  }

  .feature,
  .feature.reverse {
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .feature-image-wrap {
    min-height: 170px;
    max-height: 250px;
  }

  .feature-box {
    min-height: 92px;
    padding: 0.75rem;
  }

  .feature-box {
    background: #f3f3f3;
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 1.25rem;
  }
} /* <-- Avslutande klammer för @media (max-width: 800px) */

.hero-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0; /* left-align the image (no auto centering) */
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(16,50,58,0.08);
  object-fit: cover;
  object-position: left center; /* focus image to the left */
  max-height: 55vh;
}
@media (min-width: 900px) {
  .hero-image {
    max-height: 600px;
  }
}
/* Overlay text på hero-bild */
.hero-overlay {
  --hero-small-line-size: clamp(0.95rem, 2.9vw, 1.7rem);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 1rem 1.25rem;
  max-width: 90%;
  width: min(1100px, 90%);
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
  border-radius: 8px;
}
.hero-title {
  margin: 0 0 0.25rem 0;
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(1.6rem, 5vw, 3rem);
  text-transform: capitalize;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-title-small {
  display: inline-block;
  font-size: var(--hero-small-line-size);
  letter-spacing: 0.03em;
  font-weight: 600;
}
.hero-title-main {
  display: inline-block;
  font-size: 1.1em;
}
.hero-tagline {
  margin: 0 0 0.4rem 0;
  font-size: var(--hero-small-line-size);
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.hero-sub {
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,0.95);
}

/* Ta bort dubblett och säkerställ border-radius på mobil */

/* === FISKKORT/BUTIKSKORT === */
.koi-grid {
  padding: 0 0.7rem;
}

.koi-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 1.1rem 1rem 1.1rem;
  margin-bottom: 1.2rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.koi-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.16);
  transform: translateY(-2px) scale(1.012);
}

.media-slider,
.slider-media-wrapper {
  width: 100%;
  max-width: 100%;
  min-height: 190px;
  height: 190px;
}

.slider-media {
  width: 100% !important;
  height: 190px !important;
}

.slider-arrow {
  width: 38px;
  height: 38px;
  font-size: 1.75rem;
}
.slider-arrow {
  width: 38px;
  height: 38px;
  font-size: 1.75rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow 0.15s;
}
.slider-arrow:hover {
  background: #f3f3f3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.13);
}
.slider-arrow-left {
  left: -18px;
  right: auto;
}
.slider-arrow-right {
  right: -18px;
  left: auto;
}

.slider-arrow-left {
  left: 6px;
}

.slider-arrow-right {
  right: 6px;
}

.koi-info {
  font-size: 1rem;
  line-height: 1.45;
}
.koi-info {
  font-size: 1rem;
  line-height: 1.45;
  padding-top: 1.1rem;
  padding-bottom: 0.2rem;
}


/* --- Koi grid och kort: media queries --- */
@media (max-width: 900px) {
  .koi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .koi-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem 0.5rem;
    padding: 0.5rem 0.2rem 1.2rem;
  }
  .media-slider,
  .slider-media-wrapper {
    min-height: 150px;
    height: 150px;
    max-width: 98vw;
  }
  .slider-media {
    height: 150px !important;
    max-width: 98vw;
  }
  .koi-card {
    max-width: 98vw;
    padding: 0.85rem 0.4rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .koi-grid {
    padding: 0 0.7rem;
  }

  .media-slider,
  .slider-media-wrapper {
    min-height: 170px;
    height: 170px;
  }

  .slider-media {
    height: 170px !important;
  }

  .koi-card {
    padding: 0.95rem 0.75rem 0.85rem;
  }

  .page-koi .koiTextBox,
  .page-skotsel .koiTextBox {
    font-size: 0.97rem !important;
    line-height: 1.5 !important;
  }
}

/* --- Kontakta oss: mobilformulär --- */
@media (max-width: 600px) {
  .page-kontakta-oss .feature-image-wrap.form-height {
    min-height: auto !important;
    height: auto !important;
    align-items: stretch !important;
  }

  .page-kontakta-oss .feature-image-wrap.form-height > form {
    width: 100%;
    min-height: 0;
    padding: 1.15rem 0.85rem !important;
  }

  .page-kontakta-oss form input,
  .page-kontakta-oss form textarea,
  .page-kontakta-oss form button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .page-kontakta-oss .feature-content[style*="flex:1 1 0"] .feature-box {
    font-size: clamp(1.2rem, 7.4vw, 1.9rem) !important;
  }
}



.site-header .menu-sep {
  /* Se .menu-sep för styling */
}

.site-header .nav-toggle .hamburger,
.site-header .nav-toggle .hamburger::before,
.site-header .nav-toggle .hamburger::after {
  background: #000 !important;
}

.hero-overlay,
.hero-overlay *,
.hero-title,
.hero-sub {
  color: #fff !important;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.95) !important;
}

.page-index .index-contact-row .feature-image {
  object-fit: cover !important;
  object-position: center center !important;
}

.page-index .index-butterfly-row .feature-image-wrap {
  background: #fff;
}

.page-index .index-butterfly-row .feature-image {
  object-fit: cover !important;
  object-position: center center !important;
}

/* Zooma ut logga.png i bildrutan på index-sidan – denna regel ligger sist för maximal prioritet */
.page-index .index-contact-row .feature-image[src*="logga.png"] {
  width: auto !important;
  max-width: 75% !important;
  height: auto !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  display: block !important;
  object-fit: contain !important;
}

  /* Tvinga vit bakgrund på logga.png-rutan i indexens kontakta oss-rad */
  .page-index .index-contact-row .feature-image-wrap {
    background: #fff !important;
  }

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  margin-top: 0;
  background: #eaeaea;
  color: #222 !important;
  border-top: 1px solid #b8b8b8;
  font-size: 1rem;
}
.site-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.3rem 1rem 1.9rem;
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer-col h4 {
  margin: 0 0 0.8rem;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #222;
} /* <-- Avslutande klammer lagd till */
.site-footer-text {
  margin: 0 0 0.65rem;
  line-height: 1.5;
}
.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer-links li {
  margin-bottom: 0.45rem;
}
.site-footer a {
  color: #222;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #0a7ca7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer-webmail {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.35rem 0.62rem;
  border: 1px solid #8f8f8f;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  background: #fff;
}
.site-footer-credit {
  grid-column: 1 / -1;
  margin-top: 1.2em;
  padding-top: 0.9rem;
  font-size: 0.97rem;
  line-height: 1.45;
  text-align: center;
  color: #444;
}
.site-footer-credit a {
  text-decoration: underline;
  color: #0a7ca7;
}
@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }
}
@media (max-width: 599px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 0.9rem 1rem;
  }
  .site-footer-col h4 {
    font-size: 0.98rem;
  }
  .site-footer-credit {
    font-size: 0.89rem;
    padding-top: 0.75rem;
  }
}