/*
 * Inhaltselement "Weitere Angebote" (Seite Arbeitgeber)
 * ----------------------------------------------------
 * Rendert \App\View\Cell\BeratungsangeboteCell.
 *
 * Werte wie in den uebrigen eigenen Stylesheets aus
 * webroot/less/variables.less abgelesen und ausgeschrieben, weil das LESS
 * im Projekt nicht mehr kompiliert wird und CSS-Variablen wegen IE11
 * ausscheiden.
 *
 *   @brand-primary   #00305D
 *   @brand-secondary #264f75
 *   @gray-lighter    #f1f1f1
 *   @gray-dark       #333333
 *   @font-size-base  15px    @font-size-h2 24px    @font-size-h3 19px
 */

.beratung {
    margin-top: 40px;
    margin-bottom: 40px;
}

.beratung-titel {
    margin: 0 0 20px;
    color: #00305d;
    font-size: 24px;
    font-weight: 700;
}

.beratung-block {
    margin-bottom: 30px;
}

.beratung-block:last-child {
    margin-bottom: 0;
}

.beratung-block-titel {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f1f1;
    color: #00305d;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.beratung-text {
    margin: 0 0 12px;
    color: #333333;
    font-size: 15px;
    line-height: 1.428571429;
}

/*
 * Schaltflaeche mit schraegem Anschnitt - die wiederkehrende Formsprache
 * des Projekts, siehe .more-link und .infodl-aktion.
 */
a.beratung-aktion {
    display: inline-block;
    margin-top: 8px;
    margin-left: 13px;
    padding: 8px 22px;
    background-color: #00305d;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transform: skew(-35deg);
    transition: background-color 200ms;
}

/* Der Text selbst bleibt gerade - wie bei .more-link */
a.beratung-aktion > span {
    display: block;
    transform: skew(35deg);
}

a.beratung-aktion:hover,
a.beratung-aktion:focus {
    background-color: #264f75;
    color: #ffffff;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .beratung-block-titel {
        font-size: 17px;
    }

    a.beratung-aktion {
        display: block;
        max-width: 260px;
        text-align: center;
    }
}
