/*
Theme Name: Chaplin Child Theme
Theme URI: https://andersnoren.se/teman/chaplin-wordpress-theme/
Description: A child theme for Chaplin.
Author: Gloria Feldner
Author URI: https://gloriari.at/
Template: chaplin
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* --------------------------------------------------------------------------------------------- */
/*	CSS Variables
/* --------------------------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
   
    --grün: #038C65;
    --ocker: #BFA454;
	--hell: #F5F1E4;
    --dunkel: #261f19;

    --gallery-gap: 2rem;
    --font-size-small: 1.8rem;
    --font-size-medium: 2rem;
    --font-size-large: 2.2rem;
}

body {
    color: var(--dunkel);
    font-size: var(--font-size-small);
	background: var(--hell);
}

body p {
    font-size: var(--font-size-small);
}

::selection {
    background-color: var(--ocker);
}


.map-mobil {
	display: block;
}
.map-desktop {
	display: none;
}


/* --------------------------------------------------------------------------------------------- */
/*	Fonts
/* --------------------------------------------------------------------------------------------- */

/* Barlow */

/* Regular 400 */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/BarlowCondensed-Regular.ttf) format('truetype');
    }

/* Medium 500 */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/BarlowCondensed-Medium.ttf) format('truetype');
    }

/* SemiBold 600 */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/BarlowCondensed-SemiBold.ttf) format('truetype');
    }


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

body {
    font-family: 'Barlow Condensed';
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .faux-heading, .ff-headings {
    font-family: 'Barlow Condensed';
    font-weight: 600;
}

h1, h2, h3 {
    text-transform: uppercase;
}

/* Links */ 

body a {
    font-weight: 600;
    text-decoration: none;
    color: #000;
}
body a:hover, body a:focus {
    color: var(--grün);
}

.main-menu-alt a:hover, .main-menu-alt li.current-menu-item > a, .main-menu-alt li.current-menu-item > .link-icon-wrapper > a {
    color: var(--grün);
    text-decoration: none;
}

.post-meta.color-accent {
    color: var(--grün);
}


/* Buttons */

.info-button {
    background: var(--grün);
    padding: 0.5rem 3rem;
    width: 100%;
    color: var(--hell);
    border-bottom: solid var(--ocker) 0.5rem;
    display: flex;
    justify-content: center;
}
.info-button p {
    font-size: 1.4rem;
}

.widget {
    border-top: unset;
    margin-top: 3rem;
    padding-top: unset;
}


/* --------------------------------------------------------------------------------------------- */
/*	IMG
/* --------------------------------------------------------------------------------------------- */
figure.wp-block-gallery.has-nested-images.sortiment {
	align-items: normal;
	flex-direction: column;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption, .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
    bottom: 60%;
    left: 0;
    max-height: 100%;
    position: absolute;
    right: unset;
}

figure.wp-block-gallery.has-nested-images.sortiment  figcaption {
    box-sizing: border-box;
    color: var(--hell);
    font-size: 4rem;
    text-transform: uppercase;
    margin: 0;
    overflow: auto;
    padding: 1rem;
    text-align: center;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background:var(--grün);
}

figure.wp-block-gallery.has-nested-images.sortiment {
    align-items: normal;
    flex-direction: column;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    margin-bottom: var(--gallery-gap);
    width: 100%;
}


/* --------------------------------------------------------------------------------------------- */
/*	ICONS
/* --------------------------------------------------------------------------------------------- */

.quote-icon {
    max-width: 10%;
    margin: auto;
}

/* --------------------------------------------------------------------------------------------- */
/*	NAVIGATION
/* --------------------------------------------------------------------------------------------- */

.header-inner {
    flex-direction: column;
}

.header-inner .section-inner {
    flex-direction: row;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/*.site-logo img {
    max-height: 8rem;
}*/

.main-menu-alt-container {
    margin-left: 0;
    margin-right: 5rem;
}

.admin-bar .menu-modal-inner{
    margin-top: 1rem;
}

.menu-modal-toggles .toggle{
    justify-content: flex-end;
}

.header-inner.is-sticky {
    background: var(--hell);
}


/* --------------------------------------------------------------------------------------------- */
/*	SEITENSTRUKTUR
/* --------------------------------------------------------------------------------------------- */

#site-header {
    margin-bottom: 0;
}

.welcome-grid .wp-block-heading {
    background-color: var(--grün);
    margin-left: -2rem;
    padding: 0.5rem 2rem;
    z-index: 9;
}

.welcome-grid h3.wp-block-heading {
    margin-top: -2rem;
}

#post-inner {
    margin-top: 0;
    padding-top: 1rem;
}

h1.entry-title {
    margin-bottom: 2rem;
}

.testimonials .wp-block-column > *:first-child::before {
    content: '\f10d';
	display: block;
	font-family: 'Font Awesome 5';
	font-size: 2.4rem;
}

.wp-block-columns.alignfull.video-block, .wp-block-columns.testimonials {
    background-color: var(--grün);
    margin-bottom: 0;
}

