/* Yoga Atelier Trier – Stylesheet
-------------------------------------------------------------- */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(../fonts/opensans.woff2) format('woff2');
}
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
    src: url(../fonts/opensans-italic.woff2) format('woff2');
}



/* Reset
-------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
ol, ul {
    list-style: none;
}



/* Structure
-------------------------------------------------------------- */

html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}
body {
    color: #333;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    padding: 0 0 50px 0;
    line-height: 1;
    font-size: 100%;
}
@media only screen and (max-width: 600px) {
    body {
        font-size: 90%;
    }
}
.site {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 750px;
}
.branding {
    padding: 30px 0;
}
.colophon {
    padding: 10px 0;
    font-size: 0.8em;
    line-height: 1.4em;
    border-top: 1px solid #999;
}



/* Links
-------------------------------------------------------------- */

a:link,
a:visited {
    color: #dd4a38;
    text-decoration: none;
}
a:hover,
a:active {
    color: #333;
}
a:focus-visible {
    outline: 2px solid #dd4a38;
    outline-offset: 2px;
}



/* Header
-------------------------------------------------------------- */

.branding a {
    color: #333;
}
.branding h1 {
    font-size: 2.7em;
    font-weight: 400;
    line-height: 1.2em;
}
.branding p {
    font-size: 1.2em;
    line-height: 1.3em;
    color: #999;
}



/* Navigation
-------------------------------------------------------------- */

.menu {
    margin: 0 0 20px 0;
    background: #444;
}
.menu ul {
    display: flex;
    flex-wrap: wrap;
}
.menu a:link,
.menu a:visited {
    display: block;
    font-size: 1em;
    line-height: 1.4em;
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
}
.menu a:hover,
.menu a.active {
    background: #dd4a38;
}



/* Articles
-------------------------------------------------------------- */

.blog {
    margin: 0 0 80px 0;
}
.blog::after {
    content: '';
    display: table;
    clear: both;
}
.post-meta {
    color: #888;
    font-size: 0.85em;
    margin: 5px 0 20px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #bbb;
}
.blog .post-sub {
    margin: 30px 0 0 0;
}
.blog .post-sub a {
    display: inline-block;
    margin: 0 10px 0 0;
    background: #444;
    padding: 10px;
    color: #fff;
}
.blog .post-sub a:hover {
    background: #dd4a38;
}
.read_more {
    float: right;
    margin: 10px 0 0 0;
    font-size: 0.9em;
    text-transform: uppercase;
}
.content a {
    border-bottom: 1px solid #ccc;
}



/* Typo
-------------------------------------------------------------- */

strong {
    font-weight: 700;
}
em {
    font-style: italic;
}
h1, h2, h3, h4 {
    font-weight: normal;
    line-height: 1.3em;
}
article p {
    font-size: 1em;
    line-height: 1.7em;
    margin: 10px 0;
}
article h1 {
    font-size: 2.5em;
    margin: 0 0 5px 0;
    color: #444;
}
.blog .post-meta h1 {
    font-size: 2.2em;
}
article h2 {
    font-size: 1.7em;
    margin: 30px 0 0 0;
    font-weight: 600;
}
article h3 {
    font-size: 1.3em;
    margin: 20px 0 0 0;
    font-weight: 700;
}
article .content ol,
article .content ul {
    list-style-type: square;
    margin: 10px 30px 30px 30px;
    line-height: 1.6em;
}
article .content ol {
    list-style-type: decimal;
}
article .content li {
    margin: 0 0 6px 0;
}
article blockquote {
    margin: 30px 20px;
    padding: 5px 15px;
    font-style: italic;
    border-left: 10px solid #e5e5e5;
}
@media only screen and (max-width: 500px) {
    article blockquote {
        margin: 20px 0;
    }
    article h1 {
        font-size: 2em;
    }
    .blog .post-meta h1 {
        font-size: 1.7em;
    }
}



/* Pages
-------------------------------------------------------------- */

.page {
    padding: 0 0 30px 0;
}
.page > h1 {
    padding: 0 0 5px 0;
    border-bottom: 1px solid #999;
}



/* Media
-------------------------------------------------------------- */

img {
    max-width: 100%;
    height: auto;
}
.rightimg {
    float: right;
    margin: 0 0 10px 10px;
}
.leftimg {
    float: left;
    margin: 0 10px 10px 0;
}
.clear {
    clear: both;
}
