/*
Theme Name: Twenty Eleven Moden Müller
Description: Individuelle Anpassungen für moden-mueller.de
Template: twentyeleven
Version: 1.0.0
Text Domain: twentyeleven-modenmueller
*/

/* Individuelles Layout Moden Müller */

body {
    padding: 0;
}

#page {
    position: absolute;
    left: 165px;
    top: 270px;
    max-width: 1000px;
    margin: 0;
    background: transparent;
}

#main {
    padding: 0;
}

#primary {
    min-height: 800px;
}

.left-sidebar #content {
    margin: 0 0 0 23%;
    width: 72%;
    background-color: #fff;
    padding: 15px;
}

.left-sidebar #secondary {
    margin-right: 0;
    width: 215px;
}

#branding {
    border-top: none;
}

#branding #logo img {
    position: absolute;
    top: -235px;
    right: 30px;
    width: 329px;
    height: 91px;
    max-width: none;
}

#branding #address_text,
#branding #openingtimes {
    color: #000;
    position: absolute;
}

#address_text {
    top: -210px;
    left: 227px;
    font-size: 17px;
    letter-spacing: 2px;
}

#openingtimes {
    top: -25px;
    right: 30px;
    font-size: 15px;
    letter-spacing: 2px;
}

.entry-content,
.entry-summary {
    padding: 0;
    height: 395px;
    width: 735px;
    overflow-y: auto;
}

#partners {
    margin-top: 15px;
    width: 1000px;
    height: 60px;
    background: url(images/markenlogos.png) no-repeat;
}

.widget ul {
    margin-top: 55px;
}

.widget ul li {
    font-size: 20px;
    list-style: none;
    text-align: right;
}

.widget a {
    text-decoration: none;
}

/* Moden Müller – linke Navigation */
.left-sidebar #secondary {
    float: left;
    margin-left: 0;
    margin-right: 0;
    width: 215px;
    position: relative;
    z-index: 2;
}

.left-sidebar #primary {
    min-height: 800px;
}

#secondary .widget {
    margin: 0;
}

#secondary .widget_nav_menu ul {
    margin-top: 55px;
    padding: 0;
}

#secondary .widget_nav_menu li {
    list-style: none;
    text-align: right;
    font-size: 20px;
}

#secondary .widget_nav_menu a {
    color: #fff;
    text-decoration: none;
}

/* Moden Müller – Inhaltsbereich */

.left-sidebar #content {
    margin: 0 0 0 23%;
    width: 72%;
    padding: 15px;
    background: #fff;
}

#content .hentry {
    margin: 0;
    padding: 0;
    border: 0;
}

#content .entry-header,
#content .entry-meta,
#content footer.entry-meta {
    display: none;
}

#content .entry-content,
#content .entry-summary {
    padding: 0;
    width: 100%;
    height: 395px;
    overflow-y: auto;
}

#content .entry-content p {
    margin-bottom: 0;
}

/* Moden Müller – Galerie-Slideshow */

.modenmueller-slideshow {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 720 / 390;
    overflow: hidden;
    background: #fff;
}

.modenmueller-slideshow .modenmueller-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.modenmueller-slideshow .modenmueller-slide:first-child,
.modenmueller-slideshow .modenmueller-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.modenmueller-slideshow .modenmueller-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    max-width: none;
}

@media (prefers-reduced-motion: reduce) {
    .modenmueller-slideshow .modenmueller-slide {
        transition: none;
    }
}

/* Moden Müller – Inhaltslayout für einzelne Seiten */

body.page.left-sidebar.singular #primary {
    float: right;
    margin: 0 0 0 -26.4%;
    width: 100%;
}

body.page.left-sidebar.singular #content {
    margin: 0 0 0 23%;
    width: 72%;
    padding: 15px;
    background: #fff;
}

body.page.singular #content .entry-content {
    margin: 0;
    width: 100%;
    max-width: none;
}

/* Feste Seitenbreite für das ursprüngliche Layout */
#page {
    width: 1000px;
}
