/*
Theme Name: Yinga Blog
Theme URI: https://example.com/yinga-blog
Author: Yinga
Author URI: https://yinga.nl
Description: Blogthema voor WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yinga-blog
*/

/* ==========================================================================
   1. Global Styles & Resets
   ========================================================================== */

/* Basic Reset */
html,
body {
    padding: 0;
    margin: 0;
    box-sizing: border-box; /* Ensures padding and border are included in element's total width and height */
}

/* Base Body Styles */
body {
   	color: var(--tekstkleur, #222); /* Dynamic text color with fallback */
    font-family: var(--font-family), sans-serif;
  	
  	line-height: var(--line-height);
}

/* Headings */
h1,
h2,
h3 {
    font-family: var(--site-font, sans-serif); /* Apply site font to headings */
    font-weight: 700;
    color: var(--blog-card-title, #333); /* Dynamic heading color */
    margin-top: 1.5em; /* Standardize heading margins */
    margin-bottom: 0.8em;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); } /* Adjusted for better hierarchy */

p {
    margin-bottom: 1em;
	font-size: var(--font-size-body);
}

/* Links */
a {
    color: inherit; /* Inherit color by default */
    text-decoration: none;
    transition: color 0.3s ease;
	text-decoration: none!important;
}

a:hover {
    text-decoration: underline;
}

/* Site Wide Containers */
.site-main-content,
.blog-archive-container,
.related-posts,
.post-content-container,
.single-post-wrapper{
    max-width: 1200px; /* Maximale breedte van de layout */
    margin: 0 auto;    /* Centreert de container op de pagina */
    padding-left: 1rem;
    padding-right: 1rem;
}
.site-main-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ==========================================================================
   2. Dynamic Color Variables from ACF (grouped for clarity)
   ========================================================================== */

/* Text Colors */
.single-post-wrapper,
.text-block {
    color: var(--tekstkleur); /* Global text color */
}

.author-name {
    color: var(--post-author-color);
}

/* Heading & Title Colors */
.post-title-fallback h1,
.post-title-fallback a { /* Assuming post-title-fallback might contain a link */
    color: var(--blog-card-title);
}

.post-hero .post-title {
    color: var(--post-title-color, #fff); /* Default to white for hero titles */
}

/* Blog Meta Colors */
.blog-meta a,
.blog-meta span,
.blog-meta .meta-date,
.blog-meta .meta-cats,
.blog-meta .meta-tags {
    color: var(--blog-meta-kleur); /* Removed !important if specificity can be managed */
    text-decoration: none;
}

/* Read More Link Colors */
.read-more {
    color: var(--read-more-kleur);
}

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

/* Navigation Colors */
.blog-nav .prev a,
.blog-nav .next a {
    color: var(--nav-text);
}

.blog-nav .prev a:hover,
.blog-nav .next a:hover {
    color: var(--nav-hover);
}

.back-button {
    color: var(--back-text);
    background-color: var(--back-bg);
	text-decoration: none!important;
}

.back-button:hover {
    color: var(--back-hover);
    background-color: var(--back-bg-hover);
}

/* Share Buttons Colors */
.share-inline a,
.share-buttons a,
.copy-link-button { /* Apply to copy button as well */
    color: var(--share-text);
    background-color: var(--share-bg); /* Removed !important */
}

.share-inline a:hover,
.share-buttons a:hover,
.copy-link-button:hover {
    color: var(--share-hover);
    background-color: var(--share-bg-hover);
}

/* Blog Card Colors */
.blog-post-card {
    background-color: var(--blog-card-bg);
	margin: 40px 0;
}

.blog-post-card h3 {
    /* No specific color here, inherits from h3 or parent */
}

.blog-post-card p {
    color: var(--blog-card-text);
}

/* Corner Ribbon Colors */
.corner-ribbon {
    background-color: var(--corner-ribbon-bg);
    color: var(--corner-ribbon-text);
}

/* CTA Block Colors */
.cta-blok h3 {
    color: var(--kleur-titel);
}

.cta-blok p {
    color: var(--kleur-tekst);
}

/* ==========================================================================
   3. Site Specific Layout & Components
   ========================================================================== */

/* Site Header & Footer */
.site-branding {
    margin: 0 auto;
}

.custom-logo {
    max-width: 420px; /* Removed !important, adjust specificity if needed */
	height:auto;
    margin: 20px 0;
}

a.custom-logo {
    max-width: 100px;
	height:auto;
}

.site-footer {
    text-align: center;
    padding: 30px 0;
    background-color: #eee;
}

/* Blog Archive Header */
.blog-archive-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-archive-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.blog-archive-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Blog Grid (Archive Page) */
.blog-grid {
    display: grid;
    /* Default to 1 column for mobile first */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; /* Smaller gap on mobile */
    padding-left: 1rem;
    padding-right: 1rem;
	margin-bottom: 30px;
}

/* Blog Post Card (Shared between grid and related) */
.blog-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    transition: transform 0.2s ease;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Default shadow */
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

.blog-post-card.rounded-cards { border-radius: 16px; }
.blog-post-card.sharp-cards { border-radius: 0; }
.blog-post-card.with-shadow { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.blog-post-card.with-border { border: 2px solid var(--card-border-color, #ccc); } /* Default border color */

.blog-post-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none; /* For card-stretched-link */
    color: inherit;
}

.blog-post-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
	font-size: 12px;
}

/* Thumbnails */
.thumbnail {
    width: 100%;
    aspect-ratio: 4 / 3; /* Default ratio */
    overflow: hidden;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail.ratio-4-3 { aspect-ratio: 4 / 3; }
.thumbnail.ratio-16-9 { aspect-ratio: 16 / 9; }
.thumbnail.ratio-1-1 { aspect-ratio: 1 / 1; }

/* Blog Meta (Date, Categories, Tags) */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--blog-meta-kleur, #555); /* Default color for meta items */
}

.meta-date,
.meta-cats,
.meta-tags {
    background-color: #f4f4f4; /* Default background */
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    margin-top: 20px; /* Adjust margin if needed, consider responsive layout */
    margin-bottom: 0;
}
.blog-meta a { /* Ensure links within meta inherit correct color */
    color: var(--blog-meta-kleur, #555);
}


/* Read More Link */
.read-more {
    margin-top: auto; /* Pushes to bottom of content area */
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s ease;
}

/* Corner Ribbon */
.corner-ribbon {
    position: absolute;
    top: 1rem;
    right: -45px;
    transform: rotate(45deg);
    width: 150px;
    height: 1.5rem;
    font-size: 0.75rem;
    text-align: center;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Stretched Link */
.card-stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-indent: -9999px;
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 8rem 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.6rem 1rem;
    margin: 0 0.3rem;
    border-radius: 8px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #e0e0e0;
    color: #000;
}

.pagination .current {
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

.loading-indicator {
    margin-top: 1rem;
    font-weight: bold;
    color: #0073aa;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 3rem 0;
}

#load-more {
    background-color: #0073aa;
    color: white;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#load-more:hover {
    background-color: #005177;
}

/* ==========================================================================
   4. Single Post Styles
   ========================================================================== */

.single-post-wrapper {
    font-family: var(--site-font, sans-serif);
    color: var(--tekstkleur, #222);
}

/* Post Hero Section */
.post-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto; /* Center hero */
    max-width: 1200px; /* Constrain hero width */
}

.post-hero .overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.post-hero .post-title {
    font-size: 2.5rem;
    text-align: center;
    color: #fff; /* Ensure white text for hero title */
}

/* Fallback Title */
.post-title-fallback {
    margin: 2rem auto 1rem auto;
    padding: 0 1rem;
    text-align: left;
    
}

.post-title-fallback h1 {
    font-size: 2rem;
    font-weight: 700;
}

/* Post Content Layouts */
.single-post-wrapper .post-content-container {
    margin: 3rem auto; /* Standard margin for main content */
}

.single-post-wrapper .layout-flex {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start; /* Align content to the top */
}

.single-post-wrapper.layout-links .image-links {
    order: 0; /* Image first */
    flex: 1 1 40%;
}

.single-post-wrapper.layout-rechts .image-rechts {
    order: 2; /* Text first, then image */
    flex: 1 1 40%;
}

.single-post-wrapper.layout-rechts .text-block{
    flex: 1 1 55%;
   
}

/* Single Post Images (from single-yinga_blog.php) */
.post-thumbnail-single {
    width: 100%;
    height: auto;
    border-radius: 12px; /* Applied via class instead of inline style */
    display: block; /* Remove extra space below image */
}

/* Post Author */
.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #444;
    margin: 0.75rem 0;
}

.post-author img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
}

.author-name {
    line-height: 1;
}

/* Post Tags (single post specific, if different from general blog meta) */
/* The original had a .post-tags, but single-yinga_blog.php uses .blog-meta,
   so these might be redundant or for a different purpose. Keeping for now. */
.post-tags {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #555;
}

.post-tags span {
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Share Buttons (Inline) */
.share-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.share-inline .share-label {
    font-weight: bold;
    margin-right: 0.5rem;
    color: #444;
}

.share-inline a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

/* Copy Link Button */
.copy-link-button {
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.copy-link-button.copied {
    background-color: #4caf50 !important; /* Keep !important if JS directly sets this */
    color: white;
}

.copy-link-button.copied::after {
    content: '✔';
    font-size: 0.8rem;
    position: absolute;
    margin-left: 1.5rem; /* This might need adjustment based on icon size */
    color: #4caf50;
}

/* Blog Navigation */
.blog-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    font-size: 0.95rem;
}

.blog-nav .prev a,
.blog-nav .next a {
    text-decoration: none;
}

.blog-nav .prev a:hover,
.blog-nav .next a:hover {
    text-decoration: underline;
}

/* Back Button */
.back-button-container {
    text-align: center;
    margin: 3rem 0;
}

.back-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==========================================================================
   5. Call to Action (CTA) Blocks
   ========================================================================== */

.blog-cta {
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 3rem auto; /* Center CTA block */
    max-width: 1000px; /* Constrain width */
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.blog-cta h3 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.blog-cta p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.blog-cta .btn {
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    padding: clamp(0.6rem, 1vw, 0.8rem) clamp(1.2rem, 2vw, 1.5rem);
}

.cta-donker {
    background-color: #222 !important; /* Keep !important if overriding defaults */
    color: #fff !important;
}

.cta-donker .btn {
    background-color: #fff;
    color: #222;
}

.cta-donker .btn:hover {
    background-color: #ccc;
}

.cta-minimal {
    background: none !important;
    border: 1px solid #ccc;
    box-shadow: none;
    padding: 1rem;
}

.cta-beeld_links,
.cta-beeld_boven {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cta-beeld_links img {
    max-width: 40%;
    border-radius: 0.5rem;
}

.cta-beeld_boven {
    flex-direction: column;
}

.cta-beeld_boven img {
    width: 100%;
    max-width: 600px;
    border-radius: 0.5rem;
}

.cta-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #f0f4f8;
}

.cta-card .blog-post-content {
    padding: 2rem;
}

.cta-card .cta-button {
    margin-top: 1rem;
    
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-card .cta-button:hover {
    background-color: #005177;
}


/* ==========================================================================
   6. Related Posts (Lees ook slider)
   ========================================================================== */

.lees-ook-slider-wrapper {
    overflow: hidden;
    background-color: var(--licht, #f8f9fa); /* Gebruik CSS variabele voor achtergrond */
    padding: 3rem 0; /* Consistent met andere secties */
}

/* Swiper container */
.lees-ook-slider .swiper {
    /* padding-bottom: 3.5rem; */ /* Swiper's padding-bottom voor pagination wordt beheerd door .swiper-pagination buiten de slider zelf */
}

/* Swiper slide styling - BELANGRIJK: GEEN HORIZONTALE PADDING HIER */
.lees-ook-slider .swiper-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    /* Verwijder padding: 0 15px; hier. Laat spaceBetween in JS de spacing doen. */
}

/* Related Item Card Styling */
.lees-ook-slider .related-item {
    background: var(--blog-card-bg, #fff); /* Gebruik CSS variabele */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 1rem; /* Padding BINNEN de kaart */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lees-ook-slider .related-item.hover-effect:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Image styling in related items */
.lees-ook-slider .related-item img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 4 / 3; /* Voorbeeld: 4:3 ratio voor afbeeldingen */
    display: block;
}

/* Title styling in related items */
.lees-ook-slider .related-item h3 {
    font-size: 1.1rem; /* Consistent met blog-post-card h3 */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--blog-card-title, #000); /* Gebruik CSS variabele */
}

/* Excerpt styling in related items */
.lees-ook-slider .related-item p {
    font-size: 0.95rem; /* Consistent met blog-post-card p */
    color: var(--blog-card-text, #555); /* Gebruik CSS variabele */
}

/* Swiper Pagination Styling */
.swiper-pagination {
    position: relative!important;  /* Consistent met Swiper standaard */
    margin-top: 2rem; /* Aangepaste marge */
    text-align: center;
}

.swiper-pagination-bullet{
	width:15px!important;
		height:15px!important
}

.swiper-pagination-bullet-active {
    background-color: var(--primaire-kleur) !important; /* Gebruik CSS variabele */
}

/* Dark Mode styles for the slider */
.lees-ook-slider-wrapper.dark-mode .related-item {
    background-color: var(--donker, #333);
    color: var(--licht, #f8f8f8);
}
.lees-ook-slider-wrapper.dark-mode .related-item h3 {
    color: var(--licht, #f8f8f8);
}
.lees-ook-slider-wrapper.dark-mode .related-item p {
    color: var(--licht, #f8f8f8);
}

/* Responsive Swiper Slide sizing (optional, Swiper's breakpoints usually handle this) */
/* .swiper-slide {
    width: auto !important; // Laat Swiper de breedte bepalen
} */

/* Ensure the wrapper has the correct max-width */
.lees-ook-slider-wrapper .site-main-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ==========================================================================
   7. Search Form
   ========================================================================== */

.pretty-search-form {
    display: flex;
    align-items: center;
    background: #eee;
    border: 2px solid white;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    max-width: 350px;
    margin: 1.5rem auto;
    color: white; /* This color might be for the icon/placeholder */
    position: relative;
}

.pretty-search-form i {
    font-size: 1rem;
    color: #333;
    margin-right: 0.75rem;
}

.pretty-search-input {
    flex-grow: 2;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    padding: 0.25rem 0;
}

.pretty-search-input::placeholder {
    color: #333;
    opacity: 0.85;
}

/* ==========================================================================
   8. Responsive Adjustments (Mobile First)
   ========================================================================== */

/* Breakpoints:
   - Mobile: < 576px (default)
   - Mobile Landscape: 576px - 767px
   - Tablet Portrait: 768px - 899px
   - Tablet Landscape / Small Laptops: 900px - 1199px
   - Desktop: >= 1200px
*/


/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Force 2 columns */
    }
    .swiper-slide {
        align-items: stretch; /* Consistent height for slider cards */
    }
}

/* Tablet Portrait (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for blog grid */
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for related posts */
    }
    .single-post-wrapper .layout-flex {
        flex-direction: column; /* Stack image and text for single posts */
    }
    .single-post-wrapper.layout-links .image-links,
    .single-post-wrapper.layout-rechts .image-rechts {
        order: -1; /* Image above text on smaller screens */
    }
    .post-hero .post-title {
        font-size: 1.8rem;
    }
    .pretty-search-form {
        width: 90%;
    }
}

/* Tablet Landscape / Small Laptops (900px - 1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for blog grid */
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .related-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for related posts */
    }
}

/* Desktop ( >= 1200px) */
@media (min-width: 1200px) {
    .blog-grid {
        /* This is where ACF-driven columns take effect as primary setting */
        grid-template-columns: repeat(var(--max-cols, 4), 1fr);
        gap: 2rem;
        padding: 0; /* Assume .blog-archive-container handles padding */
    }
    /* Specific overrides for dynamic column count on desktop */
    .blog-grid.max-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .blog-grid.max-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .blog-grid.max-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .blog-grid.max-cols-5 { grid-template-columns: repeat(5, 1fr); }
    .blog-grid.max-cols-6 { grid-template-columns: repeat(6, 1fr); }

    .related-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for related posts */
    }
    .single-post-wrapper .layout-flex {
        flex-direction: row; /* Ensure side-by-side for desktop */
    }
    .single-post-wrapper.layout-links .image-links,
    .single-post-wrapper.layout-rechts .image-rechts {
       /* order: initial;  Reset order for desktop */
    }
}

/* Specific Mobile Styles (max-width) */
@media (max-width: 767px) {
    .single-post-wrapper .layout-flex {
        flex-direction: column;
    }
    .single-post-wrapper.layout-links .image-links,
    .single-post-wrapper.layout-rechts .image-rechts {
        order: -1; /* Image above text */
    }
    .post-hero .post-title {
        font-size: 1.8rem;
    }
    .related-grid {
        grid-template-columns: 1fr; /* Single column for related posts */
    }
    .cta-card {
        /* On mobile, cards should span full width if in a grid context */
        grid-column: span 1 !important; /* Keep !important if this is used in a flex/grid and needs specific override */
    }
}

@media (max-width: 600px) {
    .pretty-search-form {
        width: 90%;
    }
}

/* Clean up of older/redundant media queries */
/* Removed:
@media (max-width: 899px) { ... } (absorbed into others)
@media (max-width: 1200px) { ... } (absorbed into others)
@media (min-width: 900px) and (max-width: 1279px) { ... } (adjusted to 1199px)
@media (max-width: 575px) { ... } (absorbed into default and 576px min-width)
*/

/* ==========================================================================
   9. Debugging / Development (Commented out)
   ========================================================================== */

/* Visuele debug: active viewport indicator */
/*
#viewport-indicator {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    z-index: 9999;
    pointer-events: none;
}

body::after {
    content: 'desktop';
    display: none;
}

@media (max-width: 1199px) {
    body::after {
        content: 'laptop';
    }
}
@media (max-width: 1023px) {
    body::after {
        content: 'tablet';
    }
}
@media (max-width: 767px) {
    body::after {
        content: 'mobile';
    }
}
*/


/* ==========================================================================
   10. 404 pagina
   ========================================================================== */

/* In style.css */
.error-404 {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.error-404 h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.error-404 p {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.error-404 .button-home {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}


