/* MJ Brand Global CSS 1.3.4-r1
   Layout hotfix: brand blok využívá plnou šířku svého Shoptet kontejneru.
   Nasadit globálně v Shoptetu pouze jednou.
   Jednotlivé stránky značek nemají obsahovat vlastní <style> blok.
*/

.mj-brand {
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
    font-family: "League Spartan", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #586572;
}

.mj-brand,
.mj-brand * {
    box-sizing: border-box;
}

.mj-brand h2,
.mj-brand h3 {
    margin-top: 0;
    font-family: "League Spartan", sans-serif;
    color: #396440;
    line-height: 1.25;
}

.mj-brand h2 {
    margin-bottom: 14px;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 700;
}

.mj-brand h3 {
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 600;
}

.mj-brand p {
    margin: 0 0 14px;
}

.mj-brand strong {
    color: #396440;
    font-weight: 600;
}

.mj-brand-intro {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
    padding: 26px 28px;
    background: #F7F7F7;
    border-radius: 8px;
}

.mj-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 120px;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 6px;
}

.mj-brand-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 110px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.mj-brand-intro-text {
    min-width: 0;
}

.mj-brand-lead {
    margin-bottom: 12px;
    color: #396440;
    font-size: 18px;
    line-height: 1.45;
}

.mj-brand-button {
    display: inline-block;
    margin-top: 5px;
    padding: 12px 24px;
    border-radius: 4px;
    background: #C00A26;
    color: #FFFFFF !important;
    font-family: "League Spartan", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    transition: background-color .2s ease;
}

.mj-brand-button:hover,
.mj-brand-button:focus-visible {
    background: #A53C40;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.mj-brand-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.mj-brand-pillar {
    padding: 18px 20px;
    border-top: 4px solid #91C870;
    border-radius: 6px;
    background: #F7F7F7;
}

.mj-brand-pillar p {
    margin-bottom: 0;
    font-size: 15px;
}

.mj-brand-content {
    margin-bottom: 18px;
    padding: 23px 26px;
    border: 1px solid #BCDC93;
    border-radius: 8px;
    background: #FFFFFF;
}

.mj-brand-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.mj-brand-content-grid--single {
    grid-template-columns: 1fr;
}

.mj-brand-links {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.mj-brand-links li {
    position: relative;
    padding: 6px 0 6px 18px;
}

.mj-brand-links li::before {
    position: absolute;
    top: 14px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7DA85D;
    content: "";
}

.mj-brand-links a {
    border-bottom: 1px solid #BCDC93;
    color: #396440;
    font-weight: 600;
    text-decoration: none;
}

.mj-brand-links a:hover,
.mj-brand-links a:focus-visible {
    border-bottom-color: #A53C40;
    color: #A53C40;
    text-decoration: none;
}

.mj-brand-note {
    margin-top: 18px;
    padding: 13px 16px;
    border-left: 4px solid #91C870;
    border-radius: 4px;
    background: #F7F7F7;
    color: #586572;
}

.mj-brand-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.mj-brand a:focus-visible {
    outline: 3px solid #91C870;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .mj-brand-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 18px;
    }

    .mj-brand-logo {
        min-height: 0;
        padding: 14px;
    }

    .mj-brand-logo img {
        max-height: 95px;
    }

    .mj-brand-pillars,
    .mj-brand-content-grid {
        grid-template-columns: 1fr;
    }

    .mj-brand-pillars {
        gap: 12px;
    }

    .mj-brand-content {
        padding: 20px 18px;
    }

    .mj-brand-content-grid {
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .mj-brand-button {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mj-brand-button {
        transition: none;
    }
}
