/* 
Theme Name: EBOSS Theme
Author: Creative Works Sweden AB
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */
/*
Light
font-family: aktiv-grotesk-thin, sans-serif;
font-weight: 200;
font-style: italic;
*/
/*
Aktiv Grotesk Light
font-family: "aktiv-grotesk", sans-serif;
font-weight: 300;
font-style: normal;
*/
/*
Aktiv Grotesk Light Italic
font-family: "aktiv-grotesk", sans-serif;
font-weight: 300;
font-style: italic;
*/
/*
Regular
font-family: "aktiv-grotesk", sans-serif;
font-weight: 400;
font-style: normal;
*/
/*
Medium
font-family: aktiv-grotesk, sans-serif;
font-weight: 500;
font-style: normal;
*/
/*
Aktiv Grotesk SemiBold
font-family: "aktiv-grotesk", sans-serif;
font-weight: 600;
font-style: normal;
*/
/*
Bold
font-family: aktiv-grotesk, sans-serif;
font-weight: 700;
font-style: normal;
*/

header .site-branding{
    display: flex;
    justify-content: start !important;
    align-items: center !important;
    position: relative;
    height:260px;
    width:488px;
    transition: height 0.3s ease;
}
header .e-con-inner{
    padding-top:0px !important;
}
header .elementor-widget-theme-site-logo{
    width:100%;
    height:100%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    left:-170px;
}
header .elementor-widget-theme-site-logo a{
    z-index:2;
}
header .elementor-widget-theme-site-logo a,
header .elementor-widget-theme-site-logo img{
    width:155px !important;
    height: 32px !important;
}
header .elementor-widget-theme-site-logo::after{
    content:'';
    display: block;
    position: absolute;
    left:0px;
    top:30px;
    width:100%;
    height:100%;
    background-image: url('assets/images/logo-ring.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    opacity: 1;
    transition: all 0.3s ease;
}
header li a{
    font-size: 1.25rem;
    font-family: "aktiv-grotesk", sans-serif;
    font-weight: 400 !important;
    font-style: normal;
}
/* Basläge: hög, transparent, över hero */
.eboss-header {
  position: fixed;
  top: -30px;
  left: 0;
  right: 0;
  z-index: 1000;

  background-color: rgba(0,0,0,0); /* transparent */
  padding-top: 0px;
  padding-bottom: 0px;

  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: none;
}

/* När vi har scrollat ner */
.eboss-header.is-scrolled {
  background-color: #031524 !important; /* byt till det du vill */
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* Låt fokus-ram vara kvar för tangentbord (bra tillgänglighet) */
#elementor-popup-modal-587 a:focus-visible,
#elementor-popup-modal-587 button:focus-visible {
  outline: 2px solid currentColor; /* eller din design */
  outline-offset: 3px;
}
header .eboss-header.is-scrolled .site-branding{
    height:110px;
}
header .eboss-header.is-scrolled .elementor-widget-theme-site-logo::after{
    top:-75px;
    opacity: 0;
}
/* Valfritt: mörk variant istället */
.eboss-header.is-scrolled.header-dark {
  background-color: rgba(0,0,0,0.7);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  color: #fff;
}
footer .elementor-widget-theme-site-logo a,
footer .elementor-widget-theme-site-logo img{
    width:183px !important;
    height: 39px !important;
}
.menu-item a{
    font-family: "aktiv-grotesk", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}
.menu-item a:hover{
    color:#428CD7 !important;
}
h1{
    font-family: "aktiv-grotesk", sans-serif !important;
    font-weight: 500;
    font-style: normal;
    color: #fff !important;
    line-height:1.1 !important;
}
h1 span.thin-italic{
    font-family: aktiv-grotesk-thin, sans-serif;
    font-weight: 200;
    font-style: italic;
}
.thin *{
    font-weight: 200 !important;
}
.fullscreen-title h1{
    font-size: clamp(3.75rem, 8vw, 10rem);
    line-height: 0.875em;
    margin-bottom:70px;
}
h2,
h3,
h4,
h5,
h6{
    font-family: "aktiv-grotesk-thin", sans-serif !important;
    font-weight: 200;
    font-style: normal;
    color: #fff !important;
}
h2{
    font-size: 3.125rem;
    line-height:3.75rem !important;
    margin-bottom:40px !important;
}
p{
    font-family: "aktiv-grotesk", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}
p{
    font-size: 1.25rem;
}

.ingress p,
p.ingress{
    font-weight: 600;
}
.text-img-block-c h2{
    line-height: 1.2 !important;
}
.text-block-c p,
.text-img-block-c p{
    margin-bottom: 1.5em;
}
.text-block-centered p{
    font-weight: 300;
    font-style: italic;
    font-size: 2.188rem;
}
.text-img-block-c h2,
.text-img-block-c h3,
.contact-container-c h2{
    font-family: "aktiv-grotesk", sans-serif !important;
}

.contact-container-c{
    background: transparent linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(86, 95, 114, 0) 60%) 0% 0% no-repeat padding-box;
}
.contact-container-c h2{
    font-size: 3.125rem;
    line-height: 1.2 !important;
    margin-bottom: 1.14em !important;
}
.contact-container-c .link-arrow a{
    font-weight: 700;
    font-size: 1.56rem;
}


