/* Header: readable navigation, with the mobile menu used before links crowd. */
.main-nav,
.main-nav > a,
.main-nav summary {
    font-size: 16px;
    line-height: 1.5;
}
.main-nav { gap: 19px; }
.main-nav .action-small { font-size: 14px; }
.main-nav .language-links a { font-size: 12px; }
.nav-resources > div > a { font-size: 16px; }

/* Download: white type on blue cards, dark blue on the light cards. */
.fm-download-header .dl-row:not(.plus-version):not(.manuals-version) {
    background: linear-gradient(110deg, #176fa6, #105e98);
    border-color: #ffffff55;
}
.fm-download-header > .container > .row > div > h1 { color: #fff; }
.fm-download-header .dl-row .info-col h2 { color: #fff; }
.fm-download-header .dl-row .meta-text {
    color: #fff;
    opacity: 1;
}
.fm-download-header .dl-row .more-details-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.fm-download-header .dl-row.plus-version .info-col h2,
.fm-download-header .dl-row.manuals-version .info-col h2 { color: #125c89; }
.fm-download-header .dl-row.plus-version .meta-text,
.fm-download-header .dl-row.manuals-version .meta-text {
    color: #344e61;
    opacity: 1;
}
.fm-download-header .dl-row.plus-version .more-details-link,
.fm-download-header .dl-row.manuals-version .more-details-link { color: #095d8d; }
.fm-download-header .more-details-link:hover { text-decoration-thickness: 2px; }

/* Home main features: restore the original Inter typography and proportions. */
.fm-main-features > .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 32px;
}
.fm-main-features > .container > h2,
.fm-main-features > .container > .text-center { grid-column: 1 / -1; }
.fm-main-features > .container > h2 {
    font-family: Inter, Arial, sans-serif !important;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    margin: 0 0 4px;
}
.fm-main-features > .container > p:empty,
.fm-main-features > .container > br { display: none; }
.fm-main-features .main-box {
    float: none;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.fm-main-features .main-box p {
    font-family: Inter, Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #fff;
    margin: 0;
}
.fm-main-features .main-box .lead1 {
    font-family: Inter, Arial, sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 14px;
}
.fm-main-features .lead1 .svg-inline--fa,
.fm-main-features .lead1 i {
    font-size: 27px;
    vertical-align: middle;
    margin-left: 5px;
}
.fm-main-features > .container > .text-center { margin-top: 8px; }

@media (max-width: 1250px) {
    .main-nav { gap: 16px; }
    .main-nav > .action { display: none; }
}
@media (max-width: 1050px) {
    .nav-row { min-height: 78px; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border: 1px solid #a4cde2;
        border-bottom: 3px solid #80b6d2;
        border-radius: 5px;
        padding: 11px;
        background: linear-gradient(#fff, #e4f3fb);
    }
    .nav-toggle span { width: 22px; height: 2px; background: #0b7db9; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(#fff, #edf8ff);
        box-shadow: 0 12px 22px #07528633;
        border-bottom: 3px solid #24a2db;
        padding: 22px 24px;
        align-items: stretch;
        gap: 19px;
    }
    .main-nav.is-open { display: flex; flex-direction: column; }
    .main-nav > a:not(.action) { padding: 0; }
    .main-nav > a.current::after { display: none; }
    .main-nav > .action { display: flex; font-size: 16px; }
    .language-links { padding: 0; border: 0; gap: 20px; }
    .nav-resources > div { position: static; box-shadow: none; margin-top: 12px; }
}
@media (max-width: 800px) {
    .fm-main-features > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .fm-main-features > .container { grid-template-columns: 1fr; gap: 25px; }
    .fm-main-features > .container > h2 { font-size: 29px; }
    .fm-main-features .main-box .lead1 { font-size: 20px; }
    .fm-main-features .main-box p { font-size: 16px; }
}
