/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

/* Archive Template Styles for La Nouvelle Terre */

:root {
    --teal-green: #7E9F9C;
    --brick-red: #B14D17;
    --orange: #F59C00;
    --text-color: #7A7A7A;
    --light-beige: #F5F1EB;
    --dark-brown: #5A4A42;
    --light-gray: #F5F5F5;
    --black: #000;
    --white: #fff;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    margin-top: 100px;
}

/* Archive Header */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.archive-header:after {
    content: '';
    width: 80px;
    height: 3px;
    background-color: var(--orange);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.archive-title {
    color: var(--dark-brown);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.archive-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Filter Section */
.archive-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.archive-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.archive-category {
    background-color: var(--teal-green);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.archive-category.active {
    background-color: var(--dark-brown);
}

.archive-category:hover {
    background-color: var(--brick-red);
}

.archive-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-sorting-label {
    font-weight: 500;
    color: var(--dark-brown);
}

.archive-sorting-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    background-color: var(--white);
    color: var(--text-color);
}

/* Archive Grid */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.archive-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.archive-item-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.archive-item-content {
    padding: 20px;
}

.archive-item-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.archive-item-category {
    background-color: var(--light-beige);
    color: var(--brick-red);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.archive-item-category:hover {
    background-color: var(--brick-red);
    color: var(--white);
}

.archive-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--dark-brown);
}

.archive-item-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.archive-item-title a:hover {
    color: var(--teal-green);
}

.archive-item-excerpt {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
}

.archive-item-date, .archive-item-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.archive-item-date i, .archive-item-author i {
    color: var(--teal-green);
}

.archive-item-read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--brick-red);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-item-read-more:hover {
    color: var(--orange);
}

/* Pagination */
.archive-pagination, .nav-links {
    margin-top: 50px;
    text-align: center;
}

.nav-links .page-numbers {
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 3px;
    padding: 0 10px;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background-color: var(--teal-green);
    color: var(--white);
}

.nav-links .prev, .nav-links .next {
    width: auto;
    padding: 0 15px;
}

/* Newsletter Section */
.archive-newsletter {
    background-color: var(--teal-green);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-top: 60px;
    text-align: center;
}

.archive-newsletter-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.archive-newsletter-description {
    margin-bottom: 20px;
    font-size: 1rem;
}

.archive-newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.archive-newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
    font-size: 1rem;
}

.archive-newsletter-button {
    background-color: var(--orange);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.archive-newsletter-button:hover {
    background-color: var(--brick-red);
}

/* No Results */
.no-results {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.no-results h2 {
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.no-results p {
    margin-bottom: 20px;
}

.no-results .search-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.no-results .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
}

.no-results .search-submit {
    background-color: var(--teal-green);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .archive-title {
        font-size: 2rem;
    }
    
    .archive-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .archive-newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .archive-newsletter-input {
        border-radius: 4px;
    }
    
    .archive-newsletter-button {
        border-radius: 4px;
    }
}

/* Single Deelgenoot Template Styles */

/* Adjust the wrapper to include top margin in background */
.deelgenoot-single-wrapper {
    margin-top: 0; /* Remove the top margin */
    background-color: var(--light-beige);
    padding: 0 20px;
    position: relative; /* Add position relative for absolute positioning */
}

/* Create a pseudo-element for the top padding/margin */
.deelgenoot-single-wrapper::before {
    content: '';
    position: absolute;
    top: -100px; /* This creates 100px space above the content */
    left: 0;
    right: 0;
    height: 100px; /* Same height as the negative top position */
    background-color: var(--light-beige); /* Same background as the wrapper */
    z-index: -1; /* Place it behind any content */
}

/* Keep the container padding */
.deelgenoot-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    margin-top: 100px; /* Add top margin to the container instead */
}

/* Container Styles */
.deelgenoot-single-wrapper {
    margin-top: 100px;
    background-color: var(--light-beige);
    padding: 0 20px;
}

.deelgenoot-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

/* Header Styles */
.deelgenoot-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.deelgenoot-header:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--orange);
    margin: 20px auto 0;
}

.deelgenoot-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.deelgenoot-role {
    font-size: 1.3rem;
    color: var(--brick-red);
    font-style: italic;
}

