.content-management-section:has(.rich-text-component):has(.product-carousel-component) { position: relative; margin-top: 0px; overflow: visible; background: url("https://cdn.blivakker.no/Media/CMS/SectionBackground/300/2ebef173-38ec-4583-ade5-161bfd546caf.png") center center / cover no-repeat rgb(32, 33, 36); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) > .content-management-section-content { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; max-width: 1200px; min-height: 340px; margin: auto; padding: 3rem 4rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .content-management-component-wrapper { background: transparent; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) > .content-management-section-content > .component-type-rich-text { grid-area: 1 / 1; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) > .content-management-section-content > .component-type-product-carousel { grid-area: 1 / 2; min-width: 0px; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .rich-text-component .heading { color: rgb(255, 227, 108); font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; text-transform: uppercase; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .rich-text-content { color: rgb(255, 255, 255); font-size: 1.1rem; line-height: 1.35; letter-spacing: 0.04em; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .rich-text-content p { margin: 0px; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-carousel-component { gap: 0.75rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-carousel-component .title-component { width: 100%; text-align: center; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-carousel-component .title-component .heading { color: rgb(255, 255, 255); font-size: 1rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-carousel-component .title-component .text-black, .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-carousel-component :is(.rating-wrapper, .product-card-icons, .product-card-price-container) { display: none; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .carousel-container { display: flex; justify-content: center; align-items: center; gap: 0.5rem; overflow: visible; padding: 1rem 0.5rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card { flex: 0 1 145px; min-width: 0px; overflow: hidden; background: rgb(255, 255, 255); border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 24px; transition: translate 180ms, scale 180ms, box-shadow 180ms; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .card-image-wrapper { height: auto; aspect-ratio: 1 / 1; padding: 0px; background: rgb(255, 255, 255); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .card-image-wrapper > a { height: 100%; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .card-image-wrapper img { width: 100%; height: 100%; max-width: 100%; aspect-ratio: 1 / 1; object-fit: contain; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card-content { display: block; flex: 0 0 auto; padding: 0.5rem; color: rgb(32, 33, 36); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card h3 { font-size: 0.72rem; line-height: 1.2; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card-content :is(.heading, .product-name) { font-size: 0.7rem; line-height: 1.25; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:first-child { transform: rotate(-7deg) translateY(10px); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:nth-child(2) { position: relative; z-index: 1; transform: translateY(-5px); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:nth-child(3) { transform: rotate(7deg) translateY(10px); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:focus-within { outline: rgb(176, 77, 0) solid 3px; outline-offset: -3px; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:has(:focus-visible) { position: relative; z-index: 3; box-shadow: rgba(0, 0, 0, 0.6) 0px 14px 32px; } @media (hover: hover) and (pointer: fine) { .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:hover { position: relative; z-index: 3; translate: 0px -6px; scale: 1.03; box-shadow: rgba(0, 0, 0, 0.6) 0px 14px 32px; } } @media (min-width: 701px) { .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:has(:focus-visible) { translate: 0px -6px; scale: 1.03; } } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .early-access-app-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .rich-text-content p.early-access-app-links { margin-top: 1rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .early-access-app-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.6rem 1rem; border: 1px solid rgb(255, 255, 255); border-radius: 4px; background: rgb(255, 255, 255); color: rgb(32, 33, 36); font-size: 0.9rem; font-weight: 700; line-height: 1.2; text-decoration: none; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .early-access-app-links a:hover { border-color: rgb(255, 227, 108); background: rgb(255, 227, 108); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .early-access-app-links a:focus-visible { outline: rgb(255, 227, 108) solid 3px; outline-offset: 3px; } @media (max-width: 700px) { .content-management-section:has(.rich-text-component):has(.product-carousel-component) > .content-management-section-content { grid-template-columns: minmax(0px, 1fr); gap: 1rem; padding: 2rem 1rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) > .content-management-section-content > .component-type-rich-text { grid-area: 1 / 1; padding: 0px; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) > .content-management-section-content > .component-type-product-carousel { grid-area: 2 / 1; padding: 0px; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-carousel-component { width: 100%; min-width: 0px; grid-template-columns: minmax(0px, 1fr); } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .carousel-container { min-width: 0px; justify-content: center; align-items: stretch; gap: 0.35rem; overflow: visible; padding: 1.25rem 0.75rem; scroll-snap-type: none; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card { flex: 0 0 calc(33.3333% + 0.25rem); min-width: 0px; margin-inline: -0.375rem; scroll-snap-align: none; transform: none !important; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:first-child { transform: rotate(-5deg) translateY(5px) !important; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:nth-child(2) { transform: translateY(-4px) !important; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:nth-child(3) { transform: rotate(5deg) translateY(5px) !important; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card-content { padding: 0.25rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card h3 { font-size: 0.7rem; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card-content :is(.heading, .product-name) { height: auto; max-height: none; white-space: normal; text-overflow: clip; font-size: 0.7rem; overflow-wrap: anywhere; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card-content .heading { display: block; overflow: visible; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card-content .product-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; } } @media (prefers-reduced-motion: reduce) { .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card { transition: none; } .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:hover, .content-management-section:has(.rich-text-component):has(.product-carousel-component) .product-card:has(:focus-visible) { translate: none; scale: none; } }