/* PEP: breiteres Desktop-Layout und kompakte Produktempfehlungen */
@media (min-width: 1200px) {
    body > .container {
        width: 1400px;
        max-width: calc(100% - 40px);
    }
}

#relProducts {
    margin-top: 22px;
}

#relProducts .boxwrapper {
    margin-bottom: 30px;
}

#relProducts .page-header {
    margin: 20px 0 14px;
}

#relProducts .page-header h2 {
    margin: 0;
    font-size: 28px;
}

#relProducts .page-header .subhead {
    display: block;
    margin-top: 5px;
}

@media (min-width: 768px) {
    #relProducts .gridView {
        margin-bottom: 18px;
    }

    #relProducts .gridView .productBox .picture {
        height: 170px;
        margin-bottom: 8px;
    }

    #relProducts .gridView .productBox .picture img {
        max-height: 155px;
    }

    #relProducts .gridView .productBox .title {
        height: 44px;
        line-height: 22px;
    }

    #relProducts .gridView .productBox .price {
        margin-bottom: 8px;
    }

    #relProducts .gridView .productBox .price .lead {
        font-size: 19px;
    }

    #relProducts .gridView .productBox .actions .btn {
        padding: 6px 10px;
    }
}

/* PEP: unvollständige Empfehlungsreihen mittig ausrichten */
@media (min-width: 768px) {
    #relProducts .gridView {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #relProducts .gridView::before,
    #relProducts .gridView::after {
        display: none;
    }

    #relProducts .gridView .productBox {
        float: none;
    }
}

img.categoryPicture[alt="Aquaristik-Wissen"] {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin: 0 auto 30px;
}

/* Aquaristik-Wissen: Wissenskacheln */
.subcatList .pep-knowledge-card {
    overflow: hidden;
}

.subcatList .pep-knowledge-card-image {
    display: block;
}

.subcatList .pep-knowledge-card-image img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.subcatList .pep-knowledge-card .panel-heading {
    padding: 16px 18px 10px;
    font-size: 18px;
    line-height: 1.35;
}

.subcatList .pep-knowledge-card .panel-heading a {
    display: block;
}

.subcatList .pep-knowledge-card .panel-body {
    padding: 0 18px 18px;
    line-height: 1.55;
}

.subcatList .pep-knowledge-card .panel-body p {
    margin: 0;
}

.subcatList .pep-knowledge-card .panel-heading a {
    font-weight: 600;
}

.subcatList .pep-knowledge-card .panel-body {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.subcatList .pep-knowledge-card .panel-body p {
    width: 100%;
}

.subcatList .pep-knowledge-card .panel-body {
    min-height: 72px;
    padding: 10px 18px;
}
.categoryPicture[alt="Die drei Säulen für gesunde Aquarienpflanzen"] {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 30px;
}

.categoryPicture[alt="Die drei Säulen für gesunde Aquarienpflanzen"] + .page-header h1 {
    text-align: center;
}

#catLongDescLocator a {
    font-weight: 600;
    color: #3aaa2a;
    text-decoration: none;
}

#catLongDescLocator a:hover,
#catLongDescLocator a:focus {
    text-decoration: underline;
}