/* Content Layout */
.deelgenoot-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.deelgenoot-sidebar {
    flex: 0 0 300px;
}

.deelgenoot-main-content {
    flex: 1;
    min-width: 300px;
}

/* Image Styles */
.deelgenoot-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.deelgenoot-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Quote Styles */
/* Quote Styles with !important */
.wp-block-quote {
    padding: 20px !important;
    background-color: var(--light-beige) !important;
    border-left: 5px solid var(--orange) !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    margin: 30px 0 !important;
    font-style: italic !important;
    color: var(--dark-brown) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.wp-block-quote p {
    padding-left: 0 !important;
    position: static !important;
    margin: 0 !important;
}

.wp-block-quote p:before {
    content: none !important;
}

/* Biography Styles */
.deelgenoot-biography {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.deelgenoot-biography p {
    margin-bottom: 20px;
}

.deelgenoot-biography p:first-of-type:first-letter {
    font-size: 3.5rem;
    line-height: 1;
    float: left;
    margin-right: 10px;
    color: var(--teal-green);
    font-weight: bold;
}

/* Footer Styles */
.deelgenoot-footer {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.back-to-overview {
    text-align: center;
    margin-bottom: 30px;
}

/* Adjust the back button styles */
.back-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--teal-green);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--orange); /* Changed to orange on hover */
    color: var(--white);
}

a.back-button:hover {
    background-color: var(--orange);
    color: var(--white) !important;
}

.back-icon {
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Style for the icon */
.back-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Navigation Styles */
.deelgenoot-navigation {
    margin-top: 40px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    color: var(--dark-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--orange);
}

.nav-arrow {
    color: var(--orange);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .deelgenoot-content-wrapper {
        flex-direction: column;
    }
    
    .deelgenoot-sidebar {
        flex: 0 0 100%;
    }
    
    .deelgenoot-image {
        max-width: 300px;
        margin: 0 auto 30px;
    }
    
    .deelgenoot-title {
        font-size: 2rem;
    }
    
    .deelgenoot-role {
        font-size: 1.1rem;
    }
}

/* Font Awesome Icon */
.deelgenoot-icon {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--orange);
}

/* Subtitle Style */
.deelgenoot-subtitle {
    font-size: 1.4rem;
    color: var(--teal-green);
    margin-bottom: 10px;
    font-weight: 500;
}

/* Adjust spacing if both subtitle and role exist */
.deelgenoot-subtitle + .deelgenoot-role {
    margin-top: 5px;
}

