/**
Theme Name: Astra Child by codedbyMadi.NET
Author: Marinel Dimitrije
Author URI: https://codedbymadi.net
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: astra-child-by-codedbymadi-net
Template: astra
*/



.ast-builder-menu-1 .menu-item > .menu-link {
    font-size: 18px;
    font-weight: 600;
}

.eael-entry-wrapper{
    height: 180px;
}



/* === Scroll-in (mobil) + Hover-zoom (desktop) för Elementor + EAEL === */

/* Grund */
.eael-gallery-grid-item,
.elementor-image-gallery .gallery-item{
  overflow: hidden;
}

/* FIX: behåll kolumn-layouten (INTE display:block här) */
.elementor-image-gallery .gallery-item{
  display: inline-block;
  vertical-align: top;
}

/* Wrapper runt bild */
.elementor-image-gallery .gallery-item a{
  display: block;
  overflow: hidden;
}

/* MOBIL: göm bara när JS är aktiv (så sidan aldrig blir tom) */
@media (max-width: 1024px){
  body.scroll-anim-enabled .eael-gallery-grid-item,
  body.scroll-anim-enabled .elementor-image-gallery .gallery-item{
    opacity: 0;
    transform: translateY(14px) scale(.85);
    transition: transform .6s ease, opacity .6s ease;
    will-change: transform, opacity;
  }

  body.scroll-anim-enabled .eael-gallery-grid-item.is-visible,
  body.scroll-anim-enabled .elementor-image-gallery .gallery-item.is-visible{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* DESKTOP: hover-zoom + lite lift */
@media (hover: hover) and (pointer: fine){
  .eael-gallery-grid-item,
  .elementor-image-gallery .gallery-item{
    transition: transform .25s ease;
  }

  .eael-gallery-grid-item img,
  .elementor-image-gallery .gallery-item img{
    transition: transform .35s ease;
    transform: scale(1);
    transform-origin: center;
    display: block;
    width: 100%;
    height: auto;
  }

  .eael-gallery-grid-item:hover,
  .elementor-image-gallery .gallery-item:hover{
    transform: translateY(-2px);
  }

  .eael-gallery-grid-item:hover img,
  .elementor-image-gallery .gallery-item:hover img{
    transform: scale(1.08);
  }
}



 /* heart div class - in html i used just a simple html simbol entity for heart sign, you can use text or whatever u want*/

.copyright-heart-beat {
	font-size: 1rem;
	color: #e00;
	animation: beat .5s infinite alternate;
	transform-origin: center;
}

/* Heart beat animation */
@keyframes beat-small{
	to { transform: scale(1.1); }
}

/* Heart beat animation */
@keyframes beat{
	to { transform: scale(1.4); }
}



/* ===== Start SIDA referensprojekt (Bjelkenfors) ===== */
/* ===== Visa mer / Visa mindre (Bjelkenfors) ===== */
 .bb-readmore {
    max-width: 820px; /* valfritt */
  }

  /* Standard: visa bara 3 rader */
  .bb-readmore__content {
    display: -webkit-box;
    -webkit-line-clamp: 3;      /* ÄNDRA: 2 eller 3 */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* När den är öppen: visa allt */
  .bb-readmore.is-open .bb-readmore__content {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }

  .bb-readmore__toggle {
    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
  }

  /* orange linje under (som i bilden) */
  .bb-readmore__toggle::after {
    content: "";
    display: block;
    width: 220px;     /* ÄNDRA längd */
    height: 2px;
    background: #f05a28; /* ÄNDRA färg */
    margin-top: 10px;
  }


/* ===== END SIDA referensprojekt (Bjelkenfors) ===== */
