/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ### Custom Image Gallery Archive Template ### */
/* Header area with title */
.ahr--archive-custom {
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    max-width: 100% !important;
}

.ahr--archive-custom section.ahr--section-first {
    background-image: url("../../uploads/2022/11/1Laaach-scaled.jpg");
    background-position: 5px -227px;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: -112px;
    margin-bottom: 0px;
    padding: 10% 0% 3% 0%;
}

.ahr--archive-custom section.ahr--section-first .elementor-background-overlay {
    background-color: #1C1C21;
    opacity: 0.6;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.ahr--archive-custom section.ahr--section-first .elementor-container {
    max-width: 1100px;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.ahr--archive-custom section.ahr--section-first .elementor-container .elementor-heading-title {
    color: #FFFFFF;
    font-family: "Rubik", Sans-serif;
    font-size: 56px;
    line-height: 56px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: normal;
    word-spacing: 0;
    text-shadow: 2px -5px 0px rgba(0, 0, 0, 0.5);
}

.ahr--archive-custom section.ahr--section-first .elementor-container .elementor-heading-title a {
    text-decoration: none;
}

.ahr--archive-custom section.ahr--section-first .elementor-container .elementor-heading-title a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {

    /* Header */
    .ahr--archive-custom section.ahr--section-first {
        background-position: 0px;
        transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 27% 0% 11% 0%; 
    }

    .ahr--archive-custom section.ahr--section-first .elementor-container .elementor-heading-title {
        font-size: 42px;
        line-height: 1em;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    /* Header */
    .ahr--archive-custom section.ahr--section-first {
        background-position: 0% 30%;
        transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 18% 0% 6% 0%; 
    }

    .ahr--archive-custom section.ahr--section-first .elementor-container .elementor-widget-wrap {
        margin-left: 10px;
    }
}

/* Content area */
.ahr--archive-custom section.ahr--section-second {
    padding: 40px 0px 56px 0px;
}

.ahr--archive-custom section.ahr--section-second .elementor-container {
    max-width: 1100px;
    flex-direction: column;
    font-family: "Rubik", Sans-serif;
}

.single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container {
    padding-right: 20px;
}

.single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container p {
    text-align: left;
    font-size: 20px;
    line-height: 22px;
    padding-left: 20px;
}

.ahr--archive-custom section.ahr--section-second .elementor-container .elementor-column {
    display: flex;
    flex-direction: column;
}

.ahr--archive-custom section.ahr--section-second .elementor-container .elementor-column .elementor-text-content {
    padding-left: 10px;
    padding-right: 160px;
    margin-bottom: 40px;
}

.ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.single-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap {
    display: block;
}

.ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap h2 {
    color: #1F1F1F;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
}

.post-type-archive-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap img {
    max-height: 170px;
}

@media screen and (max-width: 575px) {

    /* Content */
    .ahr--archive-custom {
        padding-inline-start: 0px !important;
        padding-inline-end: 0px !important;
    }
}

@media screen and (max-width: 767px) {

    /* Content */
    .ahr--archive-custom section.ahr--section-second {
        padding: 20px 0px 56px 0px;
    }

    .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap h2 {
        font-size: 24px;
        margin-bottom: 10px;
        padding-inline-start: 0px;
        padding-inline-end: 0px;
    }

    .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap h2 a {
        font-size: 24px !important;
    }

    .post-type-archive-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap {
        padding: 0px 20px 0px 20px;
    }

    .post-type-archive-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap img {
        max-height: 243px;
    }

    .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-column .elementor-text-content {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 40px;
    }

    .single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container {
        padding-right: 20px;
        flex-direction: column;
        justify-content: center;
    }

    .single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container .elementor-widget-container,
    .single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container .elementor-widget-container .elementor-grid {
        display: flex;
        justify-content: center;
    }

    .single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container {
        padding-bottom: 14px;
    }

    .single-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap h2 {
        font-size: 24px !important;
        max-width: 100%;
    }

    .single-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap article p {
        font-size: 20px;
    }

    .single-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap {
        padding: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Content */
    .ahr--archive-custom section.ahr--section-second {
        padding: 40px 0px 80px 0px;
    }

    .post-type-archive-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap {
        padding: 0px 10px 0px 10px;
    }

    .single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container {
        padding-left: 10px;
    }

    .single-bilder .ahr--archive-custom .ahr--social-sharing-section .elementor-container p {
        text-align: left;
        font-size: 20px;
    }

    .single-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap h2 {
        font-size: 24px !important;
        max-width: 100%;
    }

    .single-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap article p {
        font-size: 20px;
    }

    .single-bilder .ahr--archive-custom section.ahr--section-second .elementor-container .elementor-widget-wrap {
        padding: 20px;
    }

}

/* Pagination */
.post-type-archive-bilder .pagination .page-numbers {
    padding: 8px;
}

.single-bilder .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.single-bilder .nav-links div a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
}

.single-bilder .nav-links div.nav-next a {
    flex-direction: row-reverse;
}

.single-bilder .nav-links div a span {
    display: flex;
    flex-direction: row;
    padding: 6px;
    align-items: center;
}

.single-bilder .nav-links div a span.meta-nav {
    padding-bottom: 9px;
}

.single-bilder .nav-links div.nav-previous a span.meta-nav {
    padding-left: 0;
    padding-right: 0;
}

.single-bilder .nav-links div.nav-next a span.meta-nav {
    padding-left: 0;
    padding-right: 0;
}

.single-bilder .nav-links div a span.post-title {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {

    /* Pagination */
    .post-type-archive-bilder .pagination .page-numbers,
    .single-bilder .nav-links div a {
        font-size: 20px !important;
    }

}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Pagination */
    .post-type-archive-bilder .pagination .page-numbers,
    .single-bilder .nav-links div a {
        font-size: 18px !important;
    }
}

/* ### EO Custom Image Gallery Archive Template ### */