/* Reset & base layout */
html, body {
    height: 100%;
    margin: 0;
    padding:0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #010181;
    /* color: #222; */
    /* new */
    font-size:24px;
    text-decoration: none;
    color: #ffffff;
    text-align:left;
}

body a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

body a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Header */
header {
    background-color: #010181;
    color: #ffffff;
    margin:0;
    padding:0;
    text-align: center;
    font-size:1.4rem;
}

header h1 {
    margin: 10px 0 10px 15px;
    font-size: 2.4rem;
}


header h2 {
    margin: 10px 0 15px 15px;
    font-size: 2.0rem;
}

header p {
    margin: 0;
    opacity: 0.95;
}

/* Navigation */
nav {
    background-color: #010181;
    width: 100%;
    font-size:1.4rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0px 8px 0px 8px;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0px 8px 0px 8px;
}

nav a {
    display: block;
    padding: 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Main header with logo */
.mainheader {
    width: 100%;
    /* background-image: url('../s_logo_134x134.png');*/
    /* background-repeat: no-repeat; */
    /* background-attachment: fixed; */
    /* background-position: 0 15px;  */
    z-index:1;
    margin-top:0px;
    margin-bottom:0px;
}

.mainheadercontent {
    width: 100%;
    overflow:auto;
    z-index:100;
    padding-top:20px;
}

.mainheadercontent a {
    text-decoration: none;
    color: #ffffff;
}

/* Home + news + blogs + widgets */
.homecontentblock_odd {
    margin: 20px 5px 15px 5px;
    background-color: #e6edf7;
    border-radius: 10px;
    padding: 15px;
    color: #333;
}
.homecontentblock_even {
    margin: 20px 5px 15px 5px;
    background-color: #f4e9e6;
    border-radius: 10px;
    padding: 15px;
    color: #333;
}
.homecontentblock_odd article,
.homecontentblock_even article {
    line-height: 1.5;
}
.homecontentblock_odd a,
.homecontentblock_even a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}
.homecontentblock_odd a:hover,
.homecontentblock_even a:hover,
.homecontentblock_odd a:focus,
.homecontentblock_even a:focus {
    color: #0b57d0;
    text-decoration: underline;
    outline: none;
}
.homecontentblock_odd a:visited,
.homecontentblock_even a:visited {
    color: #5a5a9f;
}
.homecontentblock_odd article p,
.homecontentblock_even article p {
    color: #444;
    margin-top: 5px;
}

/* Blog post */
.post {
    text-align: left;
    margin-top: 10px;
}

.post h2 {
    margin-top: 0;
}

.post-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.post-content {
    line-height: 1.6;
    margin-bottom: 1em;
    font-size:1.1rem;
}

.post-content p {
    line-height: 1.6;
    margin-bottom: 1em;
}

.post-tags {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #555;
}

img[src*='#left'] {
    float: left;
    margin-right: 15px;
}
img[src*='#right'] {
    float: right;
    margin-left: 15px;
}
img[src*='#center'] {
    display: block;
    margin-left: 15px;
    margin-right: 15px;
}

.pagination {
	list-style: none;
	padding: 0;
	margin: 3rem 0 1rem;
	text-align: center;
	color: #aaa;
}

.pagination li {
	display: inline-block;
	border: 1px solid #eee;
}

.pagination a, .pagination span {
	display: inline-block;
	padding: 4px 15px;
}

/* Blog post navigation (Prev / Next) */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 15px 10px 15px;
    gap: 15px;
    background-color: #f5f5f5;
}

.post-nav {
    flex: 1;
    padding: 14px 16px;
    text-decoration: none;
    color: #222;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    border-radius: 6px;
}

/* Shared title styling */
.post-nav span {
    display: block;
    font-weight: bold;
    margin-top: 6px;
    font-size: 1.05rem;
}

/* Previous (warm / past) */
.post-nav.prev {
    background-color: #f4e9e6;      /* soft warm tint */
    border-color: #e0c7c2;
    text-align: left;
}

.post-nav.prev:hover {
    background-color: #ead8d3;
}

/* Next (cool / future) */
.post-nav.next {
    background-color: #e6edf7;      /* soft blue tint */
    border-color: #c3d2ea;
    text-align: left;
    margin-right: 25px;
}

.post-nav.next:hover {
    background-color: #d8e4f5;
}


/* Main */
main,
.post-content {
    max-width: 100%;
    box-sizing: border-box;
    margin: 15px;
    font-size:1.1rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.contact a:link,
.contact a:active,
.contact a:hover,
.contact a:visited
{
    color: #ffffff;
    text-decoration: none;
}

/* Workout widget responsive sizing */
#workout-widget {
    width: 100%;
    min-width: 380px;
}

/* Tablet and larger displays */
@media (min-width: 768px) {
    #workout-widget {
        min-width: 640px;
    }
}

/* Desktop displays */
@media (min-width: 1024px) {
    #workout-widget {
        min-width: 800px;
    }
}

/* Large desktop displays */
@media (min-width: 1400px) {
    #workout-widget {
        min-width: 1200px;
    }
}

/* Main content */
main {
    flex: 1; /* pushes footer to bottom on short pages */
    padding-bottom: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    /* new */
    font-size:24px;
    text-decoration: none;
    color: #ffffff;
    text-align:left;
}

.impressum_text
{
    font-size:24px;
    text-decoration: none;
    color: #ffffff;
    text-align:left;
}

.impressum_text a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.impressum_text a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Footer */
footer {
    background-color: #010181;
    color: #e0e0e0;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.9rem;
}
