/*
	Theme Name: Humpton Child
	Theme URI: http://humpton.clapat-themes.com/
	Description: Responsive Wordpress Theme
	Template: humpton
	Version: 1.0
	Author: You
	Author URI: http://your site
	License: Themeforest
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Tags: four-columns, custom-background, custom-colors, featured-images, full-width-template, theme-options
	Text Domain: humpton-child
*/


/*------------------------------------------------------------------

Add here your own styles
-------------------------------------------------------------------*/
/* ====================================================================================================================================================
   ==========================================================================
   Styling für das Full-Magazine-Layout
   ==========================================================================
   ==================================================================================================================================================== */

.nl-full-magazine-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Abstand zwischen den Elementen */
    margin-bottom: 80px;
}

.nl-magazine-item {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 0px; /* Optional: abgerundete Ecken */
}

.nl-magazine-item-large {
    flex: 1 1 calc(66.66% - 20px);
    min-height: 500px;
}

.nl-magazine-item-small {
    flex: 1 1 calc(33.33% - 20px);
    min-height: 235px;
}

.nl-magazine-item-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.nl-magazine-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease-out, filter 0.3s ease;
}

.nl-magazine-item:hover .nl-magazine-image {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* NEU: Styling für das Datum oben rechts */
.nl-magazine-date-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 12px;
    font-size: 15px;
    border-radius: 0px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nl-magazine-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.nl-magazine-meta {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.9;
}

.nl-magazine-meta a {
    color: #fff;
    text-decoration: none;
}

.nl-magazine-title {
    font-size: 28px;
    line-height: 1.2;
    margin: 5px 0 0 0;
    color: #fff;
}

.nl-magazine-item-small .nl-magazine-title {
    font-size: 20px;
}

.nl-magazine-excerpt {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 15px;
    opacity: 0.85;
    padding-right: 20px; /* ERGÄNZT: Abstand rechts für den Textauszug */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nl-magazine-item-small .nl-magazine-excerpt {
    -webkit-line-clamp: 2;
    font-size: 14px;
}


/* Responsive Anpassungen für das Magazin-Layout */
@media (max-width: 1024px) {
    .nl-magazine-item-large,
    .nl-magazine-item-small {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .nl-magazine-item-large,
    .nl-magazine-item-small {
        flex: 1 1 100%; 
        min-height: 300px;
    }
}

/* ====================================================================================================================================================
   ==========================================================================
   SONSTIGES - Allgemein
   ==========================================================================
   ==================================================================================================================================================== */


.hero-title {
    /*font-size: 120pt;
    line-height: 180px !important;*/
    font-weight: 100;
}



/* ==========================================================================
   Finale Stile für Social Share Buttons (mit Flicker-Fix)
   ========================================================================== */

/* Verhindert das Aufblitzen der originalen Buttons, indem sie standardmäßig unsichtbar gemacht werden */
#share:not(.nl-shares-initialized) .jssocials-shares {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Macht die von uns per JS erstellten Buttons mit einer sanften Animation sichtbar */
#share.nl-shares-initialized .jssocials-shares {
    opacity: 1;
}

/* Stellt sicher, dass die Container-Elemente korrekt angezeigt werden */
.jssocials-share-linkedin,
.jssocials-share-whatsapp {
    display: inline-block;
    vertical-align: middle;
}

/* Fügt die Text-Auszeichnungen hinzu und wandelt sie in Großbuchstaben um */
.jssocials-share-facebook a:before,
.jssocials-share-twitter a:before,
.jssocials-share-pinterest a:before,
.jssocials-share-linkedin a:before,
.jssocials-share-whatsapp a:before {
    position: absolute;
    text-transform: uppercase;
}

/* Definition der Abkürzungen */
.jssocials-share-facebook a:before  { content: "Fb"; }
.jssocials-share-twitter a:before   { content: "X"; }
.jssocials-share-pinterest a:before { content: "Pi"; }
.jssocials-share-linkedin a:before  { content: "Li"; }
.jssocials-share-whatsapp a:before  { content: "Wa"; }







/* ====================================================================================================================================================
   ==========================================================================
   POST-TEMPLATE - neuLand
   ==========================================================================
   ==================================================================================================================================================== */


/* ==========================================================================
   neuLand - Final Template
   ========================================================================== */
#nl-hero-container {
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding: 120px 20px 50px 20px;
    box-sizing: border-box;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
}
#nl-hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.nl-hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nl-hero-content-wrapper .entry-title {
    color: #ffffff;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}
.nl-hero-content-wrapper .entry-meta {
    color: #dddddd;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.nl-hero-content-wrapper .meta-separator {
    margin: 0 0.7em;
}
.nl-hero-content-wrapper .entry-meta a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.nl-hero-content-wrapper .entry-meta a:hover {
    border-bottom-color: #ffffff;
}

/* ==========================================================================
   neuLand - Humpton Stil Template (100% unabhängige Klassen - Finale Version)
   ========================================================================== */

/* Hauptcontainer */
.nl-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    padding: 150px 18% 50px 18%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    background-size: cover;
    background-position: center center;
    text-align: left;
}

/* Das Overlay */
.nl-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Inhalts-Wrapper */
.nl-hero__caption,
.nl-hero__description {
    position: relative;
    z-index: 2;
    max-width: 700px;
	padding-left: 40px;
}
.nl-hero__description {
    align-self: flex-start;
    text-align: left;
}

.nl-meta__categories{
	 font-weight: 600;
	padding-bottom:20px;
}

/* --- Dark Mode Styles --- */
.nl-hero.dark-content .nl-hero__overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.nl-hero.dark-content .nl-meta,
.nl-hero.dark-content .nl-meta a,
.nl-hero.dark-content .nl-title,
.nl-hero.dark-content .nl-title span,
.nl-hero.dark-content .nl-excerpt,
.nl-hero.dark-content .nl-excerpt p {
    color: #ffffff;
    /*text-shadow: 1px 1px 4px rgba(0,0,0,0.5);*/
}

.nl-excerpt,
.nl-excerpt p {
	font-size: 28px;
}
/* FINALE KORREKTUR FÜR DEN PFEIL */
.nl-hero.dark-content .nl-arrow .arrow-icon {
    border-color: #ffffff;
}
.nl-hero.dark-content .nl-arrow .arrow-icon::after {
	background-color: #ffffff;
}


/* --- Light Mode Styles --- */
.nl-hero.light-content .nl-hero__overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

.nl-hero.light-content .nl-meta,
.nl-hero.light-content .nl-meta a,
.nl-hero.light-content .nl-title,
.nl-hero.light-content .nl-title span,
.nl-hero.light-content .nl-excerpt,
.nl-hero.light-content .nl-excerpt p {
    color: #111111;
   /* text-shadow: 1px 1px 4px rgba(255,255,255,0.5);*/
}
/* FINALE KORREKTUR FÜR DEN PFEIL */
.nl-hero.light-content .nl-arrow .arrow-icon {
    border-color: #111111;
}
.nl-hero.light-content .nl-arrow .arrow-icon::after {
	background-color: #111111;
}


/* Allgemeine Styles für die Elemente im Hero */
.nl-arrow {
    margin-bottom: 20px;
}

.nl-meta {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.nl-meta__item {
    display: block;
}

.nl-title,
.nl-title span {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 25px 0;
    line-height: 1.2;
    font-family: inherit;
}

.nl-excerpt {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.6;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .nl-hero {
        padding: 120px 10% 50px 10%;
    }
}

@media (max-width: 767px) {
    .nl-hero {
        padding: 100px 5% 40px 5%;
    }
}

