/* Featured Guitars Section Fixes */

/* Target all featured guitar images */
#Utvalgte-Gitarer img,
#Featured-Guitars img {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block !important;
}

#Utvalgte-Gitarer img:hover,
#Featured-Guitars img:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Ensure image containers are properly styled for cropping */
#Utvalgte-Gitarer .Mobile_imageComponent__QXWk1,
#Featured-Guitars .Mobile_imageComponent__QXWk1 {
    overflow: hidden !important;
    background-color: #f5f5f5;
}

/* More specific targeting for cropped images */
#Utvalgte-Gitarer [data-kind="IMAGE"] img,
#Featured-Guitars [data-kind="IMAGE"] img,
#Utvalgte-Gitarer [data-specific-kind="IMAGE"] img,
#Featured-Guitars [data-specific-kind="IMAGE"] img {
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Fix YouTube video embeds */
#Utvalgte-Gitarer iframe[data-kind="VIDEO"],
#Featured-Guitars iframe[data-kind="VIDEO"],
#Utvalgte-Gitarer [data-specific-kind="VIDEO"] iframe,
#Featured-Guitars [data-specific-kind="VIDEO"] iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/* Video container responsive */
#Utvalgte-Gitarer [data-kind="VIDEO"],
#Featured-Guitars [data-kind="VIDEO"],
#Utvalgte-Gitarer [data-specific-kind="VIDEO"],
#Featured-Guitars [data-specific-kind="VIDEO"] {
    position: relative;
    overflow: hidden;
}
