/*
Theme Name: MPS Senica
Template: generatepress
Version: 1.0.4
Text Domain: mps-senica
*/

:root {
    --mps-blue: #0875d8;
    --mps-green: #25a641;
    --mps-yellow: #ffd12f;
    --mps-red: #e72e2e;
    --mps-ink: #182330;
    --mps-muted: #5d6b78;
    --mps-line: #e1e8ee;
}

body {
    background: #f5f7f9;
    color: var(--mps-ink);
}

a {
    color: #006fbd;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--mps-line);
}

.inside-header {
    padding-top: 18px;
    padding-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
}

.site-logo img,
.header-image {
    max-height: 70px;
    width: auto;
}

.site-branding-container {
    min-width: 0;
    flex: 1 1 360px;
}

.site-branding {
    min-width: 0;
}

.main-title {
    font-size: 25px;
    line-height: 1.2;
}

.main-title a {
    color: var(--mps-ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.main-navigation {
    background: #fff;
    flex: 1 1 520px;
}

#mobile-menu-control-wrapper {
    display: none !important;
}

.main-navigation .inside-navigation {
    justify-content: flex-end;
}

.main-navigation .main-nav ul li a,
.menu-toggle {
    color: var(--mps-ink);
    font-weight: 700;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:hover > a {
    color: var(--mps-blue);
    background: transparent;
}

.site-content {
    padding-top: 0;
}

.home .entry-header {
    display: none;
}

.inside-article,
.sidebar .widget,
.comments-area {
    border-radius: 6px;
    box-shadow: none;
    border: 1px solid var(--mps-line);
}

.inside-article {
    padding: 46px;
}

.mps-hero {
    margin: -40px -40px 34px;
    padding: 58px 40px;
    background: linear-gradient(120deg, rgba(24, 35, 48, .96), rgba(8, 117, 216, .82));
    color: #fff;
}

.mps-hero h1 {
    max-width: 850px;
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.12;
    color: #fff;
}

.mps-hero p {
    max-width: 780px;
    font-size: 19px;
    margin: 0;
}

.mps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mps-service {
    border: 1px solid var(--mps-line);
    border-radius: 6px;
    padding: 20px;
    background: #fff;
}

.mps-service h3 {
    margin-top: 0;
    font-size: 20px;
}

.mps-colorbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 5px;
    margin-bottom: 22px;
}

.mps-colorbar span:nth-child(1) { background: var(--mps-yellow); }
.mps-colorbar span:nth-child(2) { background: var(--mps-blue); }
.mps-colorbar span:nth-child(3) { background: var(--mps-green); }
.mps-colorbar span:nth-child(4) { background: var(--mps-red); }

.site-info {
    background: var(--mps-ink);
    color: #fff;
}

.site-info a {
    color: #fff;
}

@media (max-width: 900px) {
    .inside-header {
        gap: 12px;
    }

    .site-branding-container {
        flex-basis: 100%;
    }

    .main-navigation {
        flex-basis: 100%;
    }

    .main-navigation .inside-navigation {
        justify-content: flex-start;
    }

    .main-navigation .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        width: auto !important;
        margin: 0 auto;
        padding: 0 18px;
        border: 1px solid var(--mps-line);
        border-radius: 4px;
        background: #f8fafc;
    }

    .main-title {
        font-size: 23px;
    }

    .mps-grid {
        grid-template-columns: 1fr;
    }

    .mps-hero {
        margin: -30px -30px 28px;
        padding: 38px 30px;
    }

    .mps-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 560px) {
    .inside-header {
        padding-top: 14px;
        padding-bottom: 14px;
        gap: 10px;
    }

    .site-logo img,
    .header-image {
        max-height: 52px;
    }

    .main-title {
        font-size: 20px;
    }

    .main-navigation .menu-toggle {
        min-height: 40px;
    }

    .inside-article {
        padding: 28px 22px;
    }

    .mps-hero {
        margin: -28px -22px 26px;
        padding: 32px 22px;
    }
}
