/**
 * Homepage shell layout: main-form hero sizing and reviews/news card heights.
 * Extracted from equinox-custom.css.
 */

/* =============================================================================
 * Homepage hero/form layout (shell header + nav: css/equinox-header.css)
 * (base --eq-* variables: css/equinox-tokens.css)
 * ============================================================================= */

/* Homepage main exchange block: centered + viewport height */
body.home.equinox-shell .main-form,
body.flarex-homepage-template.equinox-shell .main-form {
    min-height: calc(100svh - var(--eq-topbar-height) - var(--eq-nav-viewport-offset) - var(--eq-nav-height) - var(--eq-admin-offset));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.4rem !important;
}

body.home.equinox-shell .main-form .xchange_table_wrap,
body.flarex-homepage-template.equinox-shell .main-form .xchange_table_wrap {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Reviews/news cards: fixed visual height */
body.equinox-shell .section.reviews .feedback.feedback-slide,
body.equinox-shell .section.news-section .news.news-slide {
    height: 150px !important;
    min-height: 150px !important;
    overflow: hidden !important;
}

/* Desktop homepage hero: --eq-userbar-compact is set in equinox-header.css */
@media only screen and (min-width: 641px) {
    body.home.equinox-shell .main-form,
    body.flarex-homepage-template.equinox-shell .main-form {
        min-height: calc(100svh - var(--eq-admin-offset) - var(--eq-userbar-compact) - var(--eq-nav-height)) !important;
    }
}
