/*
Theme Name: R-Weglange
Author: Automatisch generiert
Version: 1.0
Description: WordPress Theme auf Basis der alten statischen Seite r-weglage.de
*/

/* Basic Layout
body {
    font-family: system-ui, sans-serif;
    background-color: #fff;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: #C7B35B;
    text-decoration: none;
}
a:hover {
    color: #000;
}

main {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}
*/

/* Headings and Text
h1, h2, h3 {
    color: #666;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

p {
    color: #808080;
    margin-bottom: 1rem;
}
*/

/* Teasers (Startseite)
.teaser-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.teaser {
    background-color: #FAFAFA;
    border-top: 1px solid #E6E6E6;
    border-bottom: 2px solid #C7B35B;
    padding: 1rem;
    width: 210px;
    font-size: 0.9rem;
    text-align: center;
}

.teaser img {
    max-width: 100%;
    height: auto;
    border: none;
}
*/

/* Publikationsartikel
.rt-article {
    padding: 1.5rem;
    background-color: #FAFAFA;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ccc;
}
*/
.colored-headline {
    color: #C7B35B;
}

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    border: none;
}
.wp-block-table table th,
.wp-block-table table td {
    border: none;
    padding: 8px;
    text-align: left;
}
.wp-block-table table td:first-child,
.wp-block-table table th:first-child {
    width: 220px;
}


/* Layoutanpassung: Medien & Text Block */
.wp-block-media-text {
    grid-template-columns: 230px 1fr;
}
.wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 230px;
}


.wp-block-media-text>.wp-block-media-text__content {
    padding: 0 8%;
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
    padding: 0 8% 0 0;
}
