/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================================
   GENERATEBLOCKS DEVELOPER RESET
   Strips all default block styling so custom classes have zero resistance.
   ========================================================================== */

/* montserrat-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/montserrat-v31-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/montserrat-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* 1. Strip Container Padding and Margins */
.gb-container, 
.gb-inside-container {
    padding: 0 !important; /* One of the rare times !important is justified in a reset */
    margin: 0;
}

/* 2. Strip Button Defaults (Forces them to inherit your design) */
a.gb-button, 
.gb-button-wrapper a.gb-button {
    background-color: transparent !important;
    color: inherit;
    padding: 0;
    border: none;
    border-radius: 0;
}

/* 3. Strip Headline Spacing (Let your global typography handle this) */
h1.gb-headline, h2.gb-headline, h3.gb-headline, p.gb-headline {
    margin-bottom: 0;
    padding: 0;
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* VARIABLES */

:root {
  --c-forest-dark: #131E04;
  --c-forest: #232E14;
  --c-espresso: #4A3B32;
  --c-sand: #EADDD7;
  --c-cream: #F5F2EB;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;

  --radius-pill: 50px;
  --shadow-soft: 0 20px 40px -12px rgb(35 46 20 / 0.2);
  --ease: 0.3s ease;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--ease), background-color var(--ease), color var(--ease);
}

.btn:hover { transform: translateY(-3px); }

.btn--glass { background: rgb(234 221 215 / 0.25); } /* hero */
.btn--clay { background: rgb(86 56 38 / 0.65); color: var(--c-cream); } /* pricelist */

.home-info {
  min-height: clamp(500px, 70vh, 850px);
  display: flex;
  align-items: center;
}

.media-section {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

/* Stretched image */
.media-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: -2;
  margin: 0;
}

.media-bg img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
}

/* TINT */
.media-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tint, rgb(35 46 20 / 0.3));
  pointer-events: none;
}

/* BLURRED IMAGE */
.media--blur .media-bg img {
  filter: blur(6px);
  transform: scale(1.06);
}

@keyframes parallax-shift {
  from { transform: translateY(-20%); }
  to   { transform: translateY(20%); }
}

/* Tint colours */
.media--light { --tint: rgb(245 242 235 / 0.35); }
.media--dark  { --tint: rgb(19 30 4 / 0.45); }

/* Stronger tint on the side the text sits on */
.media--fade-left {
  --tint: linear-gradient(to right,
    rgb(245 242 235 / 0.9) 0%,
    rgb(245 242 235 / 0.7) 45%,
    transparent 70%);
}

/* Parallax: make image taller than section, move it */
.media--parallax .media-bg {
  top: -20%;
  height: 140%;
}

.media--fade-top {
  --tint: linear-gradient(to bottom, rgb(245 242 235 / 0.15), transparent 25%);
}

.media--soft { --tint: rgb(42 63 50 / 0.15); }

.media--green-tint {
  --tint: linear-gradient(to right, 
  rgb(95 106 80 / 0.25) 0%,
  rgb(35 46 20 / 0.2) 50%);
}

.home-info .media-bg img { object-position: center 60%; }
@supports (animation-timeline: view()) {
  .media--parallax .media-bg {
    animation: parallax-shift linear both;
    animation-timeline: view();
    animation-range: cover;
  }
}

.glass-panel {
  background: rgb(245 242 235 / 0.55);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 2rem;
}

.top-bar {
  /*background-color: #1A241E; /* A slightly darker shade than your main green */
	/* updated */
	background-color: #131E04;
  /*color: #F7F5F0;*/
	color: #EADDD7;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem; /* Keep it very small! */
  letter-spacing: 1px;
  padding: 0.25px 0;
}

/* 2. Style the switch link */
.location-bar-text a {
  color: #EADDD7!important; /* Your soft sand color makes it pop slightly */
  margin-left: 10px;
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 221, 215, 0.4); /* Elegant underline */
  transition: opacity 0.3s ease;
}

.location-bar-text a:hover {
  opacity: 0.6;
}

.site-logo {
	filter: invert(1);
	opacity: 1;
}

.site-header { 
  border: none;
  /* The Sticky Magic */
  position: sticky;
  top: 0;
  z-index: 999; /* Keeps it above all other content */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); /* Adds a soft shadow underneath */
}

