/* ==========================================================================
   Med Påhlssons — statisk kopia av WordPress-sajten (Blocksy + Stackable).
   Mått, färger och brytpunkter är uppmätta från originalet.

   Brytpunkter som i originalet:
     surfplatta  max-width: 999.98px
     mobil       max-width: 689.98px
   ========================================================================== */

/* ---- Typsnitt (self-hostade, variabla) ---------------------------------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Grund ---------------------------------------------------------------- */
:root {
  --c1: #418043;   /* grön, knappar och länkar */
  --c2: #55a630;   /* ljusgrön, hover */
  --c3: #0a2117;   /* brödtext */
  --c4: #0c0d0c;   /* rubriker */
  --c5: #e6f0ee;
  --c6: #f2f7f6;   /* ljusgrå kort */
  --c7: #fbfcfc;
  --c8: #ffffff;
  --sans: "Open Sans", sans-serif;
  --serif: "Playfair Display", sans-serif;
  --ease: cubic-bezier(.455, .03, .515, .955);
  --edge: 90vw;           /* containerbredd, 88vw på mobil */
  --gap: 24px;            /* blockavstånd, 16px på mobil */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-wrap: break-word;
  background: #fff;
  color: var(--c3);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
/* Som #main-container i originalet: inget innehåll får ge sidled-scroll */
main { overflow-x: clip; }

::selection { color: #fff; background: var(--c1); }

p, h1, h2, h3, h4, h5, h6, ul, figure { margin: 0; padding: 0; }
p { margin-bottom: 1.5em; }
h1, h2, h3, h4, h5, h6 {
  margin-bottom: calc(.3em + 10px);
  color: var(--c4);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.5;
}
h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 35px; }
h3, h4 { font-size: 25px; }
em { font-style: italic; }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; vertical-align: middle; }
figure { display: block; }

a {
  color: var(--c1);
  text-decoration: none;
  transition: all .12s var(--ease);
}
a:hover { color: var(--c2); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 2px;
}
/* Länkar i löptext är understrukna, som i originalet */
.prose a:not(:hover, .btn) { text-decoration: underline; }

