/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/* ============================================================
   STIFTUNG NATUR – PAPER SECTIONS
   ============================================================ */

/* ============================================================
   STIFTUNG NATUR – PAPER
   ------------------------------------------------------------
   Klassen:
   
   natur-paper
   = oben + unten

   natur-paper-top
   = nur oben

   natur-paper-bottom
   = nur unten

   Optional zusätzlich:
   natur-paper-shadow
   = Schatten aktivieren
   ============================================================ */


/* ============================================================
   1. BASIS
   ============================================================ */

.natur-paper,
.natur-paper-top,
.natur-paper-bottom {
    position: relative !important;
    overflow: visible !important;
    background: transparent !important;
}


/* ============================================================
   2. SALIENT ROW NICHT ABSCHNEIDEN
   ============================================================ */

.natur-paper .row_bg_wrap,
.natur-paper-top .row_bg_wrap,
.natur-paper-bottom .row_bg_wrap,

.natur-paper .row,
.natur-paper-top .row,
.natur-paper-bottom .row,

.natur-paper .row_col_wrap_12,
.natur-paper-top .row_col_wrap_12,
.natur-paper-bottom .row_col_wrap_12 {
    overflow: visible !important;
}


/* ============================================================
   3. PAPIERFLÄCHE
   ============================================================ */

.natur-paper::before,
.natur-paper-top::before,
.natur-paper-bottom::before {

    content: "";

    position: absolute !important;

    left: 50%;
    top: 0;

    width: 100vw;
    height: 100%;

    transform: translateX(-50%);

    z-index: 1 !important;

    background-image: url("https://stiftungnatur.adhouse.cc/wp-content/uploads/2026/09/Papierhintergrund_1920x1650px.png");

    background-repeat: no-repeat;

    background-position: center center;

    background-size: 100% 100%;

    pointer-events: none;
}

/* ============================================================
   PAPIERFLÄCHE – RECHTES DRITTEL
   Hintergrund nur so hoch wie der Inhalt
   ============================================================ */

.natur-paper-top-third,
.natur-paper-bottom-third {
    position: relative !important;
    overflow: visible !important;
    height: fit-content !important;
    align-self: flex-start !important;
}

.natur-paper-top-third::before,
.natur-paper-bottom-third::before {

    content: "";
    position: absolute !important;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    transform: none;

    z-index: -1 !important;

    background-image: url("https://stiftungnatur.adhouse.cc/wp-content/uploads/2026/09/Papierhintergrund_1920x1650px.png");

    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;

    pointer-events: none;
}


/* ============================================================
   4. INHALT
   ============================================================ */

.natur-paper > .row_col_wrap_12,
.natur-paper-top > .row_col_wrap_12,
.natur-paper-bottom > .row_col_wrap_12 {

    position: relative !important;

    z-index: 50 !important;
}


/* ============================================================
   5. OBERE ABRISSKANTE
   ------------------------------------------------------------
   Wir verwenden den UNTEREN Bereich der Original-PNG
   und spiegeln ihn vertikal.
   ============================================================ */

.natur-paper::after,
.natur-paper-top::after {

    content: "";

    position: absolute !important;

    left: 50%;
    top: -1px;

    width: 100vw;
    height: 95px;

    transform: translateX(-50%) scaleY(-1);

    transform-origin: center center;

    z-index: 100 !important;

    background-image: url("https://stiftungnatur.adhouse.cc/wp-content/uploads/2026/09/Papierhintergrund_1920x1650px.png");

    background-repeat: no-repeat;

    background-position: center bottom;

    background-size: 100vw auto;

    pointer-events: none;
}


/* ============================================================
   6. UNTERE ABRISSKANTE
   ============================================================ */

.natur-paper .row_bg_wrap::after,
.natur-paper-bottom .row_bg_wrap::after {

    content: "";

    position: absolute !important;

    left: 50%;
    bottom: -1px;

    width: 100vw;
    height: 95px;

    transform: translateX(-50%);

    z-index: 100 !important;

    background-image: url("https://stiftungnatur.adhouse.cc/wp-content/uploads/2026/09/Papierhintergrund_1920x1650px.png");

    background-repeat: no-repeat;

    background-position: center bottom;

    background-size: 100vw auto;

    pointer-events: none;
}