@media (max-width: 768px) {
  /* 1. Shrink the Hamburger Button 
     Forces the icon's clickable area to match our new slim header height */
  button.menu-toggle {
    line-height: 40px !important; 
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.main-navigation .main-nav ul li a {
  /*color: #F7F5F0; /* Soft off-white */
	color: #EADDD7;
  font-family: var(--font-body); /* Ensure it uses your clean sans-serif */
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  line-height: 30px;
  text-transform: uppercase;
  background-color: transparent !important; /* Kills default GP background */
  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease;
}

.main-navigation .main-nav ul li a:hover {
  /*color: #F7F5F0 !important;*/
	color: #EADDD7;
  background-color: transparent !important;
  opacity: 0.6; /* Gently fades the text instead of a clunky color swap */
}

/* ==========================================================================
   SUB-MENU (DROPDOWN) STYLING
   ========================================================================== */

/* 1. The Dropdown Box (The container holding the sub-links) */
.main-navigation ul ul.sub-menu {
  background-color: #232E14 !important; /* Your dark moss color so the text is legible */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); /* Deeper shadow to lift it off the page */
  border-top: #131E04 solid 1.5px; /* A strong top border in your darkest green for a premium feel */
  border-radius: 8px; /* Soft pebble-like corners to match your theme */
  padding: 10px 0; /* Breathing room at the top and bottom of the box */
}

/* 2. The Links INSIDE the Dropdown */
.main-navigation .main-nav ul ul.sub-menu li a {
  color: #F5F2EB !important; /* Your sand color */
  padding: 12px 24px; /* Nice wide clickable area */
  font-size: 0.85rem; /* Slightly smaller than the main navbar links */
  letter-spacing: 1px; /* Slightly tighter than the main links */
  text-transform: none; /* Sentence case usually looks more elegant in dropdowns */
  background-color: transparent !important;
  transition: opacity 0.3s ease, padding-left 0.3s ease; /* Adds a slick slide effect */
}

/* 3. The Hover Effect for Sub-links */
.main-navigation .main-nav ul ul.sub-menu li a:hover {
  opacity: 0.6; /* Keeps the text solid */
  color: #F5F2EB !important; /* Brightens on hover */
  padding-left: 28px; /* Nudges the text slightly to the right on hover (Premium feel) */
  background-color: transparent !important;
}

@media (max-width: 768px) {
  .main-nav ul li a {
    font-size: 1.125rem!important; /* Slightly smaller font for mobile */
    margin: 5px 5px!important; /* Reduces the spacing between links */
  }
}

/* -------------------
 * Hjemmeside Hero
 * ------------------ */

.location-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(to bottom, rgba(35, 46, 20, 0.35), rgba(35, 46, 20, 0.25)); /* Heavy green tint */

  z-index: 1; /* Places the overlay above the background image but below the text */
  pointer-events: none; /* Allows clicks to pass through the overlay to any buttons or links in the hero */
}

.location-hero {
  position: relative;
  overflow: hidden;
  z-index: 0;
  /*color: #F7F5F0; /* Soft off-white text */
	color:#F5F2EB!important;
 /* Massive padding top/bottom makes it look expensive */
	padding: 10rem 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 -60px 60px -60px rgba(19, 30, 4, 0.5)!important;
  /*box-shadow: 0 10px 30px rgba(35, 46, 20, 0.35); /*Adds depth to the hero section */
}

/* 2. Constrain the text so it doesn't stretch too wide on desktop */
.location-hero > .gb-inside-container,
.hero-content {
  position: relative; 
  max-width: 800px;
  padding: 10px 10px;
}

/* The Premium All-Caps Hero Formula */
.hero-content h1 { /* Replace with your actual hero H1 class */
  font-family: 'Montserrat', sans-serif!important; /* Swap with your choice */
  text-transform: uppercase!important;
  font-weight: 200!important; /* Lighter weights look more expensive in all-caps */
  letter-spacing: 4px; /* The secret ingredient: wide tracking */
  line-height: 1.2;
  
  color: #4A3B32; /* Your deep espresso color */
}

/* 3. Typography Tweaks */
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Scales beautifully on mobile and desktop */
  margin-bottom: 2rem;
	/*
  color: #F7F5F0; /* Forces heading to stay light */
	color: #F5F2EB;
  text-shadow: 3px 3px 5px rgba(35, 46, 20, 0.35);
  z-index: 2;
}