.skip-link {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  clip-path: none;
  border-radius: 3px;
  background: #f1f1f1;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  color: #21759b;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

.container {
  width: min(100%, var(--edge));
  max-width: 1190px;
  margin-inline: auto;
}

.icon { fill: currentColor; }

/* Grön knapp (Stackable-knappen i originalet) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 35px;
  border-radius: 0;
  background: var(--c1);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
  transition: all .12s var(--ease);
}
.btn:hover { background: var(--c2); color: #fff; }
/* "Darken"-hovern på Stackable-knappar som saknar egen hoverfärg */
.btn--darken:hover { background: var(--c2); filter: brightness(.9) contrast(1.2); }

/* ==========================================================================
   Sidhuvud
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--c7);
}
.site-header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 120px;
}
.header-row > * { min-width: 0; }
.header-logo {
  display: flex;
  align-items: center;
  margin-top: 20px;
  line-height: 0;
}
.header-logo img {
  width: auto;
  height: 114px;
  max-width: none;
}
.main-nav {
  display: flex;
  align-items: stretch;
  margin: 0 10px;
}
.main-nav > ul {
  display: flex;
  list-style: none;
}
.main-nav li {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  color: var(--c3);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.site-header--transparent .main-nav > ul > li > a { color: rgba(255, 255, 255, .7); }
.main-nav > ul > li:hover > a,
.main-nav > ul > li.is-current > a { color: var(--c2); }
.site-header--transparent .main-nav > ul > li:hover > a { color: #fff; }
/* Aktuell sida behåller samma färg även vid hover, som i originalet */
.site-header--transparent .main-nav > ul > li.is-current > a { color: rgba(255, 255, 255, .7); }

.caret {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0 -8px 0 .2em;
}
.caret svg {
  width: 8px;
  height: 8px;
  fill: currentColor;
  transition: fill .12s var(--ease);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  width: 130px;
  min-width: 100px;
  margin-top: -30px;
  list-style: none;
  border-radius: 0 0 2px 2px;
  background: var(--c1);
  box-shadow: 0 10px 20px rgba(41, 51, 61, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
/* Osynlig brygga upp till menyraden så hovern inte släpper */
.sub-menu::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  transform: translateY(-100%);
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.sub-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 19.5px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}
.sub-menu a:hover { color: #e6e6e6; }

.header-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 10px;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.socials a {
  display: flex;
  align-items: center;
  color: var(--c7);
}
.socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: fill .12s var(--ease);
}
.socials a:hover { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: auto 0 auto auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c3);
  cursor: pointer;
}
.site-header--transparent .nav-toggle { color: rgba(255, 255, 255, .8); }
.nav-toggle:hover { color: #fff; }
.nav-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: fill .12s var(--ease);
}

/* ---- Mobilmeny (helskärm) ------------------------------------------------ */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  flex-direction: column;
  background-color: var(--c1);
  background-image: linear-gradient(rgba(65, 128, 67, .85), rgba(65, 128, 67, .85)), url("../img/vegetables-mobile-background.svg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .25s ease-in-out;
}
.offcanvas.is-open { display: flex; }
.offcanvas.is-visible { opacity: 1; }
.offcanvas__actions {
  display: flex;
  align-items: center;
  padding: 30px 35px 0;
}
.offcanvas__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -10px -10px -10px auto;
  padding: 10px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
}
.offcanvas__close svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform .15s ease-out, fill .12s var(--ease);
}
.offcanvas__close:hover svg { transform: rotate(90deg); }
.offcanvas__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offcanvas.is-visible .offcanvas__content { animation: move-in .25s both; }
@keyframes move-in {
  from { opacity: 0; transform: translate3d(0, -40px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.offcanvas__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 35px;
  text-align: center;
}
.offcanvas__inner > * { margin: 0 0 20px; }
.offcanvas__inner > :last-child { margin-bottom: 0; }
.offcanvas__logo { line-height: 0; }
.offcanvas__logo img {
  width: auto;
  height: 40px;
  max-width: none;
}
.mobile-nav { width: 100%; }
.mobile-nav ul { list-style: none; }
.mobile-nav li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-nav > ul > li > a,
.sub-menu-mobile a { width: 100%; }
.mobile-nav a {
  display: flex;
  justify-content: center;
  padding: 5px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav__parent {
  display: flex;
  align-items: center;
  column-gap: 10px;
}
.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin-right: -5px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.mobile-nav__toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform .15s ease-out;
}
.mobile-nav__toggle[aria-expanded="true"] svg { transform: rotate(-180deg); }
.mobile-nav .sub-menu-mobile {
  position: relative;
  width: calc(100% + 10px);
  margin-right: -10px;
  padding-right: 10px;
  overflow: hidden;
  transition: height .3s ease;
}
.mobile-nav .sub-menu-mobile[hidden] { display: none; }
.offcanvas__phone {
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}
.offcanvas__phone p { margin: 0; }
.offcanvas__phone a,
.offcanvas__phone a:hover { color: #fff; font-weight: 700; }
.offcanvas__phone a:not(:hover) { text-decoration: underline; }
.offcanvas .socials a { color: var(--c7); }
.offcanvas .socials a:hover { color: #fff; }

/* ==========================================================================
   Sidfot
   ========================================================================== */
.site-footer {
  background-color: #000;
  background-image: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url("../img/footer-vegetables-background.svg");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 83px;
  padding-block: 150px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.footer-col > * { margin-bottom: 1.5em; }
.footer-col > :last-child { margin-bottom: 0; }
.footer-col figure img { width: 200px; }
.footer-col .spacer { height: 10px; margin: 0; }
.footer-col .footer-title {
  margin-bottom: calc(.3em + 10px);
  color: #fff;
  font-size: 25px;
}
.footer-col ul { list-style: none; }
.footer-col a { color: #fff; }
.footer-col a:hover { color: var(--c2); }

.footer-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  padding-block: 50px;
}
.copyright {
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
}
.copyright p { margin: 0; }
.copyright a { color: #fff; }
.copyright a:hover { color: var(--c2); }
.footer-bottom .socials {
  justify-content: flex-end;
  gap: 21px;
}
.footer-bottom .socials a,
.footer-bottom .socials a:hover { color: #fff; }
.footer-bottom .socials svg { width: 21px; height: 21px; }

/* ---- Till toppen --------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 2px;
  background: var(--c1);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 15px, 0);
  transition: opacity .3s ease, background .3s ease, transform .3s ease, visibility .3s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}
.to-top:hover { background: var(--c2); color: #fff; }
.to-top svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

/* ---- Cookie-samtycke (samma som avacti.com, i Med Påhlssons färger) ------ */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 28px);
  z-index: 200;
  width: min(680px, calc(100vw - 32px));
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: var(--c3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  animation: cc-in .4s ease both;
}
@keyframes cc-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.cookie-consent__text {
  flex: 1 1 300px;
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-consent__text a { color: #fff; text-decoration: underline; }
.cookie-consent__text a:hover { color: var(--c2); }
.cookie-consent__actions { display: flex; flex-shrink: 0; gap: 12px; }
.cookie-consent__btn {
  padding: 10px 22px;
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .12s var(--ease), color .12s var(--ease), box-shadow .12s var(--ease);
}
.cookie-consent__btn--primary { background: var(--c1); color: #fff; }
.cookie-consent__btn--primary:hover { background: var(--c2); }
.cookie-consent__btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  color: #fff;
}
.cookie-consent__btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--c2); color: var(--c2); }
/* display:flex på klassen slår ut [hidden], därför den här regeln */
.cookie-consent__options[hidden] { display: none; }
.cookie-consent__options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.cc-opt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.cc-opt strong { display: block; margin-bottom: 2px; color: #fff; }
.cc-opt input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c1);
  cursor: pointer;
}
.cc-opt input:disabled { opacity: .6; cursor: not-allowed; }

/* ==========================================================================
   Startsidan
   ========================================================================== */
/* Hero med video */
.home-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 200px 24px 140px;
  background: #f1f1f1;
  text-align: center;
}
.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: #000;
  opacity: .3;
}
.home-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.home-hero__inner {
  position: relative;
  z-index: 3;
}
.home-hero h1 {
  margin: 0 0 30px;
  color: #fff;
  font-size: 100px;
  line-height: 1.2;
}
.home-hero__tagline {
  margin: 0 0 var(--gap);
  color: var(--c7);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.4px;
}
.home-hero__lead {
  margin-bottom: 45px;
  color: #fff;
  font-size: 20px;
  opacity: .8;
}
.home-hero .btn {
  padding: 12px 40px;
  font-size: 20px;
  vertical-align: top;
}
.home-hero__actions { margin-bottom: 10px; line-height: 0; }
.home-hero__spacer { height: 10px; }

/* Tre gröna rutor */
.features {
  display: flex;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}
.feature {
  flex: 1 1 0;
  min-width: 0;
  padding: 85px 55px;
  text-align: center;
}
.feature:nth-child(1) { background: var(--c1); }
.feature:nth-child(2) { background: #377139; }
.feature:nth-child(3) { background: #2f6731; }
.feature img {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
}
.feature__title {
  margin: 0 0 25px;
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
}

.spacer-100 { height: 100px; }
.spacer-50 { height: 50px; }
.spacer-30 { height: 30px; }

.section-title {
  margin: 0 0 15px;
  font-size: 45px;
  text-align: center;
}

/* Menykort: förrätter, varmrätter, desserter */
.dish-cards {
  display: flex;
  gap: 30px 10px;
}
.dish-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 75px 65px;
  background: var(--c6);
  text-align: center;
}
.dish-card__img {
  height: 150px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 10px;
}
.dish-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dish-card__title {
  margin: 0 0 var(--gap);
  font-size: 20px;
  line-height: 1.5;
}
.dish-card__title.is-upper { text-transform: uppercase; }
.dish-card .btn { vertical-align: top; }
.dish-card__actions { line-height: 0; }

/* Om oss, svart sektion med grönsaksteckningar */
.about {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 100px 24px;
  background: #000 url("../img/vegetables-background.svg") center / cover no-repeat;
}
.about::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: #000;
  opacity: .8;
}
.about__inner {
  position: relative;
  z-index: 3;
}
.about__img {
  margin-bottom: var(--gap);
}
.about__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2462 / 2411; /* originalets proportion, ger samma avrundning */
}
.about h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 45px;
  text-align: center;
}
.about__text {
  max-width: 800px;
  margin: 0 auto 55px;
  color: #fff;
  font-size: 20px;
  text-align: center;
}
.about__sign {
  margin: 0;
  color: #fff;
  text-align: center;
}

/* Vi ordnar tillställningen */
.events-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.events-intro a:not(:hover) { text-decoration: underline; }
.occasions {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.occasions + .occasions { margin-bottom: 1px; }
.occasion {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
}
.occasion > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.occasion__img {
  position: relative;
  overflow: hidden;
}
.occasion__img::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: transparent;
  opacity: .3;
  pointer-events: none;
  transition: all .32s cubic-bezier(.45, .05, .55, .95);
}
.occasion__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.occasion__label {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  padding: 30px;
}
.occasion__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  background: #fff;
}
.occasion h3 {
  margin: 0 0 25px;
  font-size: 25px;
  text-align: center;
  transform: translateY(32px);
  transition: all .32s cubic-bezier(.45, .05, .55, .95);
}
.occasion:hover .occasion__img::after {
  background: var(--c3);
  opacity: .4;
}
.occasion:hover h3 { transform: translateY(0); }