/* Deelgenoten Clean Card Layout */
.deelgenoten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.deelgenoot-card {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.deelgenoot-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Color Pattern Styling - First Card: Teal Green */
.teal-green-card {
    border-top: 4px solid #7E9F9C;
}

.teal-green-card .deelgenoot-card-title {
    color: #7E9F9C;
}

.teal-green-card .deelgenoot-card-icon {
    color: #7E9F9C;
}

.teal-green-card .deelgenoot-card-readmore {
    color: #7E9F9C;
    border: 1px solid #7E9F9C;
}

.teal-green-card .deelgenoot-card-readmore:hover {
    background-color: #7E9F9C;
    color: var(--white);
}

.teal-green-card .deelgenoot-card-role {
    color: #7E9F9C;
}

/* Color Pattern Styling - Second Card: Brick Red */
.brick-red-card {
    border-top: 4px solid #B14D17;
}

.brick-red-card .deelgenoot-card-title {
    color: #B14D17;
}

.brick-red-card .deelgenoot-card-icon {
    color: #B14D17;
}

.brick-red-card .deelgenoot-card-readmore {
    color: #B14D17;
    border: 1px solid #B14D17;
}

.brick-red-card .deelgenoot-card-readmore:hover {
    background-color: #B14D17;
    color: var(--white);
}

.brick-red-card .deelgenoot-card-role {
    color: #B14D17;
}

/* Color Pattern Styling - Third Card: Orange */
.orange-card {
    border-top: 4px solid #F59C00;
}

.orange-card .deelgenoot-card-title {
    color: #F59C00;
}

.orange-card .deelgenoot-card-icon {
    color: #F59C00;
}

.orange-card .deelgenoot-card-readmore {
    color: #F59C00;
    border: 1px solid #F59C00;
}

.orange-card .deelgenoot-card-readmore:hover {
    background-color: #F59C00;
    color: var(--white);
}

.orange-card .deelgenoot-card-role {
    color: #F59C00;
}

.deelgenoot-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.deelgenoot-card-image .deelgenoot-thumbnail {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    transition: transform 0.5s ease;
}

.deelgenoot-card:hover .deelgenoot-thumbnail {
    transform: scale(1.05);
}

.deelgenoot-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.deelgenoot-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.deelgenoot-card-excerpt {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.deelgenoot-card-role {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.deelgenoot-card-excerpt {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.deelgenoot-card-excerpt p {
    margin-bottom: 0.8em;
}

.deelgenoot-card-excerpt br {
    display: block;
    content: "";
    margin-top: 0.5em;
}

.deelgenoot-card-icon {
    opacity: 0.6;
}

.deelgenoot-card-divider {
    height: 1px;
    background-color: #e5e5e5;
    margin-bottom: 15px;
    width: 100%;
}

.deelgenoot-card-readmore {
    text-decoration: none;
    font-size: 0.95rem;
    text-align: center;
    display: block;
    padding: 8px 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Post type archive header adjustments */
.post-type-archive-deelgenoot .archive-header {
    margin-bottom: 50px;
}

.post-type-archive-deelgenoot .archive-title {
    font-size: 2.2rem;
}

.post-type-archive-deelgenoot .archive-description {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .deelgenoten-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .deelgenoten-grid {
        grid-template-columns: 1fr;
    }
}

/* Author's Recent Posts Section */
.deelgenoot-author-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    width: 1194px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;}

.author-posts-title {
    color: #5A4A42; /* Your dark-brown color */
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.author-post-item {
    border-radius: 8px;
    background-color: #F5F1EB; /* Your light-beige color */
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.author-post-item:hover {
    transform: translateY(-5px);
}

.author-post-thumbnail {
    overflow: hidden;
    height: 200px;
}

.author-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.author-post-item:hover .author-post-thumbnail img {
    transform: scale(1.05);
}

.author-post-title {
    padding: 15px 20px 5px;
    margin: 0;
}

.author-post-title a {
    color: #B14D17; /* Your brick-red color */
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.author-post-meta {
    padding: 0 20px;
    color: #7A7A7A; /* Your text color */
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.author-post-excerpt {
    padding: 0 20px;
    margin-bottom: 15px;
    color: #7A7A7A; /* Your text color */
    font-size: 0.95rem;
    line-height: 1.5;
}

.read-more-link {
    display: inline-block;
    margin: 0 20px 20px;
    color: #7E9F9C; /* Your teal-green color */
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.read-more-link:after {
    content: '?';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-link:hover:after {
    transform: translateX(3px);
}

.view-all-posts {
    text-align: center;
    margin-top: 20px;
}

.view-all-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #F59C00; /* Your orange color */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.view-all-button:hover {
    background-color: #e08e00;
}

.no-posts-message {
    text-align: center;
    font-style: italic;
    color: #7A7A7A; /* Your text color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .author-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   LNT Gallery - Foto Galerij
   ============================================= */

.lnt-gallery-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Filter buttons */
.lnt-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.lnt-filter-btn {
    background: transparent;
    border: 2px solid #7E9F9C;
    color: #7E9F9C;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
}

.lnt-filter-btn:hover,
.lnt-filter-btn.active {
    background: #7E9F9C;
    color: #fff;
}

/* Masonry grid */
.lnt-gallery-grid {
    column-count: 3;
    column-gap: 16px;
}

@media (max-width: 900px) {
    .lnt-gallery-grid { column-count: 2; }
}

@media (max-width: 500px) {
    .lnt-gallery-grid { column-count: 1; }
}

.lnt-gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 6px;
}

.lnt-gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.lnt-gallery-item:hover img {
    transform: scale(1.03);
}

/* Hidden items during filter */
.lnt-gallery-item.lnt-hidden {
    display: none;
}