/*Gråskala för sektioner */
section, .wp-block-themeisle-blocks-advanced-columns {background-image: linear-gradient(#f8f8f8, #fff);}
/* Gör text-muted till guldbrun */
.text-muted {color: var(--hestia-section-subtitle);}
.btn.btn-simple {color: var(--hestia-section-subtitle);}

/* Startsida: header image size */
/*.page-header .container {height: 600px !important;padding-top: 280px !important;}*/

/*Startsida: Video till GIF på mobil */
@media (max-width: 899px) {.home .header-filter {background-image: url('https://svartamassan.se/wp-content/uploads/2025/07/ezgif.com-optimize.gif');}}


/* Set big title height to match video 16:9 */
@media (min-width: 901px) {.home .page-header{height: 55vw !important; max-height: 90vh !important;}
.carousel .page-header {min-height: unset !important;}
}}

@media (max-width: 900px) {.carousel .page-header {height:800px !important; min-height: 800px !important;}}
@media (max-width: 900px) {.home .page-header .container {padding-top:150px !important;}}

/*Startsida: Video - Justera höjden för mindre skärmar */


/*
@media (max-width: 1190px) {
.home .page-header{ height: 600px !important;}
	.page-header .container {padding-top: 120px !important;}
}
@media (max-width: 1090px) {
	.home .page-header{ height: 500px !important;}
.page-header .container {padding-top: 60px !important;}
}*/
@media (max-width: 1000px) {
.carousel .hestia-title {font-size: 3em;}
.carousel .buttons {margin-top: 30px;}
}

/*Startsida: Testimonials */
.card-testimonial .card-avatar {max-width: 150px;filter: grayscale(1) sepia(0.5);}
.card-testimonial .card-avatar img {max-width: 150px; max-height:150px;}
.big-title-slider-content .sub-title{font-weight:400;}
.hestia-about-content{font-weight:400;}

/*Startsida: Bli en del av Den Svarta Massan */
.hestia-about.section-image h5{color: var(--hestia-section-subtitle);}
.joinDSM{margin-top: 3em; font-weight: 600;}
.blimedlem{background:none; padding: 2em;}
.btnblimedlem.btn:not(.colored-button):not(.btn-left):not(.btn-right):not(.btn-just-icon):not(.menu-item):not(.hestia-sidebar-open):not(.hestia-sidebar-close) {padding:2em 0; background:none;}
.btnblimedlem.btn:not(.colored-button):not(.btn-left):not(.btn-right):not(.btn-just-icon):not(.menu-item):not(.hestia-sidebar-open):not(.hestia-sidebar-close) a{background-color: var(--hestia-primary-color);}
/* var(--hestia-primary-color); */
/*.home .btnblimedlem{background:none; box-shadow:noned; padding:0em 0;}*/

/* Ikoner på startsidan */
.wp-block-themeisle-blocks-font-awesome-icons .wp-block-themeisle-blocks-font-awesome-icons-container:not(.nan-padding) i{font-size:3em;color: var(--hestia-section-subtitle);}
/* Göm kategorier i nyheter */
.card .category:not([class*=text-]), .card-no-width  {visibility: hidden; height: 0px;}
.hestia-team-content .card-image{filter: grayscale(1) sepia(0.5);}
/* Footer: Kant och bakgrundsfärg */
footer.footer.footer-black {background: #0a3049; border-top: 5px solid #a18a5a;}
.navbar{border-top: 5px solid #a18a5a;}
section:not(.section-image) h5.description {font-weight: 400;}

/* Huvudmeny */
body:not(.home) .navbar-default .navbar-nav>.active:not(.btn)>a{color: var(--hestia-section-subtitle);}

.banner {
  position: absolute;
  left: 50%;
  display: block;
  margin: 100px -200px;
  width: 400px;
  height: 60px;
  border: 1px solid #8a1;
  font: normal 30px/60px 'Rye';
  text-align: center;
  color: #451;
  background: #9b2;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,.15) inset,
      				0 6px 10px rgba(0,0,0,.15);
}

.banner::before,
.banner::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -70px;
  top: 24px;
  display: block;
  width: 40px;
  height: 0px;
  border: 30px solid #9b2;
  border-right: 20px solid #791;
  border-bottom-color: #94b81e;
  border-left-color: transparent;
  transform: rotate(-5deg);
}

.banner::after {
  left: auto;
  right: -70px;
  border-left: 20px solid #791;
  border-right: 30px solid transparent;
  transform: rotate(5deg);
}

/* Sidor */

.btnblimedlem .wp-block-button__link{background-color: var(--hestia-primary-color);}

/* Nyheter */
.blog-post .section-text {padding-bottom: 2em;}

/* Gömma datum och författare för inlägg */
.single-post .hestia-title + .author {display: none; }
.author {display: none;}

/* Göm kategorier */
.card-product .category {display: none;}
.hestia-blogs h6.category {display: none;}
.category-uncategorised span.category {display: none;}
.entry-categories {display: none;}

/* Göm utfyllnad av nyhet */ 
.section-blog-info {display: none;}

/* Göm jp_relatedposts direkt efter nyhet */
.jp-relatedposts-items {display: none;}

/* Ändra bakgrund till related posts */
.related-posts{background:#eee;} 