/* ==========================================================================
   Undersidor
   ========================================================================== */
/* Sidhero med bakgrundsbild och mörk ton */
.page-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 300px 24px 180px;
  background-color: #000;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: #000;
  opacity: .5;
}
.page-hero h1 {
  position: relative;
  z-index: 3;
  margin: 20px 0 0;
  color: #fff;
  font-size: 90px;
  font-weight: 700;
  line-height: 1.5;
}
.page-hero--gronsaker { background-image: url("../img/hero-gronsaker-2550.webp"); }

.spacer-150 { height: 150px; }
.spacer-120 { height: 120px; }

/* Rubrik + textkolumner överst på Slottet och Restaurangen */
.intro {
  display: flex;
  align-items: flex-start;
  column-gap: 100px;
}
.intro > * { min-width: 0; }
.intro h2 {
  margin: 0;
  font-size: 45px;
}
.intro p { margin: 0; }
@media (min-width: 1000px) {
  .intro--slottet .intro__title { flex: 1 1 calc(30.333% - 66.667px); }
  .intro--slottet .intro__col:nth-child(2) { flex: 1 1 calc(33.334% - 66.667px); }
  .intro--slottet .intro__col:nth-child(3) { flex: 1 1 calc(36.333% - 66.667px); }
  .intro--restaurang .intro__title { flex: 1 1 calc(30% - 50px); }
  .intro--restaurang .intro__col { flex: 1 1 calc(70% - 50px); }
}
.intro--restaurang p { font-size: 18px; }

