/* MT - Homepages Menu (cards) */
.mtfe-hsw {
    --hsw-ink: #0A1435;
    --hsw-paper: #FAFBFC;
    --hsw-cobalt: #1238C4;
    --hsw-accent: #FF5A4A;
    --hsw-muted: #4A5578;
    --hsw-mono: "Red Hat Text", system-ui, sans-serif;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 10fr);
    gap: 32px;
    align-items: start;
    color: var(--hsw-ink);
    text-align: left;
}
.mtfe-hsw .mtfe-hsw__kicker { margin: 0 0 12px; font-family: var(--hsw-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.mtfe-hsw .mtfe-hsw__title { margin: 0; font-family: "Red Hat Display", "Red Hat Text", sans-serif; font-size: 30px; font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.mtfe-hsw .mtfe-hsw__text { margin: 14px 0 0; color: var(--hsw-muted); font-size: 14px; line-height: 1.55; }
.mtfe-hsw .mtfe-hsw__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.mtfe-hsw .mtfe-hsw__item { margin: 0; padding: 0; border: 0; }
.mtfe-hsw a.mtfe-hsw__card,
.mtfe-hsw a.mtfe-hsw__card:visited { display: flex; flex-direction: column; gap: 14px; padding: 0; color: var(--hsw-ink); text-decoration: none; font-size: inherit; }
.mtfe-hsw .mtfe-hsw__shot {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--hsw-ink);
    background: var(--hsw-paper);
    box-shadow: 0 12px 28px -4px rgba(10, 20, 53, 0.18), 0 2px 6px rgba(18, 56, 196, 0.08);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.mtfe-hsw .mtfe-hsw__item:nth-child(2) .mtfe-hsw__shot { box-shadow: 0 12px 28px -4px rgba(10, 20, 53, 0.18), 0 2px 6px rgba(18, 56, 196, 0.08); }
.mtfe-hsw .mtfe-hsw__bar { display: flex; gap: 5px; padding: 7px 9px; border-bottom: 1px solid var(--hsw-ink); background: var(--hsw-ink); }
.mtfe-hsw .mtfe-hsw__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(250, 251, 252, 0.35); }
.mtfe-hsw .mtfe-hsw__bar i:first-child { background: var(--hsw-accent); }
.mtfe-hsw .mtfe-hsw__view { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.mtfe-hsw .mtfe-hsw__img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    transform: translateY(0);
    transition: transform 2.6s cubic-bezier(0.45, 0, 0.2, 1);
}
/* hover: the page scrolls inside the frame */
.mtfe-hsw a.mtfe-hsw__card:hover .mtfe-hsw__img,
.mtfe-hsw a.mtfe-hsw__card:focus-visible .mtfe-hsw__img { transform: translateY(calc(-100% + var(--hsw-view-h, 200px))); }
.mtfe-hsw a.mtfe-hsw__card:hover .mtfe-hsw__shot,
.mtfe-hsw a.mtfe-hsw__card:focus-visible .mtfe-hsw__shot { transform: translate(-3px, -3px); box-shadow: 0 18px 40px -7px rgba(10, 20, 53, 0.18), 0 2px 6px rgba(18, 56, 196, 0.08); }
.mtfe-hsw a.mtfe-hsw__card:focus-visible { outline: 2px dashed var(--hsw-cobalt); outline-offset: 6px; }
.mtfe-hsw .mtfe-hsw__meta { display: grid; gap: 5px; }
.mtfe-hsw .mtfe-hsw__label { font-family: var(--hsw-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hsw-cobalt); }
.mtfe-hsw .mtfe-hsw__label b { margin-left: 6px; padding: 2px 6px 1px; background: var(--hsw-accent); color: var(--hsw-ink); font-weight: 500; }
.mtfe-hsw .mtfe-hsw__name { font-family: "Red Hat Display", "Red Hat Text", sans-serif; font-size: 19px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.mtfe-hsw .mtfe-hsw__desc { color: var(--hsw-muted); font-size: 13.5px; font-weight: 400; line-height: 1.5; }
.mtfe-hsw .mtfe-hsw__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13.5px; font-weight: 600; }
.mtfe-hsw .mtfe-hsw__go i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; 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; }
.mtfe-hsw a.mtfe-hsw__card:hover .mtfe-hsw__go i { transform: translateX(4px); background: var(--hsw-accent); border-color: var(--hsw-ink); color: var(--hsw-ink); }

/* ---- inside the header mega menu (MT Mega Menus) ---- */
.mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu {
    position: fixed !important;
    top: var(--hsw-top, 120px) !important;
    left: 50% !important;
    right: auto !important;
    z-index: 10050;
    display: block !important;
    width: min(1180px, calc(100vw - 40px)) !important;
    min-width: 0 !important;
    max-height: calc(100vh - var(--hsw-top, 120px) - 16px);
    margin: 0 !important;
    padding: 28px 30px 30px !important;
    overflow: auto;
    border: 1px solid #0A1435;
    border-radius: 0;
    background: #FAFBFC !important;
    box-shadow: 0 20px 44px -8px rgba(10, 20, 53, 0.18), 0 2px 6px rgba(18, 56, 196, 0.08) !important;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px) !important;
    transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s !important;
}
/* invisible bridge so the pointer can travel from the menu item to the panel */
.mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
.mtfe-navigation-menu > li.clubrova-mega:hover > .cf-mega-menu.sub-menu,
.mtfe-navigation-menu > li.clubrova-mega:focus-within > .cf-mega-menu.sub-menu,
.mtfe-navigation-menu > li.clubrova-mega.is-open > .cf-mega-menu.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) !important;
    transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s !important;
}
.mtfe-navigation-menu > li.clubrova-mega > a::after { content: "\203A"; display: inline-block; margin-left: 6px; transform: rotate(90deg); font-size: 0.9em; line-height: 1; transition: transform 0.2s ease; }
.mtfe-navigation-menu > li.clubrova-mega:hover > a::after { transform: rotate(-90deg); }
.mtfe-navigation-menu > li.clubrova-mega .cf-mega-menu .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }

