/*
Theme Name: Assemble Child
Theme URI: https://assemble.qodeinteractive.com/
Description: A child theme of Assemble Theme
Author: Edge Themes
Author URI: https://qodeinteractive.com
Version: 1.0.3
Text Domain: assemble
Template: assemble
*/

/* ==========================================================================
   BKGV: Hide Side Menu & Burger Icon on Desktop
   ========================================================================== */

/* Hide the side menu panel and its opener completely */
.edgtf-side-menu,
.edgtf-side-menu-button-opener,
a.edgtf-side-menu-button-opener,
.edgtf-vertical-menu-area .edgtf-side-menu-button-opener {
    display: none !important;
}

/* Hide fullscreen menu opener (burger icon in vertical header) */
.edgtf-fullscreen-menu-opener,
.edgtf-vertical-menu-area .edgtf-fullscreen-menu-opener {
    display: none !important;
}

/* ==========================================================================
   BKGV: Light Blue Page Background for Tile Pages
   ========================================================================== */

/* Archive, category, blog home, and pages with category grids */
.bkgv-archive-grid .edgtf-content,
.bkgv-archive-grid .edgtf-full-width .edgtf-full-width-inner,
.bkgv-archive-grid .edgtf-container-inner {
    background-color: #E6EBF1 !important;
}

/* Pages that contain category grids (Startseite, Galerie, Porträt, Laden, Jahresprogramm) */
.page-id-4773 .edgtf-content,
.page-id-5142 .edgtf-content,
.page-id-5140 .edgtf-content,
.page-id-5141 .edgtf-content,
.page-id-5144 .edgtf-content {
    background-color: #E6EBF1 !important;
}

/* ==========================================================================
   BKGV: Remove Sidebar & Full Width on Archive/Blog/Category Pages
   ========================================================================== */

.archive .edgtf-sidebar,
.category .edgtf-sidebar,
.tag .edgtf-sidebar,
.author .edgtf-sidebar,
.date .edgtf-sidebar,
.home .edgtf-sidebar,
.archive .edgtf-column2,
.category .edgtf-column2,
.tag .edgtf-column2,
.author .edgtf-column2,
.date .edgtf-column2,
.home .edgtf-column2 {
    display: none !important;
}

.archive .edgtf-column1,
.category .edgtf-column1,
.tag .edgtf-column1,
.author .edgtf-column1,
.date .edgtf-column1,
.home .edgtf-column1,
.archive .edgtf-content-left-from-sidebar,
.category .edgtf-content-left-from-sidebar,
.tag .edgtf-content-left-from-sidebar,
.author .edgtf-content-left-from-sidebar,
.date .edgtf-content-left-from-sidebar,
.home .edgtf-content-left-from-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.archive .edgtf-two-columns-75-25,
.archive .edgtf-two-columns-66-33,
.category .edgtf-two-columns-75-25,
.category .edgtf-two-columns-66-33,
.tag .edgtf-two-columns-75-25,
.tag .edgtf-two-columns-66-33,
.author .edgtf-two-columns-75-25,
.author .edgtf-two-columns-66-33,
.date .edgtf-two-columns-75-25,
.date .edgtf-two-columns-66-33,
.home .edgtf-two-columns-75-25,
.home .edgtf-two-columns-66-33 {
    display: block !important;
}

/* ==========================================================================
   BKGV: Archive/Blog Grid – Tile Layout (Aktuelles + Category Archives)
   ========================================================================== */

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 0;
}

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-pagination {
    grid-column: 1 / -1;
}