/* Bildgalleriet på Slottet */
.gallery-section {
  padding: 100px 24px;
  background: var(--c6);
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.gallery figure {
  flex-grow: 1;
  width: calc(33.33% - 16px);
}
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bild och text sida vid sida (Restaurangen) */
.split {
  display: flex;
  column-gap: 100px;
}
.split > * {
  flex: 1 1 calc(50% - 50px);
  min-width: 0;
}
.split__text {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split h2 {
  margin: 0 0 20px;
  font-size: 45px;
}
.split p {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 55px;
  font-size: 18px;
}
.split__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* Menysidorna */
.page-hero--pasta { background-image: url("../img/hero-pasta-2550.webp"); }

.menu-banner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 100px 80px;
  background-color: #000;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.menu-banner::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: #000;
  opacity: .5;
}
.menu-banner__inner {
  position: relative;
  z-index: 3;
  max-width: 600px;
}
.menu-banner--wide .menu-banner__inner { max-width: 800px; }
.menu-banner h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 45px;
}
.menu-banner p {
  margin: 0;
  color: #fff;
  font-size: 20px;
}
.menu-banner--forratter { background-image: url("../img/meny-forratter-1950.webp"); }
.menu-banner--varmratter { background-image: url("../img/meny-varmratter-1950.webp"); }
.menu-banner--desserter { background-image: url("../img/meny-desserter-1950.webp"); }

