/**
 * Rolex landing — M7 Discover Rolex (3 editorial cards).
 * Migrated from rolex.min.css (.rolex-collection-block.dark, .rolex-discoverRolex-discoverPanel).
 */

/* —— .rolex-collection-block.dark —— */
.rolex-wrapper .rolex-index-discover.rolex-collection-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background-color: #f4efea;
}

.rolex-wrapper .rolex-index-discover.rolex-collection-block:not(.noPaddingTop):not(.noPadding) {
    padding-top: max(7vh, 60px);
}

.rolex-wrapper .rolex-index-discover.rolex-collection-block:not(.noPadding):not(.noPaddingBottom) {
    padding-bottom: max(7vh, 60px);
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-index-discover.rolex-collection-block:not(.noPaddingTop):not(.noPadding) {
        padding-top: max(10vh, 90px);
    }

    .rolex-wrapper .rolex-index-discover.rolex-collection-block:not(.noPadding):not(.noPaddingBottom) {
        padding-bottom: max(10vh, 90px);
    }
}

/* CON-5c: noPadding → rolex-collection.css */

/* —— Panel —— */
/* CON-5: .large width → rolex-collection.css */
.rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel.large {
    position: relative;
}

.rolex-wrapper .rolex-index-discover .rolex-collection-headline36 {
    color: #472b20;
    font-weight: 700;
    font-size: clamp(1.5rem, calc(1.25rem + 0.875vw), 2.25rem);
    line-height: 1.24;
    padding-top: 0;
}

.rolex-wrapper .rolex-index-discover .rolex-collection-headline16 {
    color: #472b20;
    font-weight: 700;
    font-size: clamp(1rem, calc(0.95rem + 0.25vw), 1.125rem);
    line-height: 1.4;
}

.rolex-wrapper .rolex-index-discover .rolex-collection-headline24 {
    color: #472b20;
    font-weight: 700;
    font-size: clamp(1.25rem, calc(1.15rem + 0.25vw), 1.5rem);
    line-height: 1.4;
}

/* —— Grid —— */
@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-grid {
        display: flex;
        gap: 8px;
    }
}

@media only screen and (max-width: 767px) {
    .rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-grid .rolex-discoverRolex-discoverPanel-item {
        margin-top: 24px;
    }
}

.rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-grid .rolex-discoverRolex-discoverPanel-item:first-child {
    margin-top: 0;
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-grid .rolex-discoverRolex-discoverPanel-item {
        flex-basis: calc((100% - 16px) / 3);
        width: calc((100% - 16px) / 3);
    }
}

/* —— Cards —— */
.rolex-wrapper .rolex-index-discover .rolex-common-pushComponent {
    display: block;
    text-decoration: none;
    color: inherit;
}

.rolex-wrapper .rolex-index-discover .rolex-common-pushComponent .pushComponent-block {
    display: block;
}

.rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-item .rolex-common-pushComponent {
    background-color: transparent;
}

.rolex-wrapper .rolex-index-discover .rolex-common-pushComponent .pushComponent-kv,
.rolex-wrapper .rolex-index-discover .rolex-common-pushComponent .imageWrapper {
    overflow: hidden;
    display: block;
}

.rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-item .imageWrapper {
    margin-bottom: 16px;
}

.rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-item .imageWrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1);
}

.rolex-wrapper .rolex-index-discover .rolex-common-pushComponent:hover .pushComponent-kv img,
.rolex-wrapper .rolex-index-discover .rolex-common-pushComponent:hover .imageWrapper img {
    transform: scale3d(1.1, 1.1, 1);
}

.rolex-wrapper .rolex-index-discover .rolex-discoverRolex-discoverPanel-item .learnMoreBtn {
    padding-top: 8px;
}

.rolex-wrapper .rolex-index-discover .learnMoreBtn .rolex-common-secondaryCTA {
    position: relative;
    display: inline-block;
    /* padding-right: 20px; */
    color: #127749;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.1em;
}

.rolex-wrapper .rolex-index-discover .learnMoreBtn .rolex-common-secondaryCTA:hover {
    text-decoration: underline;
}

.rolex-wrapper .rolex-index-discover .learnMoreBtn .icon {
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: -16px;
    top: 0;
}

.rolex-wrapper .rolex-index-discover .learnMoreBtn .icon img {
    display: block;
    width: 100%;
    height: auto;
}