/* --- Individual tiles --- */

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard article {
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* --- Tile image --- */

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-image {
    margin: 0;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
}

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard article:hover .edgtf-post-image img {
    transform: scale(1.05);
}

/* --- Tile title area: white, fixed 80px, vertically centered --- */

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text {
    min-height: 80px !important;
    max-height: 80px !important;
    height: 80px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
}

/* --- Tile title font --- */

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text h2,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text h3,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text h4,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text .edgtf-post-title,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text .edgtf-post-title a {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #1a1a1a !important;
    background-color: transparent !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
}

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text .edgtf-post-title a {
    text-decoration: none;
}

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text .edgtf-post-title a:hover {
    color: #c19a5b !important;
}

/* --- Hide excerpt, tags, post-info on tiles --- */

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-excerpt-holder,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-tags,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-info-holder,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-info {
    display: none !important;
}

/* --- Remove ALL borders/separators on tiles --- */

.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard article,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text,
.bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-info,
.archive .edgtf-post-info,
.archive .edgtf-post-text,
.archive article.post,
.category .edgtf-post-info,
.category .edgtf-post-text,
.category article.post {
    border: none !important;
}

.bkgv-archive-grid .edgtf-post-info::before,
.bkgv-archive-grid .edgtf-post-info::after,
.bkgv-archive-grid .edgtf-post-text::before,
.bkgv-archive-grid .edgtf-post-text::after,
.archive .edgtf-post-info::before,
.archive .edgtf-post-info::after,
.archive .edgtf-post-text::before,
.archive .edgtf-post-text::after,
.category .edgtf-post-info::before,
.category .edgtf-post-info::after,
.category .edgtf-post-text::before,
.category .edgtf-post-text::after {
    display: none !important;
}

/* --- Responsive --- */

@media only screen and (max-width: 1024px) {
    .bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media only screen and (max-width: 680px) {
    .bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text h2,
    .bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text h3,
    .bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text h4,
    .bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text .edgtf-post-title,
    .bkgv-archive-grid .edgtf-blog-holder.edgtf-blog-type-standard .edgtf-post-text .edgtf-post-title a {
        font-size: 14px !important;
    }
}

.bkgv-archive-grid .edgtf-container-inner,
.bkgv-archive-grid .edgtf-full-width-inner {
    padding: 40px 40px 80px 40px;
}

/* ==========================================================================
   BKGV: Menu Styling – No Underlines, Only Active Item Highlighted
   ========================================================================== */

.edgtf-main-menu > ul > li > a,
.edgtf-main-menu ul li a,
.edgtf-drop-down .second .inner ul li a,
.edgtf-main-menu > ul > li > a .edgtf-item-outer,
.edgtf-main-menu ul li a .edgtf-item-outer {
    text-decoration: none !important;
    border-bottom: none !important;
}

.edgtf-main-menu > ul > li.current-menu-ancestor > a,
.edgtf-main-menu > ul > li.current-menu-parent > a,
.edgtf-main-menu > ul > li.current-menu-item > a {
    color: #c19a5b !important;
}

.edgtf-main-menu > ul > li.current-menu-ancestor > a .edgtf-item-outer,
.edgtf-main-menu > ul > li.current-menu-parent > a .edgtf-item-outer,
.edgtf-main-menu > ul > li.current-menu-item > a .edgtf-item-outer {
    border-bottom: 2px solid #c19a5b !important;
    padding-bottom: 2px;
}

.edgtf-main-menu .edgtf-second li > a,
.edgtf-drop-down .second .inner ul li a {
    text-decoration: none !important;
    border-bottom: none !important;
}

.edgtf-main-menu .edgtf-second li.current-menu-item > a,
.edgtf-main-menu .edgtf-second li.current-menu-ancestor > a {
    color: #c19a5b !important;
    font-weight: 600;
}

.edgtf-drop-down-second li.current-menu-item > a,
.edgtf-drop-down-second li.current-menu-ancestor > a {
    color: #c19a5b !important;
}

.edgtf-mobile-nav ul li a {
    text-decoration: none !important;
}

/* Aktiver Punkt am Handy: siehe Abschnitt „Seitenmenü und Handy-Menü“ am Ende */

/* ==========================================================================
   BKGV: Category Posts Grid on Pages (Galerie, Porträt, Jahresprogramm, Laden)
   ========================================================================== */

.bkgv-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding: 40px 20px 60px 20px;
}

.bkgv-grid-item {
    display: block;
    text-decoration: none;
    color: #1a1a1a;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bkgv-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: #1a1a1a;
}

.bkgv-grid-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bkgv-grid-item:hover img {
    transform: scale(1.05);
}

.bkgv-grid-item h3 {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    min-height: 80px !important;
    max-height: 80px !important;
    height: 80px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.bkgv-grid-item:hover h3 {
    color: #c19a5b !important;
}

.bkgv-grid-item {
    border: none !important;
}

.bkgv-grid-item::before,
.bkgv-grid-item::after,
.bkgv-grid-item h3::before,
.bkgv-grid-item h3::after {
    display: none !important;
}

/* "Show all" link */
.bkgv-show-all {
    margin-top: 24px;
    text-align: center;
}

.bkgv-show-all a {
    color: #c19a5b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bkgv-show-all a:hover {
    color: #a07a3b;
    text-decoration: underline;
}

@media only screen and (max-width: 1024px) {
    .bkgv-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media only screen and (max-width: 680px) {
    .bkgv-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bkgv-grid-item h3 {
        font-size: 14px !important;
    }
}

/* ==========================================================================
   BKGV: Single Post Spacing & Separators
   ========================================================================== */

/* Content area padding on single posts */
.single-post .edgtf-container-inner {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Featured image: constrain size, center, with border */
.single-post .edgtf-post-image {
    max-width: 70% !important;
    width: 70% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden !important;
}

.single-post .edgtf-post-image img,
.single-post .edgtf-post-image .wp-post-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Breathing room for post text */
.single-post .edgtf-post-text {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* Border & spacing before gallery */
.single-post .wp-block-gallery {
    margin-top: 50px !important;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}


/* ==========================================================================
   BKGV: Seitenmenü (Desktop) und Handy-Menü – Stand 01.10.2026
   - Bereich, in dem man sich befindet, ist beim Laden aufgeklappt (JS in functions.php)
   - keine Unterstreichung; aktiver Punkt: kräftige Schrift + goldene Marke
   - Unterpunkte eingerückt und als Gruppe abgesetzt
   ========================================================================== */

/* --- Desktop: keine Unterstreichung ---------------------------------------- */
body.edgtf-header-vertical .edgtf-vertical-menu ul li a,
body.edgtf-header-vertical .edgtf-vertical-menu ul li a .item_text {
    text-decoration: none !important;
}

/* Hauptpunkt des aktuellen Bereichs: kräftig, ohne Strich */
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.current-menu-item > a,
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.current-menu-ancestor > a,
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.current-menu-parent > a {
    color: #1f1f1f;
    font-weight: 600;
}

body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.has_sub > a span.item_text:before {
    display: none;
}

/* Hauptpunkt ohne Unterpunkte (Aktuelles, Kunsthandwerk): goldener Strich, wenn aktiv */
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.current-menu-item:not(.has_sub) > a span.item_text:before {
    height: 2px;
    bottom: 0;
    background-color: #948752;
}

/* Untermenü des aktuellen Bereichs ist schon vor dem Skript offen (kein Springen) */
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.current-menu-ancestor > .second,
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.current-menu-parent > .second {
    display: block;
}

/* Pfeil zeigt nur den Zustand: zu = nach rechts, offen = nach unten */
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li:not(.open) > a .edgtf-menu-arrow,
body.edgtf-header-vertical .edgtf-vertical-menu > ul > li:not(.open) > a:hover .edgtf-menu-arrow {
    transform: rotate(-90deg);
}

body.edgtf-header-vertical .edgtf-vertical-menu > ul > li.open > a .edgtf-menu-arrow {
    transform: none;
}

/* Untermenü: eingerückt, Linie links als Klammer */
body.edgtf-header-vertical .edgtf-vertical-menu ul li .second .inner > ul {
    margin: 4px 0 10px 0;
    padding: 2px 0;
    border-left: 1px solid #cfc6ad;
}

body.edgtf-header-vertical .edgtf-vertical-menu ul li .second .inner > ul > li > a {
    margin-left: -1px;
    padding: 5px 0 5px 15px;
    border-left: 3px solid transparent;
    font-size: 15px;
    line-height: 22px;
    color: #5c5c5c;
    transition: color .15s ease;
}

body.edgtf-header-vertical .edgtf-vertical-menu ul li .second .inner > ul > li > a .item_outer {
    padding-right: 0;
}

body.edgtf-header-vertical .edgtf-vertical-menu ul li .second .inner > ul > li > a:hover {
    color: #1f1f1f;
}

/* Aktiver Unterpunkt: goldene Marke links, Schrift kräftig */
body.edgtf-header-vertical .edgtf-vertical-menu ul li .second .inner > ul > li.current-menu-item > a,
body.edgtf-header-vertical .edgtf-vertical-menu ul li .second .inner > ul > li.current-menu-parent > a {
    color: #1f1f1f;
    font-weight: 600;
    border-left-color: #948752;
}

/* Tastatur-Fokus sichtbar */
body.edgtf-header-vertical .edgtf-vertical-menu ul li a:focus-visible,
.edgtf-mobile-header .edgtf-mobile-nav a:focus-visible {
    outline: 2px solid #1f1f1f;
    outline-offset: 3px;
}

/* --- Desktop: Spalte bei wenig Höhe (kleine Laptops) ----------------------
   Suche und Logo stehen unter dem Menü statt fest am unteren Rand;
   reicht die Höhe nicht, lässt sich die Spalte scrollen. */
@media only screen and (min-width: 1025px) {
    body.edgtf-header-vertical .edgtf-vertical-menu-area {
        overflow-y: auto;
        scrollbar-width: thin;
    }

    body.edgtf-header-vertical .edgtf-vertical-menu-area-inner {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100%;
    }

    body.edgtf-header-vertical .edgtf-vertical-menu {
        order: 1;
    }

    body.edgtf-header-vertical .edgtf-vertical-area-widget-holder {
        order: 2;
        margin-top: auto;
        padding-top: 24px;
    }

    body.edgtf-header-vertical .edgtf-vertical-menu-area .edgtf-logo-wrapper {
        order: 3;
        position: relative;
        bottom: auto;
        margin-top: 16px;
    }
}

@media only screen and (min-width: 1025px) and (max-height: 800px) {
    body.edgtf-header-vertical .edgtf-vertical-menu-area {
        padding-top: 24px;
    }

    body.edgtf-header-vertical .edgtf-vertical-menu-area .edgtf-vertical-menu {
        margin-top: 24px;
        margin-bottom: 12px;
    }

    body.edgtf-header-vertical .edgtf-vertical-area-widget-holder {
        padding-top: 12px;
    }

    body.edgtf-header-vertical .edgtf-vertical-menu-area .edgtf-logo-wrapper {
        margin-top: 8px;
    }

    body.edgtf-header-vertical .edgtf-vertical-menu > ul > li > a {
        line-height: 26px;
    }
}

/* --- Handy-Menü ------------------------------------------------------------ */
.edgtf-mobile-header .edgtf-mobile-nav .edgtf-grid > ul > li > a,
.edgtf-mobile-header .edgtf-mobile-nav .edgtf-grid > ul > li > h6 {
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    padding: 11px 0 11px 4px;
}

.edgtf-mobile-header .edgtf-mobile-nav ul ul {
    margin: 0;
    padding: 4px 0 8px;
    background: #f7f5f0;
    border-bottom: 1px solid #e5e5e5;
}

.edgtf-mobile-header .edgtf-mobile-nav ul ul li a {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    padding: 11px 0 11px 16px;
    border-bottom: 0;
    border-left: 3px solid transparent;
    color: #4a4a4a !important;
}

.edgtf-mobile-header .edgtf-mobile-nav .mobile_arrow {
    height: 48px;
    line-height: 48px;
    font-size: 20px !important;
}

.edgtf-mobile-header .edgtf-mobile-nav .edgtf-grid > ul > li.current-menu-ancestor > a,
.edgtf-mobile-header .edgtf-mobile-nav .edgtf-grid > ul > li.current-menu-parent > a,
.edgtf-mobile-header .edgtf-mobile-nav .edgtf-grid > ul > li.current-menu-item > a,
.edgtf-mobile-header .edgtf-mobile-nav ul ul li.current-menu-item > a,
.edgtf-mobile-header .edgtf-mobile-nav ul ul li.current-menu-parent > a {
    color: #1f1f1f !important;
    font-weight: 600 !important;
}

.edgtf-mobile-header .edgtf-mobile-nav ul ul li.current-menu-item > a,
.edgtf-mobile-header .edgtf-mobile-nav ul ul li.current-menu-parent > a {
    border-left-color: #948752;
}

.edgtf-mobile-header .edgtf-mobile-nav ul li a:hover {
    color: #1f1f1f;
}

/* Aktueller Bereich am Handy offen */
.edgtf-mobile-header .edgtf-mobile-nav li.current-menu-ancestor > ul.sub_menu,
.edgtf-mobile-header .edgtf-mobile-nav li.current-menu-parent > ul.sub_menu {
    display: block;
}