.spacer-70 { height: 70px; }
.spacer-130 { height: 130px; }
.spacer-35 { height: 35px; }
.spacer-24 { height: 24px; }

.menu-cols {
  display: flex;
  column-gap: 80px;
}
.menu-col {
  flex: 1 1 calc(50% - 40px);
  min-width: 0;
}
/* En rätt: namn, streckad linje och pris */
.dish {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 25px;
  line-height: 1.5;
}
.dish strong { order: 10; }
@media (min-width: 1024px) {
  .dish::after {
    flex: 1;
    margin: 0 15px;
    content: "";
    border-bottom: 2px dashed currentColor;
    opacity: .5;
  }
}
.dish-desc {
  margin: 0;
  opacity: .65; /* .5 i originalet, för låg kontrast */
}
.dish-desc--lg { font-size: 18px; }
.dish-desc--gap { margin-bottom: var(--gap); }
.dish-desc--mb6 { margin-bottom: 6px; }
.dish-desc--mb4 { margin-bottom: 4px; }
.menu-note {
  margin: 0 0 var(--gap);
  font-size: 25px;
  text-align: center;
}

/* Kontakt */
.page-hero--kontakt { background-image: url("../img/hero-kontakt-2550.webp"); }

.contact-cards-section {
  padding: 100px 24px;
  background: var(--c6);
}
.contact-cards {
  display: flex;
  gap: 30px;
}
.contact-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 85px 55px;
  background: #fff;
  text-align: center;
  transition: all .12s cubic-bezier(.45, .05, .55, .95);
}
.contact-card svg {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 40px;
  fill: var(--c1);
  transition: fill .12s cubic-bezier(.45, .05, .55, .95);
}
.contact-card__title {
  margin: 0 0 25px;
  color: var(--c1);
  font-size: 25px;
  line-height: 1.2;
  transition: color .12s cubic-bezier(.45, .05, .55, .95);
}
.contact-card p {
  margin: 0 0 var(--gap);
  color: var(--c1);
  transition: color .12s cubic-bezier(.45, .05, .55, .95);
}
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a,
.contact-card a:hover { color: inherit; }
.contact-card a { text-decoration: underline; }
.contact-card:hover { background: var(--c1); }
.contact-card:hover svg { fill: #fff; }
.contact-card:hover .contact-card__title,
.contact-card:hover p { color: #fff; }

.catering {
  display: flex;
  column-gap: 150px;
}
.catering__text {
  flex: 1 1 calc(45% - 75px);
  min-width: 0;
  align-self: center;
}
.catering__text h2 {
  margin: 0 0 30px;
  font-size: 45px;
}
.catering__text .btn {
  padding: 16px 35px;
  font-size: 18px;
}
.btn--dark:hover { background: var(--c3); }
.catering__img {
  flex: 1 1 calc(55% - 75px);
  min-width: 0;
  align-self: flex-end;
  background: var(--c6);
}
.catering__img img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -50px;
}

/* Inläggshero (Aktuellt och inläggen) */
.post-hero {
  position: relative;
  padding-top: 120px;
  background: var(--c6);
}
.post-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  margin: 0;
}
.post-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 21, 26, .7);
}
.post-hero--blog .post-hero__media::after { background: rgba(18, 20, 26, .7); }
.post-hero__header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  padding: 180px 0;
  text-align: center;
}
.post-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 90px;
  font-weight: 800;
  line-height: 1.5;
}
.container--narrow { max-width: 750px; }

