.viahistory-container {
    width: 90%;
    max-width: 320px;
    margin: 20px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}

.viahistory-header {
    padding: 16px 40px;
    background: #2e4672;
    color: #f6ce00;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    text-transform: uppercase;
}

.viahistory-etappe { font-size: 16px; font-weight: 700; text-transform: none; }
.viahistory-bild { position: relative; color: #2e4672; text-align: center; border-bottom: 1px solid #ccc; }
.viahistory-bild img { display: block; width: 100%; height: auto; }

.viahistory-bildhinweis {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    max-width: 100%;
    padding: 4px 8px;
    color: rgba(255, 255, 255, .51);
    font-size: 10px;
    line-height: 1.25;
    text-align: left;
}

.viahistory-name {
    padding: 16px 10px;
    border-bottom: 1px solid #ccc;
    background: #f2f2f2;
    color: #2e4672;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
	line-height: 26px;
}

.viahistory-content { padding: 20px; }
.viahistory-datum { padding: 0px 0 10px; font-size: 46px; font-weight: 400; text-align: center; }

.viahistory-datum-grundlage,
.viahistory-beschreibung {
    display: flex;
    align-items: center;
    color: #2e4672;
    font-size: 16px;
    line-height: 1.45;
}

.viahistory-datum-grundlage { padding-bottom: 20px; border-bottom: 1px solid #ccc; }
.viahistory-beschreibung { padding-top: 20px; }

.viahistory-action {
    padding: 16px 40px;
    border-bottom: 1px solid #ccc;
    background: #f2f2f2;
    color: #2e4672;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
}

.viahistory-link { display: block; color: inherit; text-decoration: none; }
.viahistory-link:hover, .viahistory-link:focus { color: inherit; text-decoration: none; }
.viahistory-link:focus-visible { outline: 3px solid #f6ce00; outline-offset: 3px; }