body .icon-list-c.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon svg{
    width: 26px;
    height: auto;
    margin-right: 19px;
}
body .icon-list-c.elementor-widget.elementor-widget-icon-list .elementor-icon-list-text{
    font-family: "aktiv-grotesk", sans-serif;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}


.fullscreen-text p{
    text-align: right;
}
.page-header .entry-title, 
.site-footer .footer-inner, 
.site-footer:not(.dynamic-footer), 
.site-header .header-inner, 
.site-header:not(.dynamic-header), 
body:not([class*=elementor-page-]) .site-main{
    max-width: 1500px;
}
a.eboss-area{
    display: block;
}
a.eboss-area p,
.link-arrow a{
    font-family: "aktiv-grotesk", sans-serif !important;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    color:#fff;
    margin-top:52px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
a.eboss-area:hover p{
    color:#428CD7;
}
a.eboss-area p::after,
.link-arrow a::after{
    content:'';
    background-image:url('assets/images/arrow-2.svg');
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width:30px;
    height:30px;
    margin-left: 20px;
    transform: translate(0, 0) scale(1);
    transform-origin: bottom left;
    transition: transform 0.2s ease !important;
}
a.eboss-area:hover p::after,
.link-arrow a:hover::after{
    transform: scale(1.15);
}
.areas-outer a.eboss-area p{
    color: #031524;
}
.areas-outer a.eboss-area:hover p{
    color: #428CD7 !important;
}
.areas-outer
.areas-bg-el{
    position: absolute;
    width: 100vw;
    left: calc((100vw - min(100vw, 1520px)) / 2);
    right:0px;
    top:0px;
    z-index:-1;
    height:100%;
    border-radius: 180px 0px 0px 180px;
    background-color: #E0D6D0;
}
.text-image-container{
    position: relative;
}
.text-image-container .elementor-widget-heading,
.text-image-container .elementor-widget-text-editor{
    max-width: 440px !important;
}
.image-expand-right{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: calc((100vw - min(100vw, 1500px)) / 50%); /* startar vid mitten av den boxade containern */
    background: #ccc;
    overflow: hidden;
    z-index: 1;
}
.mt-0 a{
    margin-top:0px !important;
}

.contact-cards__grid { 
    display: grid; 
    gap: 24px; 
}
.contact-card {
  display: grid;
  grid-template-columns: 254px 1fr; /* Bild vänster, info höger */
  gap: 90px;
  align-items: start;
}
.contact-card__image{
    width:254px;
    height:305px;
    overflow: hidden;
}
.contact-card__image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}
.contact-card__info{
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-top:10px;
}
.contact-card__name { 
    margin: 0 0 10px;
    font-size: 1.562rem;
    font-family: "aktiv-grotesk", sans-serif !important;
    font-weight: 500;
}
.contact-card__title { 
    margin: 0 0 12px; 
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color:#428CD7;
}
.contact-card__phone, 
.contact-card__email { 
    margin: 0 0 8px; 
    font-size: 1.25rem;
    font-weight: 500;
}
.contact-card__phone{
    margin-top: 20px;
}
.contact-card__email{ 
    margin: 0px; 
}

/*--- Kontaktpersoner ---*/
    .contacts-grid {
    display: grid;
    column-gap: 80px;
    row-gap: 80px;
    grid-template-columns: repeat(auto-fit, minmax(254px, 1fr));
    }
    .contacts-grid__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.contacts-grid__media {
  width: 100%;
  aspect-ratio: 254 / 305;
  overflow: hidden;
  margin-bottom: 40px;
}
.contacts-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contacts-grid__body { 
    width: 100%; 
}
.contacts-grid__name { 
    margin: 0 0 0px; 
    font-size: 1.75rem; 
    line-height: 1.75; 
    font-weight: 500;
    font-family: "aktiv-grotesk", sans-serif !important;
}
.contacts-grid__title { 
    margin: 0 0 30px;
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: #428CD7;
}
.contacts-grid__phone, 
.contacts-grid__email { 
    margin: 0 0 6px; 
}
.contacts-grid__email a { 
    overflow-wrap: anywhere; 
    word-break: break-word; 
}
footer ul{
    list-style: none;
    padding-left: 0px;
}
footer ul li{
    margin-bottom:20px;
}
footer ul li a{
    font-size: 1.125rem;
}


/*--- mobile menu ---*/

