/* ==================================================
   MATINO CSS v1
   ================================================== */

/* ==================================================
   MATINO FOOTER
   ================================================== */

#footer {
    background: #ffffff;
    border-top: none;
}

#footer .container,
#footer .footer-rows {
    background: #ffffff;
}

.matino-footer-block {
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    color: #333333;
}

.matino-footer-title {
    margin: 0 0 14px 0;
    padding: 0;
    color: #293382;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}

.matino-footer-item {
    display: block;
    margin: 0 0 6px 0;
    padding: 0;
    color: #293382;
}

.matino-footer-link {
    color: #293382 !important;
    text-decoration: none !important;
}

.matino-footer-link:hover {
    color: #293382 !important;
    text-decoration: underline !important;
}

.matino-contact-intro {
    margin: 0 0 14px 0;
    padding: 0;
    color: #333333;
    font-weight: 400 !important;
    line-height: 1.5;
}

.matino-contact-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 9px 0;
    padding: 0;
    color: #293382;
}

.matino-contact-row svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #293382;
}

.matino-contact-hours {
    color: #333333;
}

@media (min-width: 768px) {
    #footer {
        padding-top: 20px;
    }

    #footer .custom-footer > div {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #footer .footer-bottom {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    #footer {
        padding-top: 0 !important;
    }

    #footer .custom-footer {
        gap: 0 !important;
        row-gap: 0 !important;
    }

    #footer .custom-footer > div {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-right: 10px !important;
        padding-bottom: 0 !important;
        padding-left: 10px !important;
    }

    #footer .custom-footer .banner {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #footer .custom-footer .banner-wrapper {
        height: auto !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 18px !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }

    #footer .matino-footer-block {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px;
        line-height: 1.45;
    }

    #footer .matino-footer-title {
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
        padding: 0 !important;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 600;
    }

    #footer .matino-footer-item {
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 5px !important;
        margin-left: 0 !important;
        padding: 0 !important;
        line-height: 1.4;
    }

    #footer .matino-contact-intro {
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 12px !important;
        margin-left: 0 !important;
        padding: 0 !important;
        font-weight: 400 !important;
        line-height: 1.45;
    }

    #footer .matino-contact-row {
        gap: 9px !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 8px !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }

    #footer .matino-contact-row svg {
        width: 18px !important;
        height: 18px !important;
        flex: 0 0 18px !important;
    }

    #footer .footer-bottom {
        height: auto !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* ==================================================
   MATINO – TYPOGRAFIE OBSAHOVYCH STRANEK
   ================================================== */

.content-inner h1,
.content h1,
#content h1 {
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #293382 !important;
    margin-bottom: 20px !important;
}

.content-inner h2,
.content h2,
#content h2 {
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #293382 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.content-inner h2 > span,
.content h2 > span,
#content h2 > span {
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #293382 !important;
}

.content-inner h3,
.content h3,
#content h3 {
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #293382 !important;
    margin-top: 38px !important;
    margin-bottom: 14px !important;
}

.content-inner h3 > span,
.content h3 > span,
#content h3 > span {
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #293382 !important;
}

@media (max-width: 767px) {
    .content-inner h1,
    .content h1,
    #content h1 {
        font-size: 27px !important;
    }

    .content-inner h2,
    .content h2,
    #content h2,
    .content-inner h2 > span,
    .content h2 > span,
    #content h2 > span {
        font-size: 22px !important;
    }

    .content-inner h3,
    .content h3,
    #content h3,
    .content-inner h3 > span,
    .content h3 > span,
    #content h3 > span {
        font-size: 19px !important;
    }

    .content-inner h3,
    .content h3,
    #content h3 {
        margin-top: 32px !important;
    }
}

/* ==================================================
   VIDEO V PRODUKTOVE GALERII
   ================================================== */

.product-detail video,
.p-detail-inner video,
.gallery video {
    background: #ffffff !important;
    object-fit: contain !important;
}

/* ==================================================
   LEVE MENU KATEGORII – CITELNY TEXT PRI HOVERU
   ================================================== */
/* Aktivní hlavní kategorie musí zůstat bílá i při najetí */

/* ==================================================
   LEVÉ MENU KATEGORIÍ
   ================================================== */

/* Aktivní hlavní kategorie musí zůstat bílá i při najetí */
#categories > .categories.active > .topic.active > a:hover {
    color: #ffffff !important;
}

/* ==================================================
   MATINO HOMEPAGE – VIDEO
   V10: pouze cílené rozšíření brand story/video.
   HTML homepage zůstává beze změny.
   ================================================== */

.welcome .matino-brand-story {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box;
}

.welcome .matino-video {
    width: min(1360px, calc(100% - 80px)) !important;
    max-width: 1360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.welcome .matino-video-inner {
    width: 100% !important;
    max-width: none !important;
}

.welcome .matino-video-inner iframe {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 767px) {
    .welcome .matino-brand-story {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .welcome .matino-video {
        width: 100% !important;
        max-width: none !important;
    }
}