/* Listor och inlägg */
.entries-wrap { padding-block: 60px; }
.entry-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c3);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
  text-transform: uppercase;
}
.entry-meta li { display: inline-block; }
.entry-meta li:not(:last-of-type) { margin-right: 9px; }
.entry-meta li:not(:last-of-type)::after {
  position: relative;
  top: -.1em;
  margin-left: 9px;
  content: "/";
  vertical-align: baseline;
}
.entry-meta svg {
  position: relative;
  top: -.1em;
  width: 13px;
  height: 13px;
  margin-right: 7px;
  fill: currentColor;
  vertical-align: middle;
}
.entry-meta a { color: var(--c3); }
.entry-meta a:hover { color: var(--c2); }
.entry-card {
  padding: 30px;
  background: var(--c6);
}
.entry-card__content {
  display: flex;
  flex-direction: column;
}
.entry-card__content > * { margin: 0 0 20px; }
.entry-card__content > :last-child { margin-bottom: 0; }
.entry-title {
  font-size: 20px;
  line-height: 1.3;
}
.entry-title a { color: inherit; }
.entry-title a:hover { color: var(--c2); }
.entry-excerpt p { margin: 0; }

/* Aktuellt: kort under varandra */
.entries--classic .entry-card:not(:last-child) { margin-bottom: 30px; }
.entries--classic .entry-meta { margin-bottom: 15px; }

/* Ett inlägg */
.post-box {
  width: min(100%, var(--edge));
  max-width: 750px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 12px 18px -6px rgba(34, 56, 101, .04);
}
.post-box > :last-child,
.post-box .post-box__lead { margin-bottom: 0; }
.post-box .btn-group { margin-bottom: var(--gap); line-height: 0; }
.btn--sm {
  padding: 12px 16px;
  font-size: 15px;
}

/* Integritetspolicy och 404 (nya sidor, finns inte i originalet) */
.policy { padding: 100px 0; }
.policy__inner { max-width: 750px; }
.policy h2 {
  margin: 40px 0 15px;
  font-size: 30px;
}
.policy a:not(:hover) { text-decoration: underline; }
.policy .table-scroll {
  overflow-x: auto;
  margin: 0 0 24px;
}
.policy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.policy th,
.policy td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--c5);
  text-align: left;
  vertical-align: top;
}
.policy th { font-weight: 700; }
.policy code {
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--c6);
  font-size: 13px;
}
.policy--center { text-align: center; }
.policy--center .policy__inner p { margin: 0; }

/* ==========================================================================
   Surfplatta
   ========================================================================== */
