/* components/callout/Callout.module.scss */
.mk-callout {
    position: relative;
    padding-top: clamp(8rem, calc(8rem + 8 * ((100vw - 48rem) / 80)), 16rem);
}
.mk-callout__container {
    padding-left: var(--container-gutter);
    padding-right: var(--container-gutter);
    position: relative;
    z-index: 1;
}
.mk-callout__block {
    margin: 0 auto clamp(6rem, calc(6rem + 5 * ((100vw - 48rem) / 80)), 11rem);
    text-align: center;
}
.mk-callout__heading {
    margin: 0 0 3rem;
    padding: 0;
    column-span: all;
}
/* Type: the heading block's text style (display-xl). */
.mk-callout__cta { margin-top: clamp(3rem, calc(3rem + 2 * ((100vw - 48rem) / 80)), 5rem); }

/* The button is a minkButton (variant "large", .mk-button--large in site.css). */
.mk-callout__cta .mk-button:focus-visible { outline: 1px dotted currentColor; outline-offset: 3px; }

.mk-callout__media {
    position: relative;
    z-index: 1;
    height: 85vh;
    max-height: 95rem;
}
.mk-callout__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.mk-callout__dot-wrap {
    position: absolute;
    left: 50%;
    top: -10rem;
    transform: translate(-50%, 0);
}
.mk-callout__dot {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 0;
    aspect-ratio: 1 / 1;
    height: clamp(40rem, calc(40rem + 42.4 * ((100vw - 48rem) / 80)), 82.4rem);
    background: var(--color-accent-primary);
    border-radius: 50%;
    transform: translate(-50%, var(--mk-parallax, 0px));
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Entrance (react-spring): the text rises after 200 ms, the dot after 400 ms. */
.mk-js .mk-callout__block { opacity: 0; transform: translateY(2rem); transition: opacity 1s ease-out 0.2s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s; }
.mk-js .mk-callout__dot-wrap { opacity: 0; transform: translate(-50%, 8rem); transition: opacity 1.4s ease-out 0.4s, transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s; }
.mk-js .mk-callout.is-inview .mk-callout__block { opacity: 1; transform: none; }
.mk-js .mk-callout.is-inview .mk-callout__dot-wrap { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
    .mk-js .mk-callout__block { opacity: 1; transform: none; transition: none; }
    .mk-js .mk-callout__dot-wrap { opacity: 1; transform: translate(-50%, 0); transition: none; }
}

/* Editable look (unset = the original). */
.mk-callout {
    padding-top: var(--mk-space-top, clamp(8rem, calc(8rem + 8 * ((100vw - 48rem) / 80)), 16rem));
    padding-bottom: var(--mk-space-bottom, 0);
}
.mk-callout[style*="--mk-color:"] .mk-callout__cta .mk-button { color: inherit; border-color: currentColor; }
.mk-callout__block { margin-bottom: var(--mk-callout-image-gap, clamp(6rem, calc(6rem + 5 * ((100vw - 48rem) / 80)), 11rem)); }
.mk-callout__dot { background: var(--mk-callout-dot, var(--color-accent-primary)); }
.mk-callout__cta .mk-button { background-color: var(--mk-callout-button-fill, var(--color-background-form)); }
.mk-callout__cta .mk-button:hover { background: var(--mk-callout-button-hover, var(--color-accent-primary)); }
.mk-callout--no-dot .mk-callout__dot-wrap { display: none; }
.mk-callout--image-low .mk-callout__media { height: 55vh; max-height: 60rem; }
.mk-callout--image-natural .mk-callout__media { height: auto; max-height: none; }
.mk-callout--image-natural .mk-callout__media img { position: static; height: auto; }
