/**
Theme Name: Nutrition Data 2025
Author: VAIA Digital AB
Author URI: https://vaia.se
Description: Child theme for nutritiondata.se
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nutrition-data-2025
Template: astra
*/

body .wp-block-uagb-container > p {
	margin-bottom: 0;
}
body .uagb-counter-block-suffix {
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: 110%;
}
body .uagb-testimonial-details {
	text-align: left;
	padding-left: 10px;
}

body .uagb-faq-content a {
	color: inherit;
}

body header .main-header-menu:not(#ast-desktop-toggle-menu) {
	border-radius: 250px;
	border: 1px solid #D8D8D8;
	background: #FFF;
	padding: 7px;
	gap: 5px;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height: 40px;
}
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link {
	border-radius: 250px;
	font-weight: 600;
}
.ast-builder-menu-1 .menu-item:hover > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
	border-radius: 250px;
}

body #ast-mobile-popup-wrapper .main-header-menu {
	margin-top: 60px;
	gap: 5px;
}
body #ast-mobile-popup-wrapper .main-header-menu a {
	border-left: 4px solid var(--ast-global-color-8);
	font-size: 24px;
	font-style: normal;
	font-weight: 300;
	line-height: 110%; /* 26.4px */
	padding: 11px 40px 13px;
}
body #ast-mobile-popup-wrapper .main-header-menu a:hover,
body #ast-mobile-popup-wrapper .main-header-menu .menu-item.current-menu-item > .menu-link {
	border-left-color: var(--ast-global-color-0);
	color: inherit;
}
/*.home .ast-header-button-1 .ast-custom-button {
	color: var(--ast-global-color-4);
	border-color: var(--ast-global-color-4);
}
.home [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
	fill: var(--ast-global-color-4);
}
.home [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal {
	color: var(--ast-global-color-4);
}*/

/* Kostrådgivare */
.hero h1 em,
.hero h2 em {
  position: relative;
  display: inline-block;   /* viktigt för att kunna placera ::after rätt */
  font-style: normal;      /* ta bort italic om du inte vill ha det */
  z-index: 0;
}

.hero h1 em::after,
.hero h2 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  left: -0.25em;       /* sticker ut före ordet */
  right: -0.25em;
  bottom: 0.05em;          /* justera beroende på SVG */
  height: 25px;           /* anpassa efter SVG-höjd */
  background-image: url('assets/img/text_bg.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;  /* eller contain/cover beroende på SVG */
  z-index: -1;
}
.hero .hero-images {
  position: relative;
  display: inline-block;
}
body .hero .hero-images .wp-block-uagb-image {
  position: absolute !important;
}
.hero .hero-images .wp-block-uagb-image figure {
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
  transition: transform 0.3s;
  width: auto%;
}
.hero .wp-block-uagb-image:nth-child(1) {
  top: 20px;
  left: 0px;
  z-index: 1;
}
.hero .wp-block-uagb-image:nth-child(2) {
  top: 230px;
  left: 50px;
  z-index: 2;
}
.hero .wp-block-uagb-image:nth-child(3) {
  top: 110px;
  right: -240px;
  z-index: 3;
}
#content .wp-block-post-template li.reference {
	background-color: transparent;
	border: 0;
}
#content .wp-block-post-template li.reference img {
	max-height: 250px;
	max-width: 400px;
}
/* Footer */
#main .entry-content > div:last-child {
	padding-bottom: 254px;
}
@media only screen and (max-width: 767px) {
	#main .entry-content > div:last-child {
		padding-bottom: 100px;
	}
	#content ul.wp-block-post-template {
		margin: 0;
	}
}
@media only screen and (min-width: 920px) and (max-width: 1279px) {
	body .site-header-primary-section-right .ast-header-button-1,
	body .site-header-primary-section-right .ast-header-button-2 {
		display: none;
	}
}