/* off-canvas (mobile) menu: compact rows, always visible under Home */
.mtfe-off-canvas-panel .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu {
    position: static !important;
    width: auto !important;
    max-height: none;
    padding: 6px 0 14px !important;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1;
    visibility: visible;
    transform: none !important;
}
.mtfe-off-canvas-panel .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu::before,
.mtfe-off-canvas-panel .mtfe-navigation-menu > li.clubrova-mega > a::after { display: none; }
.mtfe-off-canvas-panel .mtfe-hsw { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__intro,
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__desc,
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__go { display: none; }
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mtfe-off-canvas-panel .mtfe-hsw a.mtfe-hsw__card { flex-direction: row; align-items: center; gap: 12px; }
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__shot { flex: 0 0 74px; box-shadow: 0 8px 20px -2px rgba(10, 20, 53, 0.18), 0 2px 6px rgba(18, 56, 196, 0.08); }
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__bar { display: none; }
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__view { aspect-ratio: 4 / 3; }
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__name { font-size: 16px; }

@media (max-width: 1100px) {
    .mtfe-hsw { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .mtfe-hsw .mtfe-hsw__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .mtfe-hsw .mtfe-hsw__img { transition: none; }
}

/* guard against the navigation menu's own link/dropdown styles when the widget sits inside a menu */
.main-navigation .mtfe-hsw,
.mtfe-navigation-menu .mtfe-hsw { position: static; float: none; width: auto; white-space: normal; letter-spacing: normal; text-transform: none; }
.main-navigation .mtfe-hsw .mtfe-hsw__grid,
.main-navigation .mtfe-hsw .mtfe-hsw__item { position: static; display: grid; float: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.main-navigation .mtfe-hsw .mtfe-hsw__item { display: block; }
body .main-navigation .mtfe-hsw a.mtfe-hsw__card,
body .main-navigation .mtfe-hsw a.mtfe-hsw__card:hover { display: flex; height: auto; padding: 0 !important; border: 0; background: none !important; color: #0A1435 !important; font-size: 14px; line-height: 1.4; text-transform: none; letter-spacing: normal; white-space: normal; }
body .main-navigation .mtfe-hsw a.mtfe-hsw__card::before,
body .main-navigation .mtfe-hsw a.mtfe-hsw__card::after { display: none !important; content: none !important; }
body .main-navigation .mtfe-hsw .mtfe-hsw__label { color: #1238C4; }
/* off-canvas menu is dark: no paper behind the rows, light text */
.mtfe-off-canvas-panel .clubrova-mega .cf-mega-menu .elementor,
.mtfe-off-canvas-panel .clubrova-mega .cf-mega-menu .e-con,
.mtfe-off-canvas-panel .clubrova-mega .cf-mega-menu .mtfe-hsw { background: transparent !important; }
body .mtfe-off-canvas-panel .mtfe-hsw a.mtfe-hsw__card,
body .mtfe-off-canvas-panel .mtfe-hsw a.mtfe-hsw__card:hover { color: #FAFBFC !important; }
body .mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__label { color: #FF5A4A; }
.mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__shot { border-color: rgba(250, 251, 252, 0.5); box-shadow: 0 8px 20px -2px rgba(10, 20, 53, 0.18), 0 2px 6px rgba(18, 56, 196, 0.08) !important; }
body .mtfe-off-canvas-panel .mtfe-hsw .mtfe-hsw__name { color: #FAFBFC !important; opacity: 1; }

/* ---- one full-width row (widget class mtfe-hsw-row): every homepage as a screenshot card with its title ---- */
.mtfe-hsw-row .mtfe-hsw { grid-template-columns: minmax(0, 1fr); gap: 0; }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__intro { display: none; }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; }
.mtfe-hsw-row .mtfe-hsw a.mtfe-hsw__card { gap: 12px; }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__shot { border-radius: 0; border-color: rgba(10, 20, 53, .18); }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__bar { padding: 6px 8px; border-bottom-color: transparent; }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__bar i { width: 6px; height: 6px; }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__view { aspect-ratio: 3 / 4; }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__name { font-size: 15px; text-align: center; transition: color .2s; }
.mtfe-hsw-row .mtfe-hsw a.mtfe-hsw__card:hover .mtfe-hsw__name { color: var(--hsw-cobalt); }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__item.is-current .mtfe-hsw__shot { border-color: var(--hsw-cobalt); box-shadow: 0 0 0 3px rgba(18, 56, 196, .25), 0 12px 28px -4px rgba(10, 20, 53, 0.18); }
.mtfe-hsw-row .mtfe-hsw .mtfe-hsw__item.is-current .mtfe-hsw__name { color: var(--hsw-cobalt); }
.mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row) { width: min(1440px, calc(100vw - 40px)) !important; padding: 24px 24px 22px !important; border: 0; border-radius: 0; background: #FFFFFF !important; box-shadow: 0 30px 60px -24px rgba(10, 20, 53, .35), 0 0 0 1px rgba(10, 20, 53, .06) !important; }
.mtfe-off-canvas-panel .mtfe-hsw-row .mtfe-hsw .mtfe-hsw__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mtfe-off-canvas-panel .mtfe-hsw-row .mtfe-hsw .mtfe-hsw__view { aspect-ratio: 4 / 3; }
.mtfe-off-canvas-panel .mtfe-hsw-row .mtfe-hsw .mtfe-hsw__name { text-align: left; }
@media (max-width: 1100px) { .mtfe-hsw-row .mtfe-hsw .mtfe-hsw__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the Home caret wins over the hover underlines some headers draw with a::after */
body .mtfe-navigation-menu > li.clubrova-mega > a::after { content: "\203A" !important; position: static !important; display: inline-block !important; width: auto !important; height: auto !important; margin: 0 0 0 6px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; opacity: 1 !important; transform: rotate(90deg) !important; font-size: .9em; line-height: 1; transition: transform .2s ease !important; }
body .mtfe-navigation-menu > li.clubrova-mega:hover > a::after { transform: rotate(-90deg) !important; }
body .mtfe-off-canvas-panel .mtfe-navigation-menu > li.clubrova-mega > a::after { display: none !important; }

/* ---- row panel: edge to edge, one white background, opens only from the menu item ---- */
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row) {
	left: 0 !important; right: 0 !important; width: auto !important; max-width: none !important;
	padding: 26px max(24px, calc((100vw - 1440px) / 2)) 26px !important;
	border: 0 !important; border-radius: 0 !important;
	background: #FFFFFF !important; box-shadow: 0 30px 60px -30px rgba(10, 20, 53, .35), inset 0 1px 0 rgba(10, 20, 53, .06) !important;
	transform: translateY(12px) !important;
}
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega:hover > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row),
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega:focus-within > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row),
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega.is-open > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row) { transform: translateY(0) !important; }
/* Elementor forces its blocks visible, which let the hidden panel catch the pointer: make everything inside follow the panel */
.mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu * { visibility: inherit !important; }
.mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu .elementor, .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu .e-con { background: transparent !important; }
/* the bridge between the menu item and the panel only spans the item, not the whole width */
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row)::before { display: none; }
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega > a { position: relative; }
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40px; }
html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega { position: relative; }
/* white panel: beats the theme's #site-navigation sub-menu background */
html body #site-navigation .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row), html body .site-navigation .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu:has(.mtfe-hsw-row) { background: #FFFFFF !important; background-color: #FFFFFF !important; }
/* mega menu: no rounded corners anywhere (theme sub-menu rules round the panel and its links) */
html body #site-navigation .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu, html body .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu, html body .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu a.mtfe-hsw__card, html body #site-navigation .mtfe-navigation-menu > li.clubrova-mega > .cf-mega-menu.sub-menu a.mtfe-hsw__card { border-radius: 0 !important; }