.hero-content p {
  font-size: clamp(1rem, 5vw, 1.35rem);
  margin-bottom: clamp(1rem, 5vw, 3.5rem);
  opacity: 0.9; /* Softens the paragraph text slightly */
  text-shadow: 3px 3px 5px rgba(35, 46, 20, 0.35);
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-btn {
    margin-bottom: 1rem!important;
  }
}

/* 4. The "Book Now" Button */
.hero-btn {
  display: inline-block;
  background-color: rgba(234, 221, 215, 0.25) !important; /* Your soft clay/sand complementary color! */
	/*
  color: #2A3F32; /* Dark green text on the light button */
	/* color: #4A3B32; */
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px; /* Makes it a modern pill shape */
  transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.4s ease; /* Smooth hover effects */
  z-index: 2;
  margin-top: 1.5em;
}

/* Button Hover Effect */
.hero-btn:hover {
  opacity: 1;
  backdrop-filter: blur(2px); /* Optional: Adds a subtle blur to the background behind the button on hover */
  transform: translateY(-3px); /* Button lifts up slightly */
  background-color: #EADDD7!important; /* Brightens on hover */
  color: #232E14 !important;
}

.soft-blur {
  backdrop-filter: blur(1px);
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.01) 10%,
    rgba(0,0,0,0.01) 90%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  z-index: 1;
}

/* ---------------
 * Landingsside
 * ---------------*/

.page-id-17 .top-bar {
	display: none;
}

.page-id-17 .site-header {
	display: none;
}

.page-id-17 {
	/*
	background-color: #2A3F32;
	*/
	background-color: #232E14;
}

.about-us {
	text-align: center;
  padding-bottom: 50px;
  max-width: 90%;
  position: relative;
  left: 5%;
}

.about-us-header {
	justify-content: center;
	text-align: center!important;
}

.location-split-screen {
  display: flex;
  height: 50vh; /* 100% of the viewport height */
  width: 100%;
  margin: 0;
  padding: 0;
}

.location-card {
	flex: 1;
	position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none!important;
  overflow: hidden;
}

.location-card::before {
  content: "";
  position: absolute;
  inset: 0; /* Stretches the overlay across the whole card */
	/*
  background-color: #2A3F32;*/
	background-color: #232E14;
  opacity: 0.5; /* Heavy tint by default */
  transition: opacity 0.5s ease; /* Smooth fade effect */
  z-index: 1;
}

.location-card:hover::before {
  opacity: 0.1; /* Drops the green tint so the photo reveals itself */
}

.location-name {
  position: relative;
  z-index: 2; /* Keeps the text above the green overlay */
	/*
  color: #F7F5F0; /* Soft off-white */
	color: #EADDD7;
  font-family: serif;
  font-size: 2rem;
  letter-spacing: 2px;
	text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.5s ease;
}

.location-card:hover .location-name {
  transform: scale(1.5);
	text-decoration: none;
  backdrop-filter: blur(1px);
	/*transition: transform 0.5s ease;*/
}

/* Svevande Booking-knapp */

.floating-book-btn {
  position: fixed;
  bottom: 30px; /* Space from the bottom of the screen */
  right: 30px;  /* Space from the right edge */
  font-weight: 600;
  text-decoration: none;
  z-index: 9999; /* Guarantees it stays on top of everything else */
  color: #232e14 !important;
  padding: 8px 20px !important;
  background: rgba(245, 242, 235, 0.55);
  border-radius: 50px;
  border: 2px solid rgba(74,59,50, 0.2) !important;
  backdrop-filter: blur(10px);
  transition: background-color 0.4s, border 0.4s, ease-in-out;
}

.floating-book-btn:hover {
  /*transform: translateY(-5px);*/ /* Lifts up when hovered */
  background-color: #4A4B32 !important; /* Fills in with color only on hover */
	/*
  color: #2A3F32 !important;*/
	/* color: #232E14; */
  color: #F5F2EB !important;
  border-color: #4A4B32 !important;
	text-decoration:none;
  transform: translateY(-2px);
  transition: all 0.4s ease-in-out;
}


/* ==========================================================================
   Back to top - knapp
   ========================================================================== */

.floating-book-btn,
a.generate-back-to-top {
  position: fixed;
  bottom: 30px;
  z-index: 9999;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: rgb(245 242 235 / 0.55);
  border: 2px solid rgb(74 59 50 / 0.2);
  backdrop-filter: blur(10px);
  color: var(--c-forest);
  text-decoration: none;
  transition: background-color 0.4s ease, border-color 0.4s ease,
  color 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
}