/* ============================================================
   7. SCHATTEN – OBEN
   ------------------------------------------------------------
   Eigenes Element hinter der Papierkante.
   Kein drop-shadow / kein box-shadow auf der PNG.
   ============================================================ */

.natur-paper-shadow.natur-paper::before,
.natur-paper-shadow.natur-paper-top::before {

    /*
       Papierfläche bleibt unverändert.
       Schatten wird über die zweite Ebene erzeugt.
    */

}


/* Schatten für obere Kante */

.natur-paper-shadow.natur-paper::after,
.natur-paper-shadow.natur-paper-top::after {

    box-shadow:
        0 7px 8px -6px rgba(0, 0, 0, 0.38);

}


/* ============================================================
   8. SCHATTEN – UNTEN
   ============================================================ */

.natur-paper-shadow.natur-paper .row_bg_wrap::after,
.natur-paper-shadow.natur-paper-bottom .row_bg_wrap::after {

    box-shadow:
        0 7px 8px -6px rgba(0, 0, 0, 0.38);

}


/* ============================================================
   9. STÄRKERER SCHATTEN
   ------------------------------------------------------------
   Wenn du mehr Tiefe möchtest, diese Werte verwenden:

   0 10px 12px -7px rgba(0,0,0,.42)
   ============================================================ */


/* ============================================================
   10. TABLET
   ============================================================ */

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

    .natur-paper::after,
    .natur-paper-top::after {

        height: 80px;

        background-size: 100vw auto;
    }


    .natur-paper .row_bg_wrap::after,
    .natur-paper-bottom .row_bg_wrap::after {

        height: 80px;

        background-size: 100vw auto;
    }

}


/* ============================================================
   11. MOBILE
   ============================================================ */

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

    .natur-paper::after,
    .natur-paper-top::after {

        height: 65px;

        background-size: 100vw auto;
    }


    .natur-paper .row_bg_wrap::after,
    .natur-paper-bottom .row_bg_wrap::after {

        height: 65px;

        background-size: 100vw auto;
    }

}


/* ============================================================
   12. SALIENT Z-INDEX
   ============================================================ */

.natur-paper .row_col,
.natur-paper-top .row_col,
.natur-paper-bottom .row_col {

    position: relative !important;

    z-index: 60 !important;
}


/* ============================================================
   13. KEINE SALIENT-HINTERGRUNDFARBE
   ============================================================ */

.natur-paper,
.natur-paper .row_bg,
.natur-paper .row_bg_wrap,

.natur-paper-top,
.natur-paper-top .row_bg,
.natur-paper-top .row_bg_wrap,

.natur-paper-bottom,
.natur-paper-bottom .row_bg,
.natur-paper-bottom .row_bg_wrap {

    background-color: transparent !important;
}


/* ============================================================
   14. VERHINDERT EINEN SALIENT-SCHATTEN / OVERLAY
   ============================================================ */

.natur-paper .row_bg::before,
.natur-paper .row_bg::after,

.natur-paper-top .row_bg::before,
.natur-paper-top .row_bg::after,

.natur-paper-bottom .row_bg::before,
.natur-paper-bottom .row_bg::after {

    /* Salient eigene Overlays nicht verändern */
}


/* ============================================================
   15. OPTIONAL: SCHATTEN ETWAS DEZENTER
   ============================================================ */

/*
.natur-paper-shadow.natur-paper::after,
.natur-paper-shadow.natur-paper-top::after,
.natur-paper-shadow.natur-paper .row_bg_wrap::after,
.natur-paper-shadow.natur-paper-bottom .row_bg_wrap::after {

    box-shadow:
        0 5px 7px -6px rgba(0,0,0,.25);

}
*/

/* ============================================================
   STIFTUNG NATUR – PORTFOLIO TITEL
   ============================================================ */

.stiftung-flaeche-portfolio .portfolio-items .work-meta .title,
.stiftung-flaeche-portfolio .portfolio-items .work-info h3 {
    font-family: inherit !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    font-style: bold !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: #28543b !important;
    text-transform: none !important;
}

