/* MT - Campaign Covers (magazine cover stories) */
.mtfe-cv {
    --cv-ink: #171917;
    --cv-cobalt: #3155E7;
    --cv-accent: #E2F268;
    --cv-pink: #F7D3DB;
    --cv-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
    color: var(--cv-ink);
}
.mtfe-cv .mtfe-cv__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; padding-bottom: 22px; border-bottom: 2px solid var(--cv-ink); }
.mtfe-cv .mtfe-cv__kicker { margin: 0 0 14px; font-family: var(--cv-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
body .elementor .mtfe-cv .mtfe-cv__title {
    margin: 0;
    color: var(--cv-ink);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 3.8vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em;
}
body .elementor .mtfe-cv h2 span,
body .elementor .mtfe-cv h3 span { color: inherit; font-size: inherit !important; line-height: inherit !important; }
.mtfe-cv a.mtfe-cv__all { padding-bottom: 3px; border-bottom: 2px solid var(--cv-ink); color: var(--cv-ink); font-weight: 600; text-decoration: none; }
.mtfe-cv a.mtfe-cv__all:hover { color: var(--cv-cobalt); border-color: var(--cv-cobalt); }

.mtfe-cv .mtfe-cv__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.mtfe-cv .mtfe-cv__cover {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 330px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--cv-ink);
    background: var(--cv-ink);
    color: #FFFFFF;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.mtfe-cv .mtfe-cv__cover--lead { grid-row: 1 / span 2; min-height: 760px; }
.mtfe-cv .mtfe-cv__cover:hover { transform: translate(-4px, -4px) rotate(-0.6deg); box-shadow: 10px 10px 0 var(--cv-cobalt); }
.mtfe-cv .mtfe-cv__cover:nth-child(2):hover { box-shadow: 10px 10px 0 var(--cv-accent); }
.mtfe-cv .mtfe-cv__cover:nth-child(3):hover { box-shadow: 10px 10px 0 var(--cv-pink); }
.mtfe-cv .mtfe-cv__art { position: absolute; inset: 0; z-index: -2; }
.mtfe-cv .mtfe-cv__img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mtfe-cv .mtfe-cv__cover:hover .mtfe-cv__img { transform: scale(1.06); }
.mtfe-cv .mtfe-cv__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 25, 23, 0.55) 0%, transparent 26%, transparent 42%, rgba(23, 25, 23, 0.9) 100%); }

/* masthead like a printed cover */
.mtfe-cv .mtfe-cv__mast { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px 0; }
.mtfe-cv .mtfe-cv__brand {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.045em;
}
.mtfe-cv .mtfe-cv__cover--lead .mtfe-cv__brand { font-size: clamp(56px, 7vw, 108px); }
.mtfe-cv .mtfe-cv__brand::after { content: "."; color: var(--cv-accent); }
.mtfe-cv .mtfe-cv__issue { padding-top: 6px; font-family: var(--cv-mono); font-size: 10px; letter-spacing: 0.12em; text-align: right; text-transform: uppercase; }

.mtfe-cv .mtfe-cv__lines { padding: 0 20px 20px; }
.mtfe-cv .mtfe-cv__client {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 8px 3px;
    background: var(--cv-accent);
    color: var(--cv-ink);
    font-family: var(--cv-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
body .elementor .mtfe-cv .mtfe-cv__line {
    margin: 0;
    max-width: 18em;
    color: #FFFFFF;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 2vw, 30px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.025em;
}
body .elementor .mtfe-cv .mtfe-cv__cover--lead .mtfe-cv__line { max-width: 14em; font-size: clamp(32px, 3.4vw, 54px) !important; }
.mtfe-cv .mtfe-cv__line a { color: inherit; text-decoration: none; }
.mtfe-cv .mtfe-cv__line a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mtfe-cv .mtfe-cv__line a:focus-visible { outline: 2px dashed var(--cv-accent); outline-offset: 4px; }
.mtfe-cv .mtfe-cv__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.mtfe-cv .mtfe-cv__meta div { margin: 0; }
.mtfe-cv .mtfe-cv__meta dt { color: var(--cv-accent); font-family: var(--cv-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.mtfe-cv .mtfe-cv__meta dd { margin: 3px 0 0; color: rgba(255, 255, 255, 0.92); font-size: 14px; line-height: 1.4; }
.mtfe-cv .mtfe-cv__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; }
.mtfe-cv .mtfe-cv__more i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid currentColor; font-style: normal; transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), background-color 0.2s ease, color 0.2s ease; }
.mtfe-cv .mtfe-cv__cover:hover .mtfe-cv__more i { transform: translateX(4px) rotate(-45deg); background: var(--cv-accent); color: var(--cv-ink); border-color: var(--cv-accent); }

@media (max-width: 1024px) {
    .mtfe-cv .mtfe-cv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .mtfe-cv .mtfe-cv__cover--lead { grid-column: 1 / -1; grid-row: auto; min-height: 560px; }
    .mtfe-cv .mtfe-cv__cover { min-height: 420px; }
}
@media (max-width: 767px) {
    .mtfe-cv .mtfe-cv__grid { grid-template-columns: minmax(0, 1fr); }
    .mtfe-cv .mtfe-cv__cover--lead { min-height: 520px; }
    .mtfe-cv .mtfe-cv__cover { min-height: 440px; }
    .mtfe-cv .mtfe-cv__cover:hover { transform: none; box-shadow: none; }
}

/* ---- legibility: deeper fade behind the cover lines + soft shadow on the text ---- */
.mtfe-cv .mtfe-cv__shade {
    background:
        linear-gradient(180deg, rgba(15, 17, 15, 0.6) 0%, rgba(15, 17, 15, 0) 24%),
        linear-gradient(0deg, rgba(15, 17, 15, 0.96) 0%, rgba(15, 17, 15, 0.9) 30%, rgba(15, 17, 15, 0.55) 52%, rgba(15, 17, 15, 0) 72%);
}
.mtfe-cv .mtfe-cv__cover--lead .mtfe-cv__shade {
    background:
        linear-gradient(180deg, rgba(15, 17, 15, 0.6) 0%, rgba(15, 17, 15, 0) 20%),
        linear-gradient(0deg, rgba(15, 17, 15, 0.96) 0%, rgba(15, 17, 15, 0.88) 24%, rgba(15, 17, 15, 0.5) 42%, rgba(15, 17, 15, 0) 60%);
}
.mtfe-cv .mtfe-cv__mast,
.mtfe-cv .mtfe-cv__line,
.mtfe-cv .mtfe-cv__meta,
.mtfe-cv .mtfe-cv__more { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.mtfe-cv .mtfe-cv__meta dd { color: #FFFFFF; }
.mtfe-cv .mtfe-cv__meta { border-top-color: rgba(255, 255, 255, 0.45); }