.wp-block-columns.testimonials {
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-bottom: 5rem;
    margin-top: 5rem;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.testimonials .wp-block-column {
    padding-left: 2rem;
    padding-right: 2rem;
}

ul.latest-post, ul.latest-post li {
    margin-left: 0;
}

.entry-content .video {
    padding: 0 2rem;
}

.section-inner .entry-header, .section-inner .archive-header {
    background-color: var(--grün);
    margin-left: -2rem;
    width: fit-content;
    padding-right: 2rem;
}

 .entry-header .entry-title, .archive-header .archive-title {
    padding-left: 2rem;
}

.post-inner {
    margin-top: 4rem;
}

.post-navigation {
    border: none;
}

.category-aussaat .faux-image, .bg-image {
	background-position: top;
}

/* --------------------------------------------------------------------------------------------- */
/*  WIDGETS, SHORTCODES
/* --------------------------------------------------------------------------------------------- */

.opening-hours, .kontakt {
    background-color: var(--dunkel);
    padding: 2rem;
    color: var(--hell);
}
.kontakt {
    margin-right: 10rem;
}

.kontakt a {
    color: var(--hell);
}

.footer-widgets.map {
    margin-right: -1.8rem;
    margin-left: -1.8rem;
	margin-top: 3rem;
}

.footer-widgets.map .widget {
    border-top: none;
    
}

.widget.widget_block.widget_text {
	margin-top: 1rem;
	margin-left: 1.8rem;
	margin-right: 1.8rem;
}

/*
.footer-widgets.map iframe {
    width: 100% !important;
}*/

/* --------------------------------------------------------------------------------------------- */
/*	STARTSEITE
/* --------------------------------------------------------------------------------------------- */

.symbol-logo {
    max-width: 60%;
    margin: auto;
}

/* --------------------------------------------------------------------------------------------- */
/*  MEDIA QUERIES - MIN-WIDTH
/* --------------------------------------------------------------------------------------------- */


@media (min-width: 700px) {

    body {
        font-size: var(--font-size-medium);
    }
    body p {
        font-size: var(--font-size-medium);
    }

    #site-header {
        padding: 0;
    }
    .welcome-grid .wp-block-heading {
        margin-left: -4rem;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .entry-content .video {
        padding: 0 4rem;
    }

    .section-inner .entry-header, .section-inner .archive-header {
        margin-left: -4rem;
    }
    .entry-header .entry-title, .archive-header .archive-title {
        padding-left: 4rem;
    }

    /*.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
        font-size: 4.5rem;
    }*/

    footer-widgets-outer-wrapper {
		border-style: solid;
		border-width: 0.1rem 0px 0px;
		margin-bottom: 6rem;
		margin-top: 6rem;
		padding-top: 2rem;
	}
	
    .footer-widgets.map .widget {
        margin-top: 0;
    }
	
    .header-inner.is-sticky .site-logo img {
        max-height: 7rem;
        content: url(http://samen-koeller.at/wp-content/uploads/2026/10/SamenKoeller_Sybmollogo.png);
    }	
}

@media (min-width: 782px){
	
	.map-mobil {
	display: none;
	}
	.map-desktop {
		display: block;
	}

    :root [class*="_inner-container"] > :first-child {
        margin-top: revert;
    }

    .welcome-grid .wp-block-group__inner-container {
        display: grid;
        grid-template-columns: 35% auto;
        align-items: center;
        grid-auto-rows: auto; 
    }
    /*.welcome-grid h2.wp-block-heading {
        margin-top: 3rem;
    }*/

    .welcome-grid .wp-block-image {
        grid-row: 1 / span 8;
    }
    .welcome-grid .wp-block-heading, .welcome-grid .wp-block-paragraph {
        grid-column: 2 / span 2;
        padding: 0 3rem;
        /*margin-bottom: 0;*/
    }

    .welcome-block .wp-block-heading, .welcome-grid .wp-block-heading {
        margin-left: -8rem;
        margin-top: 3rem;
        padding: 0.5rem 2rem;
    }

    .welcome-grid figure {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .testimonials .wp-block-column {
        padding-left: 0;
        padding-right: 0;
    }

    .latest-post figure {
        max-width: 50%;
    }

    .entry-content .video {
        padding: 5rem;
    }

    .video-block .wp-block-column h3 {
        margin-top: 4rem;
        margin-bottom: 0;
    }

    .video-block .wp-block-video {
        margin-top: 0;
    }
	
	.footer-widgets.map {
        margin-right: 0;
        margin-left: 0;
    }

}


@media (min-width: 1000px){

    .site-logo img {
        max-height: 15rem;
    }

    h1.entry-title {
        margin-bottom: 4rem;
    }

    .header-inner .section-inner{
        flex-direction: column;
    }

    .section-inner .entry-header, .section-inner .archive-header {
        margin-left: -112rem;
    }
    .entry-header .entry-title, .archive-header .archive-title {
        padding-left: 112rem;
    }

    .latest-post figure {
        max-width: 35%;
    }

    figure.wp-block-gallery.has-nested-images.sortiment {
        flex-direction: row;
        gap: var(--gallery-gap);
    }

    .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        margin-bottom: 0;
        width: calc(50% - var(--gallery-gap));
    }

    .symbol-logo {
        max-width: 80%;
    }

    .footer-inner {
        padding: 0 0 2rem 0;
    }


	
    .footer-widgets.map iframe {
        max-height: 40vh !important;
    }

    .info-button {
        position: absolute;
        display: flex;
        bottom: 0;
        right: 4vw;
        z-index: 102;
        border-radius: 100%;
        margin-bottom: -6rem;
        background: var(--grün);
        /* top: 20vh; */
        max-width: 20rem;
        height: 20rem;
        padding: 2rem;
        color: var(--hell);
        border: solid var(--ocker) 0.5rem;
        align-items: center;
        text-align: center;
    }
    .info-button p {
        font-size: 1.8rem;
    }

}

@media (min-width: 1300px) {

    body {
        font-size: var(--font-size-large);
    }
    body p {
        font-size: var(--font-size-large);
    }

}

/* --------------------------------------------------------------------------------------------- */
/*  MEDIA QUERIES - MAX-WIDTH
/* --------------------------------------------------------------------------------------------- */

@media (max-width: 781px) {
	.site-logo img {
		content: url(http://samen-koeller.at/wp-content/uploads/2026/10/SamenKoeller_Sybmollogo.png);
	}
}