.floating-book-btn:hover,
a.generate-back-to-top:hover {
  background: var(--c-espresso);
  border-color: var(--c-espresso);
  color: var(--c-cream);
  transform: translateY(-2px);
}

.floating-book-btn {
  right: 30px;
  padding: 0 20px;
  font-weight: 600;
}

a.generate-back-to-top {
  left: 30px;
  right: auto;
  width: 44px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 768px) {
  .floating-book-btn {
    display: block;
    position: static;
  }

  .generate-back-to-top {
    visibility: hidden;
  }
}

.wpcf7 {
	justify-items: center;
	justify-content: center;
	text-align: left;
	max-width: 65%;
	margin-left: 12.5vw;
}

/* ==========================
    Kontaktskjema
   ========================== */

/* 1. Style the Input Fields and Text Area */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%; /* Makes the boxes fill the available space */
  background-color: transparent; /* Lets your soft sand background show through */
  border: 1px solid rgba(42, 63, 50, 0.2); /* A very soft, 20% opacity dark green border */
  border-radius: 8px; /* Slight rounding for a softer feel */
  padding: 14px 18px; /* Massive breathing room inside the box */
  font-family: var(--font-body);
  font-size: 1rem;
	/*
  color: #2A3F32; /* Dark green text when they type */
	color: #4A3B32;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Keeps padding from stretching the width */
  margin-bottom: 6px; /* Space between fields */
}

/* 2. The Focus State (When the user clicks inside the box) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none; /* Kills the ugly default blue glow browsers add */
	/*
  border: 1px solid #2A3F32; /* The border turns solid brand green */
	border: 1px solid #232E14;
  background-color: rgba(255, 255, 255, 0.5); /* Brightens the box slightly so they know it's active */
}

/* 3. Style the Labels (Name, Email, Message, etc.) */
.wpcf7 label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
	/*
  color: #2A3F32;*/
	color: #232E14;
  margin-bottom: 8px;
  display: block; /* Forces the label to sit neatly above the input box */
  letter-spacing: 0.5px;
}

/* 4. The Submit Button (Matching your Hero Button style) */
.wpcf7-submit {
	/*
  background-color: #2A3F32 !important; /* Solid dark green */
	background-color: #232E14!important;
  /*color: #F7F5F0 !important; /* Off-white text */
	color: #EADDD7;
  padding: 0.65rem 2rem !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none !important;
  border-radius: 50px !important; /* Premium pill shape */
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-top: 15px;
  width: auto; /* Keeps it from stretching across the whole screen */
}

.wpcf7-submit:hover {
  transform: translateY(-3px);
  background-color: #1A241E !important; /* Slightly darker green on hover */
}

/* 5. Hide CF7 validation borders and style the success message */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  padding: 15px;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: #2A3F32;
  color: #F7F5F0;
}

.employee-row {
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
  padding-inline: 24px;
}

.employee-row > .card {
  flex: 1 1 250px;
  max-width: 450px;
}

.employee-info {
  display: grid;
  max-width: 400px;
	margin-bottom: 36px;
	text-align: center;
  opacity: 0.87;
	box-shadow: 0 20px 40px -12px rgba(35, 46, 20, 0.2);
  transition: all 0.3s ease-in-out;
}

.employee-info:hover {
  background-color: #EADDD7;
  opacity: 1;
  transform: translateY(-2px);
  transition: all 0.3s ease-in-out;
}

.employee-text {
  padding-left: 20px;
  padding-right: 20px;
}
.employee-info2 {
  display: grid;
  max-width: 400px;
  /*border-radius: 50px;*/
	margin-bottom: 36px;
	text-align: center;
	box-shadow: 0 20px 40px -12px rgba(35, 46, 20, 0.2)
}

.employee-picture {
  opacity: 0.95;
  height: auto;
	margin-bottom: 24px!important;
	transition: border-radius 1s ease;
}