/* Responsive */
@media (max-width: 999px) {
    .stiftung-flaeche-portfolio .portfolio-items .work-meta .title,
    .stiftung-flaeche-portfolio .portfolio-items .work-info h3 {
        font-size: 22px !important;
    }
}


/* Love-Button im Stiftungsflächen-Portfolio ausblenden */

.stiftung-flaeche-portfolio .nectar-love-wrap,
.stiftung-flaeche-portfolio .nectar-love,
.stiftung-flaeche-portfolio .nectar-love-count {
    display: none !important;
}


/* Mehr erfahren – Portfolio */

.stiftung-portfolio-button {
    margin-top: 5px;
    display: block;
}

.stiftung-portfolio-button .nectar-button {
    margin-bottom: 0 !important;
}



/* ============================================================
   STIFTUNG NATUR – POST LOOP
   Verwendung: CSS Class Name = portfolioloop
   ============================================================ */


.portfolioloop .nectar-post-grid-item .post-heading,
.portfolioloop .nectar-post-grid-item .post-heading a,
.portfolioloop .nectar-post-grid-item h2,
.portfolioloop .nectar-post-grid-item h2 a,
.portfolioloop .nectar-post-grid-item h3,
.portfolioloop .nectar-post-grid-item h3 a {
    font-family: inherit !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: #28543b !important;
    font-style: normal !important;
	text-transform: none !important;
    margin-bottom: 8px !important;
}

.portfolioloop .nectar-post-grid-item .post-heading a,
.portfolioloop .nectar-post-grid-item h2 a,
.portfolioloop .nectar-post-grid-item h3 a {
    color: #28543b !important;
}



/* TEASERTEXT */
.portfolioloop .nectar-post-grid-item__excerpt-wrap .meta-excerpt {
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #27491D !important;
    margin-top: 0 !important;
}

/* BILDER */
.portfolioloop .nectar-post-grid-item-bg-wrap {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
}

.portfolioloop .nectar-post-grid-item-bg {
    border-radius: 8px;
    background-size: cover !important;
    background-position: center center !important;
}


/* INHALTSABSTAND */
.portfolioloop .nectar-post-grid-item .content {
    padding-top: 24px !important;
}


/* MEHR ERFAHREN BUTTON */
.portfolioloop .nectar-post-grid-item .nectar-cta a,
.portfolioloop .nectar-post-grid-item a.read-more {
    display: inline-block !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #a9d34e !important;
    background: transparent !important;
    border: 2px solid #b5d95d !important;
    border-radius: 50px !important;
    padding: 17px 30px !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
}


/* BUTTON HOVER */
.portfolioloop .nectar-post-grid-item .nectar-cta a:hover,
.portfolioloop .nectar-post-grid-item a.read-more:hover {
    background: #b5d95d !important;
    color: #ffffff !important;
}


/* MOBILE */
@media (max-width: 767px) {
    .portfolioloop .nectar-post-grid-item h2,
    .portfolioloop .nectar-post-grid-item h3 {
        font-size: 22px !important;
    }

    .portfolioloop .nectar-post-grid-item .excerpt {
        font-size: 19px !important;
    }
}


/* ============================================================
   STIFTUNG NATUR – PORTFOLIO LOOP BUTTON
   ============================================================ */

/* Button */
.portfolioloop .nectar-post-grid-item .nectar-post-grid-link .link_text,
.portfolioloop .nectar-post-grid-item .link_text {
    display: inline-block !important;
    margin-top: 5px !important;
    padding: 12px 24px !important;
    border: 1.5px solid #A7CB42 !important;
    border-radius: 50px !important;
    background: transparent !important;
    color: #A7CB42 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
}

/* Pfeil vollständig entfernen */
.portfolioloop .nectar-post-grid-item .link_text svg {
    display: none !important;
}

/* Hover */
.portfolioloop .nectar-post-grid-item .link_text:hover {
    background: #A7CB42 !important;
    color: #ffffff !important;
}



/* Abstand zwischen Post Loop und Pagination */
.portfolioloop .flickity-page-dots {
    bottom: -80px !important;
}

.portfolioloop .flickity-viewport {
    margin-bottom: 25px !important;
}

/* ============================================================
   ENDE
   ============================================================ */