@media (max-width: 999.98px) {
  .header-row {
    grid-template-columns: auto auto;
    min-height: 70px;
  }
  .main-nav,
  .header-socials { display: none; }
  .nav-toggle { display: flex; margin-left: 10px; }
  .header-logo img { height: 35px; }

  .footer-main {
    grid-template-columns: 1fr;
    padding-block: 50px;
    text-align: center;
  }
  .footer-col { align-items: center; }
  .footer-bottom {
    grid-template-columns: 1fr;
    padding-block: 25px;
  }

  .home-hero { padding: 200px 24px; }
  .home-hero h1 { font-size: 50px; }
  .features { margin-top: -70px; }
  .feature { padding: 60px 35px; }
  .feature img { width: 60px; height: 60px; }
  .spacer-100 { height: 70px; }
  .spacer-50 { height: 30px; }
  .section-title { font-size: 35px; }
  .dish-card { padding: 60px 35px; }
  .about { padding: 70px 24px; }
  .about h2 { margin-bottom: 15px; font-size: 35px; }
  .about__text { margin-bottom: 45px; }
  .occasion__box { padding: 35px; }

  .page-hero { padding: 200px 24px 130px; }
  .page-hero h1 { font-size: 50px; }
  .page-hero--gronsaker { background-image: url("../img/hero-gronsaker-1280.webp"); }
  .spacer-150,
  .spacer-120 { height: 70px; }
  .intro {
    flex-wrap: wrap;
    column-gap: 50px;
    row-gap: 30px;
  }
  .intro h2 { font-size: 35px; text-align: center; }
  .intro__title { flex: 1 1 100%; }
  .intro__col { flex: 1 1 calc(50% - 25px); }
  .gallery-section { padding: 70px 24px; }
  .split { flex-wrap: wrap; }
  .split > * { flex-basis: 100%; }
  .split h2 { margin-bottom: 15px; font-size: 35px; text-align: center; }
  .split p { margin-bottom: 30px; text-align: center; }
  .split__img img { width: 60%; margin: 0 auto; }

  .page-hero--pasta { background-image: url("../img/hero-pasta-1280.webp"); }
  .spacer-130 { height: 70px; }
  .menu-banner { padding: 70px 50px; }
  .menu-banner h2 { margin-bottom: 15px; font-size: 35px; }
  .menu-banner--forratter { background-image: url("../img/meny-forratter-1200.webp"); }
  .menu-banner--varmratter { background-image: url("../img/meny-varmratter-1200.webp"); }
  .menu-banner--desserter { background-image: url("../img/meny-desserter-1200.webp"); }
  .spacer-70 { height: 50px; }
  .menu-cols { column-gap: 60px; }

  .page-hero--kontakt { background-image: url("../img/hero-kontakt-1280.webp"); }
  .contact-cards-section { padding: 70px 24px; }
  .contact-card { padding: 60px 35px; }
  .contact-card svg { width: 50px; height: 50px; }
  .catering__text,
  .catering__img { flex-basis: calc(50% - 75px); }

  .post-hero { padding-top: 70px; }
  .post-hero__header { padding: 130px 0; }
  .post-hero h1 { font-size: 50px; }
  .post-box { padding: 35px; }
  .policy { padding: 70px 0; }
  .policy h2 { font-size: 25px; }
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 689.98px) {
  :root {
    --edge: 88vw;
    --gap: 16px;
  }
  .header-logo { margin-top: 10px; }
  .header-logo img { height: 107px; }

  .offcanvas__actions { padding-top: 20px; }
  .offcanvas__logo img { height: 130px; }
  .mobile-nav a { font-size: 18px; }
  .offcanvas__phone {
    color: #fff;
    font-size: 19px;
  }
  .offcanvas__phone a,
  .offcanvas__phone a:hover { color: #fff; }
  .offcanvas .socials { margin: 20px 0 0; }

  .footer-main { padding-block: 40px; }
  .footer-bottom { padding-block: 15px; }
  .copyright { font-size: 13px; }

  .home-hero { padding: 150px 16px 200px; }
  .about { padding: 70px 16px; }
  .features,
  .dish-cards,
  .occasions { flex-direction: column; }
  .dish-cards { gap: 30px; }
  .about__text { font-size: 16px; }

  .page-hero { padding: 200px 16px 130px; }
  .intro__col { flex-basis: 100%; }
  .intro p { text-align: center; }
  .intro--restaurang p,
  .split p { font-size: 16px; }
  .gallery-section { padding: 70px 16px; }
  .split__img img { width: 90%; }
  .split--reverse-mobile .split__text { order: 1; }
  .split--reverse-mobile .split__img { order: 2; }

  .menu-banner { padding: 35px; }
  .menu-cols {
    flex-direction: column;
    row-gap: 35px;
  }
  .dish { font-size: 23px; }
  .dish-desc--m17 { font-size: 17px; }
  .menu-note { font-size: 18px; }
  .helglunch .dish { font-size: 19px; }
  .helglunch .dish--sm { font-size: 18px; }
  .helglunch .menu-banner p { font-size: 19px; }

  .contact-cards-section { padding: 70px 16px; }
  .contact-cards,
  .catering { flex-direction: column; }
  .catering { row-gap: 100px; }
  .catering__text { text-align: center; }

  .entries-wrap { padding-block: 50px; }
  .post-hero--single h1 { font-size: 35px; }
  .post-box { padding: 20px; }
  .entry-title { font-size: 18px; }

  .cookie-consent__actions { flex-wrap: wrap; width: 100%; }
  .cookie-consent__btn { flex: 1; }
}

/* Galleriet går ner till två kolumner under 600 px, som WordPress-galleriet */
@media (max-width: 599.98px) {
  .gallery figure { width: calc(50% - 12px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