.card {
  display: grid;
  max-width: 450px;
  margin-bottom: 50px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.card--hover {
  opacity: 0.90;
  background: #f2EBE7;
  transition: background-color var(--ease), opacity var(--ease), transform var(--ease);
}

.card--hover:hover {
  background: var(--c-sand);
  opacity: 1;
  transform: translateY(-2px);
}

.site-pic {
	background-image: linear-gradient(rgba(42, 63, 50, 0.15), rgba(42, 63, 50, 0.15)), url('https://staging.kalvatnkroppspleie.no/wp-content/uploads/2026/04/589319482_18388479628181262_5416304437463080079_n.jpg');
  background-size: cover;
  background-position: center;
	
	  color: #F7F5F0; /* Soft off-white text */
	padding: clamp(6rem, 20vw, 16rem) 2rem;/* Massive padding top/bottom makes it look expensive */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
	margin-bottom: 36px;
}

.divider-pic {
  min-height: clamp(350px, 50svh, 600px);
  display: flex;
  align-items: center;
}

.divider-text {
  margin: 0 5%;
  padding: 175px 40px;
}

.divider-pic p {
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.22);
  letter-spacing: 1.9px;
  line-height: 1.7;
  font-weight: 400;
}

.home-info-text-box {
  pointer-events: none;
  z-index: 1;
  padding: 10px 10px;
  margin-left: clamp(1.7rem, 9vw, 130px);
  max-width: 40%;
}

.home-info-text {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  letter-spacing: 3px !important;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
  font-weight: 400 !important;
}

.home-info-sub-text {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  letter-spacing: 0.7px;
  line-height: 1;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
  font-weight: 400 !important;
}



@media (max-width: 768px) {
    .home-info-text-box {
      max-width: 100%!important;
      padding: 20px 0;
      justify-content: center!important;
      align-items: center!important;
    }
    .home-info-text {
      width: 80%;
      /* margin-left: 20px;
      margin-right: 0;
      margin-top: 20px; */
      
      text-align: center!important;
    }
    .home-info::before {
      min-height: 100px;
      top: -25%;
      bottom: -20%;
    }
  }

/* 1. The Wrapper (Now using Flexbox) */
.services {
  display: flex !important;
  flex-wrap: wrap; /* Tells the cards to wrap to a new line when out of room */
  justify-content: center; /* THE MAGIC LINE: Centers the bottom row orphans perfectly! */
  gap: 36px;
}

/* 2. The Card (Updated for Flexbox sizing) */
.specific-service {
  /* We replace the grid math with these two lines: */
  width: 100%; 
  max-width: 300px!important; /* Locks them to the exact same size as your old grid */
  box-sizing: border-box;
  
  /* The rest of your inner flexbox stays exactly the same! */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  /* padding: 3rem 2rem; */
  text-align: center;
}

/* 3. The Auto-Push Trick (Stays exactly the same) */
.specific-service > *:last-child {
  margin-top: auto;
}

/* 4. Inner Elements (Stays exactly the same) */
.specific-service h2 {
  font-size: 1.75rem;
  color: #232E14;
  margin-bottom: 1rem;
}

.service-picture {
  object-fit: cover;
  height: auto;
  margin-bottom: 1.5rem;
}

.products {
  display: flex !important;
  flex-wrap: wrap;
  line-height: 2.5rem;
}

.product {
  justify-content: left;
}

.product-btn {
  opacity: 0.87 !important;
  color: #F7F5F0 !important;
  background: none;
}

.treatments-sep {
  opacity: 0.6;
}

.tsep-top {
  vertical-align: bottom;
}

.tsep-btm {
  vertical-align: top;
}

.price {
  list-style: none;
}



@media (max-width: 768px) {
  .services {
    gap: 24px;
  }
  .specific-service {
    max-width: 100% !important; /* Forces them to stack vertically on mobile */
  }
  .product-btn {
    font-size: 1.35rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    gap: 1rem;
  }
  .product-btn:last-of-type {
    padding-bottom: 0; /* Removes the extra space after the last button */
    margin-bottom: 0; /* Removes the extra space after the last button */
  }
  .product-btn:first-of-type {
    padding-top: 0; /* Removes the extra space before the first button */
    margin-top: 0; /* Adds a little space before the first button */
  }
  #first-product-btn {
    padding-top: 0; /* Removes the extra space before the first button */
    margin-top: 0; /* Adds a little space before the first button */
  }
  #last-product-btn {
    padding-bottom: 0; /* Removes the extra space after the last button */
    margin-bottom: 0; /* Removes the extra space after the last button */
  }
}

/* ===================
  some
  ==================== */

.some {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 36px;
  /* padding-left: 10vw; */
  justify-content: center;
}

