.event-details {
    max-width: 40%;
    width: 100%;
    margin: 0.75rem auto;
    padding: 0.6rem;
    background: #f9f6ee;
    border: 1px solid #e6dcc2;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 0.95rem;
    line-height: 1.3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.event-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-details li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px dashed #e6dcc2;
    color: #333;
}

.event-details .event-date {
    font-weight: 600;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-details .event-time {
    font-weight: 700;
    color: #111;
    text-align: right;
    white-space: nowrap;
    min-width: 110px;
}

.event-figure {
    max-width: 800px;
    margin: 1rem auto;
    text-align: center;
    padding: 0 0.5rem;
}

.event-figure .event-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    max-height: 70vh;
}

#contact-main {
    min-height: 75vh;
}

.no-link-a-tag {
    text-decoration: none;
    pointer-events: none;
}

footer {
    width: 100%;
    background-color: rgb(180, 173, 172);
    bottom: 0px;
    left: 0px;
    margin-top: 20px;
    float: right;
}

footer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

footer li {
    justify-content: flex-end;
    float: left;
}

footer a {
    display: block;
    text-decoration: none;
    margin: 5px;
    padding: 5px;
}

#pic_gründung,
#pic_ehrung,
#pic_fahne,
#chronik_pic {
    width: min(100%, 750px);
    max-height: 500px;
    height: auto;
    margin: 0.75rem 0;
}

#pic_gründung {
    min-width: 212px;
    min-height: 110px;
    max-height: 395px;
    max-width: 750px;
}

#pic_ehrung {
    min-width: 248px;
    min-height: 186px;
    max-height: 810px;
    max-width: 600px;
}

figcaption {
    display: block;
    margin-bottom: 20px;
    font-size: 16px;
    font-style: italic;
}

.hidden {
    display: none !important;
}

form {
    display: grid;
    max-width: 80vw;
    grid-template-columns: [labels] auto [controls] 1fr;
    grid-auto-flow: row;
    grid-gap: 10px;
}

#text {
    grid-row: span 5;
}

form>input[type="submit"] {
    grid-column: controls;
}

.Quelle {
    font-size: 16px;
}

.foto_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 1;
    margin: 1rem 0;
}

.foto_flex img {
    width: calc(50% - 0.5rem);
    height: 30ex;
    padding: 0;
    min-width: 114px;
    max-width: 430px;
    object-fit: cover;
}

#chronik_pic {
    height: 500px;
}

object {
    width: 90%;
    height: 500px;
}

#flyer_pdf {
    width: 90%;
    height: 1000px;
}

.atab {
    tab-size: 10;
    -moz-tab-size: 10;
    white-space: pre;
}

table {
    width: min(45vw, 700px);
    padding-bottom: 10px;
    border-collapse: collapse;
}

th,
td {
    border: 2px solid #ccc;
    text-align: center;
    padding: 8px;
}

.results-flex {
    display: flex;
    flex-wrap: wrap;
}

.results_foto_flex img {
    height: 60vh;
    width: auto;
    padding: 5px;
}

.results_foto_flex_quer {
    height: auto !important;
    max-width: 60%;
}

.border-box {
    display: inline-block;
    margin: 16px 0;
    width: 100%;
}

.youtube {
    width: 950px;
    height: 520px
}