.hamburger-button-cont button {
    background-color: transparent !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mobile-menu-c nav li.menu-item a{
    justify-content: center;
    background-color: transparent !important;
}
.mobile-menu-c nav li.menu-item a .sub-arrow svg{
    visibility: hidden;
}
.mobile-menu-c nav li.menu-item a .sub-arrow{
    margin: 5px 0px 0px 10px;
    width: 15px;
    height: auto;
    padding: 0px;
    background-image: url('assets/images/arrow.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: transform 200ms;
    rotate:90deg;
    position: relative;
    left: 20px;
}
.mobile-menu-c nav li.menu-item a.highlighted .sub-arrow{
    transform: rotate(-180deg)
}

.mobile-menu-c nav li.menu-item .sub-menu{
    padding: 0px 0px 30px 0px;
}
.mobile-menu-c nav li.menu-item .sub-menu .sub-menu{
    padding: 0px 0px 15px 0px;
}
.mobile-menu-c nav li.menu-item .sub-menu a{
    font-size: 20px !important;
}
.mobile-menu-c nav li.menu-item .sub-menu .sub-menu a{
    font-size: 18px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

body .elementor-nav-menu--dropdown .elementor-item:hover{
    background-color: transparent;
}

.mobile-menu-outer-c .mobile-menu-c{
    height: calc(100dvh - 100px);
    overflow-y: auto;
}
.dialog-type-lightbox{
    z-index:1;
}
ul.elementor-nav-menu--dropdown a{
    border:none !important;
}
ul.sub-menu li:first-child a{
    padding-top:16px !important;
}
ul.sub-menu li:last-child a{
    padding-bottom:21px !important;
}

@media (min-width: 1501px){ 
    .show-1500{
        display: none;
    }
}
@media (max-width: 1500px){ 
    .contact-card { 
        display: flex;
        flex-direction: column;
        max-width: 254px;
        gap: 40px;
    } 
    .contact-cards__grid{
        display: flex;
        justify-content: center;
    }
    header .elementor-widget-theme-site-logo{
        /* left:0px; */
    }
    header .site-branding{
        width:488px;
    }
    header .elementor-widget-theme-site-logo::after{
        /* width:100%;
        height:100%; */
    }
    
}
@media (max-width: 1200px) {
  h1 { 
        font-size: 5rem !important;
    }
    header li a {
        font-size: 1rem;
    }
}
@media (max-width: 1024px) {
    .text-block-centered p{
        font-size: 1.25rem;
        line-height: 1.625rem;
    }
    .contacts-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 96px; 
    }
    .elementor-19 .elementor-element.elementor-element-d6986f0::before{
        background-image: linear-gradient(0deg, #031524 40%, #00000000 66%)!important;
    }
    .text-block-c .e-con-inner{
        padding-bottom:0px !important;
    }
    .text-img-block-c .e-con-inner{
        padding-top: 40px !important;
    }
    .image-expand-right{
        position: relative;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        overflow: hidden;
        z-index: 1;
    }
}

@media (max-width: 900px) {
    .contacts-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 56px; 
    }
}
@media (max-width: 767px){ 
    h1 { 
        font-size: 3.1rem !important;
        line-height: 4.375rem !important;
    }
    h2 { 
        font-size: 1.875rem !important;
    }
    p{
        font-size: 1rem;
        line-height: 1.31rem;
    }
    a.eboss-area{
        padding-left:35px;
        padding-right:35px;
        margin-bottom:40px;
        margin-left:0px !important;
        margin-right:0px !important;
    }
    a.eboss-area img{
        width:100%; 
    }
    a.eboss-area p, .link-arrow a {
        font-size: 1.125rem;
        margin-top: 25px;
    }
    .areas-outer
    .areas-bg-el{
        border-radius: 70px;
    }
    .areas-outer .eboss-area{
        margin-right:0px;
    }
    .contact-container-c .link-arrow a{
        font-size: 1.125rem;
        margin-bottom: 3.75rem;
    }
    .contact-card__info{
        text-align: center;
    }
    .contact-card__title { 
        margin: 0 0 25px; 
    }
    .footer-text *{
        text-align: center;
    }
}
@media (max-width: 637px) {
    header .site-branding {
        width: 110px;
    }
    header .elementor-widget-theme-site-logo{
    left:0px;
}
    header .elementor-widget-theme-site-logo a, header .elementor-widget-theme-site-logo img{
        width:125px !important;
    }
    header .elementor-widget-theme-site-logo::after{
        top:-30px;
        left: auto;
        right:-96px;
    }
    header .elementor-widget-theme-site-logo::after{
        width: 300px !important;
        height: 100% !important;
    }
}
@media (max-width: 560px) {
  .contacts-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
    }
    
    h1{
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    .fullscreen-title h1 {
        font-size: clamp(3.75rem, 8vw, 10rem) !important;
    }
    h2{
        margin-bottom:20px !important;
    }
    h2,
    .contact-card__name{
        font-size: 1.5rem !important;
        line-height: 1.2;
    }
    .hamburger{
        padding-left: 0px !important;
        padding-right: 0px !important;
        position: relative;
        top:-19px;
    }
    .elementor-widget-theme-site-logo a{
        position: relative;
        top:-19px;
    }
    .is-scrolled .hamburger,
    .is-scrolled .elementor-widget-theme-site-logo a{
        top:0px;
    }
    .text-block-c .e-con-inner{
        padding-top:270px;
    }
}


/* Endast mobila enheter */
@media (hover: none) and (pointer: coarse) {

  #elementor-popup-modal-587 a:focus-visible,
  #elementor-popup-modal-587 button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

}