/* Marketing tile styled like product tiles */
[class^="experience-component experience-layouts"] section:first-of-type, [class^="experience-component experience-assets-"] > section:first-of-type {
    margin: unset !important;
}
.tuile-marketing {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #f7f7f7; /* fallback if no image */
	font-family: inherit;

}

.tuile-marketing__inner {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Image wrapper keeps aspect similar to product images */
/* Match product-tile .product-image behavior: auto height driven by img; remove forced aspect ratio */
.tuile-marketing__image {
	position: relative;
	width: 100%;
	height: auto;
	line-height: 0; /* like .product-tile .product-image */
	background: #ddd;
}

.tuile-marketing__image img{
    width: 100%;
    object-fit: cover;
}

.tuile-marketing__image picture { display:block; width:100%; }
.tuile-marketing__image img { display:block; width:100%; max-width:100%; height:auto; object-fit:cover; }

/* CTA overlay similar position to product tile headline/button */
/* Center CTA over image (both axes) similar to overlay patterns) */
.tuile-marketing__cta-wrapper {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    pointer-events: none;
}

.tuile-marketing__cta {
    font-family: oswald, sans-serif;
    pointer-events: auto;
    display: inline-block;
    background: #ffffff;
    color: #002e5e;
    width: 100%;
    border: 1px solid #002e5e;
    border-radius: .4rem;
    padding: 1.2rem 1.8rem;
    font-size: 1.4rem;
    font-weight: 600;
	line-height: 1.4rem;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.tuile-marketing__cta:hover {
	background: #F2F6FA;
	color: #002e5e;
}

.tuile-marketing__cta:active {
    background: #D7E5EF;
	color: #002e5e;
}

.tuile-marketing__cta:focus {
    color: #002e5e;
    background: #FFF;
    box-shadow: 0 0 0 4px rgba(122, 179, 239, 0.50);
}

/* Make sure the tile aligns visually with product tiles inside grids */
.tuile-marketing figure, /* defensive if wrapped */
.tuile-marketing .figure { margin:0; }

/* Small viewports adjustments */
@media (max-width: 599px) {
	.tuile-marketing__cta-wrapper {
		bottom: 1.2rem;
		padding: 0 1.2rem;
	}
}

/* High density displays – keep text crisp */
@media (min-resolution: 2dppx) {
	.tuile-marketing__cta { -webkit-font-smoothing: antialiased; }
}

/* Utility: when no image is set, allow a neutral placeholder */
.tuile-marketing--noimage .tuile-marketing__image { background: #ececec; }