.ig-wrapper {
  max-width: 50%;
}

/*.responsive-fb-wrapper {
  width: 100%;
  max-width: 500px; /* Facebook's max supported width *//*
  overflow: hidden;
  margin: 0 auto; /* Centers the feed if on a wider screen *//*
}

.responsive-fb-wrapper iframe {
  width: 100% !important;
  max-width: 100% !important;
}*/

.entry-title a {
    pointer-events: none;
    font-size: 2vw;
}

.service-class {
  background-color: #F5F2EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-class:nth-child(even) {
  flex-direction: row-reverse;
}

.service-class > * {
  flex: 0 0 calc(50%);
  min-width: 0;
}

.service-class img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.service-text {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem;
  letter-spacing: 0.12vw;
  text-shadow: 2px 2px 3px rgba(35, 46, 20, 0.08);
}

.service-text h2 {
  font-size: 4vw;
  margin-bottom: 4vw;
}

.service-text h3 {
  font-size: 2vw;
  line-height: 2vw;
}

.service-text p {
  line-height: 160%;
}

.service-class:nth-child(even) {
  flex-direction: row-reverse;
}

.service-class:nth-child(odd) .service-text {
  align-items: flex-start;
  text-align: left;
}

.service-class:nth-child(even) .service-text {
  align-items: flex-end;
  text-align: right;
}

.show-pricelist-btn{
  display: inline-block;
  background-color: rgba(86, 56, 38, 0.65) !important; /* Your soft clay/sand complementary color! */
	color: #F7F5F0!important;
  margin-top: 3rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px; /* Makes it a modern pill shape */
  transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.4s ease; /* Smooth hover effects */
  z-index: 2;
  box-shadow: 2px 2px 4px rgba(86, 56, 38, 0.25);
}

.show-pricelist-btn:hover {
  opacity: 1;
  backdrop-filter: blur(2px); /* Optional: Adds a subtle blur to the background behind the button on hover */
  transform: translateY(-3px); /* Button lifts up slightly */
  background-color: #4A3B32!important; /* Brightens on hover */
  color: #F7F5F0 !important;
}

@media (max-width: 768px) {
  .service-class > .service-info {
    padding: 0 1rem;
  }
  .service-text {
    padding: 0 0rem;
  }
  .service-class,
  .service-main:nth-child(even) .service-text {
    flex-direction: column !important; /* Forces them to stack vertically */
    text-align: center !important; /* Usually looks better centered on phones */
    gap: 2rem; /* Shrink the gap for smaller screens */
    align-items: center!important; /* Centers the text and image */
  }

  .service-main:nth-child(odd) .service-text {
    flex-direction: column !important; /* Forces them to stack vertically */
    text-align: center !important; /* Usually looks better centered on phones */
    gap: 2rem; /* Shrink the gap for smaller screens */
    align-items: center!important; /* Centers the text and image */
  }

  .service-text h2 {
    font-size: 8vw;
  }
  .service-text h3 {
    font-size: 5vw;
  }

  .show-pricelist-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.contact-info {
  display: flex;
  flex: 0 0 calc(50%);
  gap: 36px;
  height: auto;
  padding-left: 15vw;
  padding-right: 15vw;
}

.address {
  min-width: 35%;
}

.footer-widgets {
  background-color: #F5F2EB;
}

.footer-widgets a {
  color: #4A3B32;
}

.inside-footer-widgets aside.widget_nav_menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0 10%;
}

.menu-sitemap-volda {
  width: 100% !important;
}

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .address {
    min-width: 100%;
    margin-bottom: 2rem;
  }
  .inside-footer-widgets aside.widget_nav_menu ul {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(42, 63, 50, 0.35);
  }
}

/* ==========================================================================
   WORDPRESS EDITOR OVERRIDES (Keeps content editable in the backend)
   ========================================================================== */

/* 1. Disable the Flexbox Zig-Zag ONLY in the editor */
.block-editor-block-list__layout .service-class,
.block-editor-block-list__layout .service-main:nth-child(even) .service-class {
  display: block !important; 
}

/* 2. Force the inner elements to stack neatly at 100% width so nothing hides */
.block-editor-block-list__layout .service-class img,
.block-editor-block-list__layout .service-class .service-info,
.block-editor-block-list__layout .service-class > div {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin-bottom: 2rem !important;
  flex: none !important; /* Kills the 50/50 flex math in the backend */
}