/* Ausschreibung: zweispaltiges Layout */
.ausschreibung .ui-block-a {
    padding: 0.4em 1em 0.4em 0;
    width: 150px;
    font-weight: bold;
}

.ausschreibung .ui-block-b {
    padding: 0.4em 1em 0.4em 0;
    width: calc(100% - 150px);
}

/* Einspaltiges Layout bei schmalen Displays */
@media all and (max-width: 48em) {
    .ausschreibung .ui-block-a,
    .ausschreibung .ui-block-b {
        width: 100%;
        float: none;
    }

    .ausschreibung .ui-block-a {
        background-color: #e9e9e9;
        color: #333;
        padding: 0.4em 1em;
    }
}

.rot {
    color: red !important;
}


/* Streckentabelle */
.strecken-list {
    width: 100%;
    max-width: 50em;
    table-layout: auto;
}

.strecken-list th,
.strecken-list td {
    padding: 0 0.5em 0 0;
    vertical-align: middle;
}

/* Horizontale Trennlinien */
.strecken-list th,
.strecken-list tr:not(:last-child) {
    border-bottom: 1px solid red;
}

/* Schmale Displays: Kurzfassung anzeigen */
.strecken-list .datum-jahr,
.strecken-list .lang {
    display: none;
}

.strecken-list .kurz {
    display: inline;
}


/* Streckentabelle auf breiteren Displays */
@media all and (min-width: 25em) {

    /* Normale Tabellendarstellung */
    .strecken-list td,
    .strecken-list th,
    .strecken-list tbody th,
    .strecken-list tbody td,
    .strecken-list thead td,
    .strecken-list thead th {
        display: table-cell;
        margin: 0;
    }

    /* Automatische jQuery-Mobile-Beschriftungen ausblenden */
    .strecken-list td .ui-table-cell-label,
    .strecken-list th .ui-table-cell-label {
        display: none;
    }

	/* Vertikale Trennlinien zwischen allen Spalten */
	.strecken-list td:not(:first-child),
	.strecken-list th:not(:first-child) {
		border-left: 1px solid red;
	}
	
	/* Innenabstand der Tabellenzellen */
	.strecken-list th,
	.strecken-list td {
		padding: 0.2em 0.4em;
	}
	
	/* Startzeiten nicht umbrechen */
	.strecken-list td:first-child {
		white-space: nowrap;
	}

    /* Startgeld rechtsbündig */
    .strecken-list .startgeld {
        text-align: right;
    }

    /* Langfassung und Jahreszahlen anzeigen */
    .strecken-list .datum-jahr,
    .strecken-list .lang {
        display: inline;
    }

    .strecken-list .kurz {
        display: none;
    }
}


/* Veranstaltungstitel und Logos */
.va_title .ui-grid-b {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.va_title .ui-block-a {
    flex: 1;
    box-sizing: border-box;
    padding-right: 10px;
}

.va_title .ui-block-b,
.va_title .ui-block-c {
    flex: 1;
    box-sizing: border-box;
    padding-left: 10px;
}

.va_title .responsive-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Logo Kieser */
.va_title .ui-block-c img {
    max-height: 150px;
    object-fit: contain;
}

/* Veranstaltungstitel auf schmalen Displays */
@media screen and (max-width: 600px) {
    .va_title .ui-grid-b {
        flex-direction: column;
    }

    .va_title .ui-block-a,
    .va_title .ui-block-b {
        width: 100%;
        padding: 0;
    }
}


/* Läufercup-Logo vertikal zentrieren */
.header-container {
    display: flex;
    align-items: center;
}

.logo-container {
    margin-left: 20px;
}

.logo-container img {
    max-width: 100px;
}

.untertitel {
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
}