/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
.ig-reel-wrapper {
  aspect-ratio: 9 / 16;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
}

.ig-reel-wrapper .instagram-media {
  width: 100% !important;
  min-width: 100% !important;
}

/* contenidor de la imatge del blog */
.fusion-blog-layout-grid .fusion-image-wrapper,
.archive .fusion-image-wrapper {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

/* la imatge ha d'omplir el contenidor */
.fusion-blog-layout-grid .fusion-image-wrapper img,
.archive .fusion-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-presentacio {
    width: 100%;
}

.video-presentacio video {
    width: 100%;
    height: auto;
    display: block;
}

.video-youtube {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-youtube iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video-youtube.vertical {
	aspect-ratio: 9 / 16;
}
