/* =========================================================
   RudyXplores Theme — Main Stylesheet
   Versie: 1.0.0

   Structuur:
   1.  CSS Variabelen (Dark Space Theme)
   2.  Reset & Basis
   3.  Typografie
   4.  Layout
   5.  Header & Glassmorphism
   6.  Navigatie — Desktop
   7.  Hamburger & Mobiel menu
   8.  Header acties
   9.  Post Cards — Overzicht
   10. Categorie badges
   11. Single artikel
   12. Post navigatie
   13. Sidebar & Widgets
   14. Footer
   15. Comments
   16. Archief / Zoeken / 404
   17. WordPress content styling
   18. Utilities
   19. Responsive
========================================================= */


/* =========================================================
   1. CSS Variabelen
========================================================= */

:root {
    /* Achtergronden */
    --rx-bg:          #080c14;
    --rx-surface:     #0f1724;
    --rx-surface-2:   #151f2e;
    --rx-glass:       rgba(8, 12, 20, 0.88);

    /* Tekst */
    --rx-text:        #e2e8f0;
    --rx-muted:       #7a8fa6;
    --rx-faint:       #2d3f52;

    /* Accenten (overschreven via Customizer) */
    --rx-accent:      #3b82f6;
    --rx-accent-hover: #2563eb;
    --rx-accent-glow: rgba(59, 130, 246, 0.2);
    --rx-cyan:        #06b6d4;
    --rx-purple:      #7c3aed;
    --rx-amber:       #f59e0b;
    --rx-green:       #10b981;

    /* Randen */
    --rx-border:       rgba(59, 130, 246, 0.12);
    --rx-border-solid: #1a2a3a;

    /* Layout */
    --rx-max-width:    1200px;
    --rx-radius:       12px;
    --rx-radius-sm:    8px;
    --rx-shadow:       0 8px 32px rgba(0, 0, 0, 0.45);
    --rx-shadow-card:  0 4px 24px rgba(0, 0, 0, 0.35);

    /* Typografie */
    --rx-font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --rx-font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --rx-font-mono:    'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Transities */
    --rx-transition:   200ms ease;
    --rx-transition-slow: 380ms ease;

    /* Header hoogte (voor offset berekening) */
    --rx-header-height: 68px;
}


/* =========================================================
   2. Reset & Basis
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--rx-header-height) + 1rem);
}

/* Admin bar offset — WordPress admin balk is 32px (desktop) / 46px (mobiel) */
.admin-bar html {
    scroll-padding-top: calc(var(--rx-header-height) + 32px + 1rem);
}

@media screen and (max-width: 782px) {
    .admin-bar html {
        scroll-padding-top: calc(var(--rx-header-height) + 46px + 1rem);
    }
}

body {
    margin: 0;
    font-family: var(--rx-font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--rx-text);
    background-color: var(--rx-bg);
    -webkit-font-smoothing: antialiased;
}

/* Scroll lock wanneer mobiel menu open is */
body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rx-accent);
    text-decoration: none;
    transition: color var(--rx-transition);
}

a:hover,
a:focus {
    color: var(--rx-accent-hover);
}

button {
    cursor: pointer;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   3. Typografie
========================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rx-font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--rx-text);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   4. Layout
========================================================= */

.site-content {
    padding-top: calc(var(--rx-header-height) + 2rem);
    padding-bottom: 4rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Admin bar compensatie voor content */
.admin-bar .site-content {
    padding-top: calc(var(--rx-header-height) + 32px + 2rem);
}

@media screen and (max-width: 782px) {
    .admin-bar .site-content {
        padding-top: calc(var(--rx-header-height) + 46px + 2rem);
    }
}

.site-layout {
    max-width: var(--rx-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2.5rem;
    align-items: start;
}

.site-layout.no-sidebar {
    grid-template-columns: 1fr;
}

.site-layout.no-sidebar .content-area {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

.content-area {
    min-width: 0;
}


/* =========================================================
   5. Header & Glassmorphism
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--rx-header-height);
    background: var(--rx-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--rx-border);
    transition: background var(--rx-transition-slow), border-color var(--rx-transition-slow);
}

/* Admin bar — header omlaag duwen zodat hij niet achter de balk verdwijnt */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header.is-scrolled {
    background: rgba(8, 12, 20, 0.96);
    border-bottom-color: var(--rx-border-solid);
}

.site-header__inner {
    max-width: var(--rx-max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Site branding */
.site-branding {
    flex-shrink: 0;
}

.site-title-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.rx-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.rx-logo-icon {
    color: var(--rx-accent);
    flex-shrink: 0;
    transition: color var(--rx-transition);
}

.rx-logo-text {
    font-family: var(--rx-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rx-text);
    letter-spacing: -0.02em;
    transition: color var(--rx-transition);
}

.rx-logo:hover .rx-logo-icon {
    color: var(--rx-cyan);
}

.rx-logo:hover .rx-logo-text {
    color: #fff;
}

/* Logo afbeelding */
.site-logo img {
    max-height: 44px;
    width: auto;
}


/* =========================================================
   6. Navigatie — Desktop
========================================================= */

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--rx-muted);
    text-decoration: none;
    border-radius: var(--rx-radius-sm);
    transition: color var(--rx-transition), background var(--rx-transition);
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current-page-ancestor > a {
    color: var(--rx-text);
    background: rgba(255, 255, 255, 0.06);
}

/* Dropdown */
.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: var(--rx-surface-2);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius);
    box-shadow: var(--rx-shadow);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.15rem;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu a {
    width: 100%;
    padding: 0.5rem 0.85rem;
    border-radius: var(--rx-radius-sm);
}


/* =========================================================
   7. Hamburger & Mobiel Menu
========================================================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius-sm);
    transition: border-color var(--rx-transition), background var(--rx-transition);
}

.nav-toggle:hover {
    border-color: var(--rx-accent);
    background: var(--rx-accent-glow);
}

.hamburger-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--rx-text);
    border-radius: 2px;
    transition: transform var(--rx-transition), opacity var(--rx-transition);
    transform-origin: center;
}

/* Hamburger → X animatie */
.nav-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobiel menu overlay */
.mobile-menu {
    position: fixed;
    top: var(--rx-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--rx-bg);
    border-top: 1px solid var(--rx-border-solid);
    z-index: 999;
    padding: 2rem 1.5rem;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

/* Admin bar: mobile menu begint pas ná de admin balk + header */
.admin-bar .mobile-menu {
    top: calc(var(--rx-header-height) + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .mobile-menu {
        top: calc(var(--rx-header-height) + 46px);
    }
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    font-family: var(--rx-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rx-muted);
    border-radius: var(--rx-radius-sm);
    border-left: 2px solid transparent;
    transition: color var(--rx-transition), border-color var(--rx-transition), background var(--rx-transition);
}

.mobile-navigation a:hover,
.mobile-navigation .current-menu-item > a {
    color: var(--rx-text);
    background: var(--rx-surface-2);
    border-left-color: var(--rx-accent);
}

.mobile-navigation .sub-menu {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0 0 0 1rem;
}

.mobile-navigation .sub-menu a {
    font-size: 1rem;
    font-weight: 500;
}


/* =========================================================
   8. Header acties (zoek + hamburger)
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--rx-muted);
    background: transparent;
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius-sm);
    transition: color var(--rx-transition), border-color var(--rx-transition), background var(--rx-transition);
    text-decoration: none;
}

.header-btn:hover,
.header-btn:focus {
    color: var(--rx-text);
    border-color: var(--rx-accent);
    background: var(--rx-accent-glow);
}

/*
 * BELANGRIJK: .nav-toggle deelt de .header-btn klasse maar moet op desktop
 * verborgen zijn. Dit staat expliciet NA .header-btn zodat het wint.
 */
.nav-toggle {
    display: none;
}


/* =========================================================
   9. Post Cards — Overzicht
========================================================= */

.post-card {
    background: var(--rx-surface);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius);
    box-shadow: var(--rx-shadow-card);
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--rx-transition), box-shadow var(--rx-transition), border-color var(--rx-transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--rx-accent);
    border-color: var(--rx-accent);
}

/* Thumbnail */
.post-card__thumbnail {
    overflow: hidden;
    flex-shrink: 0;
}

.post-card__thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform var(--rx-transition-slow);
}

.post-card:hover .post-card__thumbnail img {
    transform: scale(1.04);
}

/* Body */
.post-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Entry header */
.entry-header {
    margin-bottom: 0.75rem;
}

/* Titels */
.entry-title {
    font-family: var(--rx-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    color: var(--rx-text);
}

.entry-title a {
    color: var(--rx-text);
    text-decoration: none;
    transition: color var(--rx-transition);
}

.entry-title a:hover {
    color: var(--rx-accent);
}

/* Meta */
.entry-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
    color: var(--rx-muted);
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.entry-sep {
    opacity: 0.4;
}

/* Samenvatting */
.entry-summary {
    color: var(--rx-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
}

/* Lees meer knop */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rx-accent);
    background: var(--rx-accent-glow);
    border: 1px solid var(--rx-accent);
    border-radius: var(--rx-radius-sm);
    text-decoration: none;
    transition: background var(--rx-transition), color var(--rx-transition), box-shadow var(--rx-transition);
    margin-top: auto;
}

.read-more:hover,
.read-more:focus {
    background: var(--rx-accent);
    color: #fff;
    box-shadow: 0 0 20px var(--rx-accent-glow);
}

.read-more svg {
    transition: transform var(--rx-transition);
}

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

/* Featured post */
.post-card.is-featured {
    border-color: var(--rx-accent);
    box-shadow: 0 0 0 1px var(--rx-accent), var(--rx-shadow-card);
}

/* Pinned post */
.post-card.is-pinned .entry-title::after {
    content: " 📌";
    font-size: 0.85em;
}

/* Grid layout */
.content-area--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: start;
}

.content-area--grid .post-card {
    margin-bottom: 0;
    height: 100%;
}

.content-area--grid .archive-header,
.content-area--grid .no-posts,
.content-area--grid .posts-navigation {
    grid-column: 1 / -1;
}

.content-area--grid .post-card.is-featured {
    grid-column: 1 / -1;
}

.content-area--grid .post-card.is-featured .post-card__thumbnail img {
    height: 340px;
}


/* =========================================================
   10. Categorie badges
========================================================= */

.post-categories {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.cat-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-family: var(--rx-font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rx-accent);
    background: var(--rx-accent-glow);
    border: 1px solid var(--rx-accent);
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--rx-transition), color var(--rx-transition);
}

.cat-badge:hover {
    background: var(--rx-accent);
    color: #fff;
}

/* Tag badges */
.post-tags {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.post-tags__label {
    font-size: 0.85rem;
    color: var(--rx-muted);
    font-family: var(--rx-font-mono);
}

.tag-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    font-size: 0.78rem;
    color: var(--rx-muted);
    background: var(--rx-surface-2);
    border: 1px solid var(--rx-border-solid);
    border-radius: 4px;
    text-decoration: none;
    transition: color var(--rx-transition), border-color var(--rx-transition);
}

.tag-badge:hover {
    color: var(--rx-text);
    border-color: var(--rx-accent);
}


/* =========================================================
   11. Single artikel
========================================================= */

.post-single {
    background: var(--rx-surface);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius);
    overflow: hidden;
}

.post-single .entry-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--rx-border-solid);
}

.post-single .entry-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-featured-image {
    width: 100%;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.post-single .entry-content {
    padding: 2.5rem;
}

.post-single .entry-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--rx-border-solid);
}

.entry-reading-time {
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
}


/* =========================================================
   12. Post navigatie (vorig / volgend)
========================================================= */

.post-navigation,
.posts-navigation {
    margin-top: 2rem;
    background: var(--rx-surface);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius);
    padding: 1.25rem 1.75rem;
}

.post-navigation .nav-links,
.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next,
.posts-navigation .nav-previous,
.posts-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
    color: var(--rx-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--rx-text);
    transition: color var(--rx-transition);
}

.post-navigation a:hover .nav-title {
    color: var(--rx-accent);
}


/* =========================================================
   13. Sidebar & Widgets
========================================================= */

.sidebar {
    position: sticky;
    top: calc(var(--rx-header-height) + 1.5rem);
}

.admin-bar .sidebar {
    top: calc(var(--rx-header-height) + 32px + 1.5rem);
}

@media screen and (max-width: 782px) {
    .admin-bar .sidebar {
        top: calc(var(--rx-header-height) + 46px + 1.5rem);
    }
}

.widget {
    background: var(--rx-surface);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius);
    border-left: 3px solid var(--rx-accent);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rx-accent);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rx-border-solid);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--rx-border-solid);
    font-size: 0.9rem;
}

.widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget ul li a {
    color: var(--rx-muted);
    transition: color var(--rx-transition);
}

.widget ul li a:hover {
    color: var(--rx-text);
}

/* Zoekveld in sidebar */
.widget .search-form,
.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.widget .search-field,
.search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--rx-bg);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius-sm);
    color: var(--rx-text);
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--rx-transition), box-shadow var(--rx-transition);
}

.widget .search-field:focus,
.search-field:focus {
    border-color: var(--rx-accent);
    box-shadow: 0 0 0 3px var(--rx-accent-glow);
}

.widget .search-field::placeholder {
    color: var(--rx-faint);
}

.widget .search-submit,
.search-submit {
    padding: 0.75rem 1rem;
    background: var(--rx-accent);
    border: 0;
    border-radius: var(--rx-radius-sm);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--rx-transition), box-shadow var(--rx-transition);
}

.widget .search-submit:hover,
.search-submit:hover {
    background: var(--rx-accent-hover);
    box-shadow: 0 0 16px var(--rx-accent-glow);
}


/* =========================================================
   14. Footer
========================================================= */

.site-footer {
    background: var(--rx-surface);
    border-top: 1px solid var(--rx-border-solid);
    margin-top: 2rem;
}

.site-footer__inner {
    max-width: var(--rx-max-width);
    margin: 0 auto;
    padding: 3.5rem 1.25rem 2.5rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
}

/* Footer kolom — About */
.footer-col--about .rx-logo--footer .rx-logo-text {
    font-size: 1.05rem;
}

.footer-tagline {
    font-family: var(--rx-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--rx-text);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--rx-muted);
    line-height: 1.7;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
}

.footer-brand-link {
    text-decoration: none;
}

/* Footer kolom — titels */
.footer-col-title {
    font-family: var(--rx-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rx-accent);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--rx-border-solid);
}

/* Footer links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links li a,
.footer-links a {
    font-size: 0.9rem;
    color: var(--rx-muted);
    text-decoration: none;
    transition: color var(--rx-transition);
    display: block;
    padding: 0.2rem 0;
}

.footer-links li a:hover,
.footer-links a:hover {
    color: var(--rx-text);
}

.footer-setup-note {
    font-size: 0.8rem;
    color: var(--rx-faint);
    margin-top: 0.75rem;
    font-style: italic;
}

/* Footer bottom balk */
.footer-bottom {
    border-top: 1px solid var(--rx-border-solid);
}

.footer-bottom__inner {
    max-width: var(--rx-max-width);
    margin: 0 auto;
    padding: 1.25rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copyright,
.footer-credit {
    font-size: 0.82rem;
    color: var(--rx-faint);
    margin: 0;
}

.footer-copyright a {
    color: var(--rx-muted);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--rx-text);
}

.footer-credit {
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
}


/* =========================================================
   15. Comments
========================================================= */

.comments-area {
    margin-top: 2rem;
    background: var(--rx-surface);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius);
    padding: 2rem;
}

.comments-title,
.comment-reply-title {
    font-family: var(--rx-font-heading);
    font-size: 1.25rem;
    color: var(--rx-text);
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rx-border-solid);
}

.comment-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.comment-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rx-border-solid);
}

.comment-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-meta {
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    color: var(--rx-muted);
}

.comment-author b {
    font-weight: 600;
    color: var(--rx-text);
}

.comment-author img {
    border-radius: 50%;
    margin-right: 0.75rem;
    vertical-align: middle;
    border: 2px solid var(--rx-border-solid);
}

.comment-metadata a {
    color: var(--rx-muted);
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
}

.comment-content p {
    font-size: 0.95rem;
    color: var(--rx-text);
    margin: 0 0 0.75rem;
}

.reply a,
.comment-reply-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rx-accent);
}

/* Reactieformulier */
.comment-form-custom p {
    margin-bottom: 1rem;
}

.comment-form-custom label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--rx-muted);
    font-family: var(--rx-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comment-form-custom input[type="text"],
.comment-form-custom input[type="email"],
.comment-form-custom input[type="url"],
.comment-form-custom textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--rx-bg);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius-sm);
    color: var(--rx-text);
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--rx-transition), box-shadow var(--rx-transition);
}

.comment-form-custom textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form-custom input:focus,
.comment-form-custom textarea:focus {
    border-color: var(--rx-accent);
    box-shadow: 0 0 0 3px var(--rx-accent-glow);
}

.comment-form-custom .submit {
    padding: 0.8rem 1.5rem;
    background: var(--rx-accent);
    border: 0;
    border-radius: var(--rx-radius-sm);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--rx-transition), box-shadow var(--rx-transition);
}

.comment-form-custom .submit:hover {
    background: var(--rx-accent-hover);
    box-shadow: 0 0 16px var(--rx-accent-glow);
}


/* =========================================================
   16. Archief / Zoeken / 404
========================================================= */

.archive-header {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--rx-surface);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius);
    border-left: 3px solid var(--rx-accent);
}

.archive-title {
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
    color: var(--rx-text);
}

.archive-description {
    color: var(--rx-muted);
    font-size: 0.95rem;
}

.archive-description p:last-child {
    margin-bottom: 0;
}

.no-posts {
    padding: 3rem 2rem;
    text-align: center;
}

.no-posts .entry-title {
    font-size: 1.5rem;
}

.error-404 .entry-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.error-404__search {
    margin-top: 1.5rem;
    max-width: 480px;
}


/* =========================================================
   17. WordPress content styling
========================================================= */

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rx-border-solid);
}

.entry-content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
}

.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--rx-accent);
    background: var(--rx-surface-2);
    border-radius: 0 var(--rx-radius-sm) var(--rx-radius-sm) 0;
    color: var(--rx-text);
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content pre {
    overflow-x: auto;
    padding: 1.25rem;
    background: #040812;
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius-sm);
    font-size: 0.9rem;
    line-height: 1.65;
    color: #c9d1d9;
}

.entry-content code {
    font-family: var(--rx-font-mono);
    font-size: 0.9em;
    padding: 0.15em 0.4em;
    background: var(--rx-surface-2);
    border-radius: 4px;
    color: var(--rx-cyan);
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
    padding: 0.8rem 1rem;
    border: 1px solid var(--rx-border-solid);
    text-align: left;
}

.entry-content th {
    background: var(--rx-surface-2);
    font-weight: 600;
    color: var(--rx-text);
    font-family: var(--rx-font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-content td {
    color: var(--rx-muted);
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.5rem 1.5rem;
    color: var(--rx-muted);
}

.entry-content li {
    margin-bottom: 0.5rem;
    color: var(--rx-text);
}

.entry-content hr {
    border: 0;
    border-top: 1px solid var(--rx-border-solid);
    margin: 2.5rem 0;
}

.entry-content img {
    border-radius: var(--rx-radius-sm);
}

.entry-content a {
    color: var(--rx-accent);
    border-bottom: 1px solid transparent;
    transition: border-color var(--rx-transition);
}

.entry-content a:hover {
    border-bottom-color: var(--rx-accent);
}

.alignleft {
    float: left;
    margin: 0.4rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.4rem 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
}

.entry-content::after {
    content: "";
    display: table;
    clear: both;
}

.wp-caption {
    max-width: 100%;
    margin: 1.5rem 0;
    background: var(--rx-surface-2);
    border: 1px solid var(--rx-border-solid);
    border-radius: var(--rx-radius-sm);
    padding: 0.75rem;
}

.wp-caption-text {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--rx-muted);
    text-align: center;
    font-style: italic;
}


/* =========================================================
   18. Utilities
========================================================= */

.post-card--padded {
    padding: 2rem;
}

.text-muted {
    color: var(--rx-muted);
}

.text-accent {
    color: var(--rx-accent);
}


/* =========================================================
   19. Responsive
========================================================= */

/* Tablet: 960px */
@media (max-width: 960px) {
    .site-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-col--about {
        grid-column: 1 / -1;
    }
}

/* Mobiel: 768px */
@media (max-width: 768px) {

    /* Navigatie: desktop nav verbergen, hamburger tonen */
    .main-navigation {
        display: none;
    }

    .nav-toggle {
        display: flex; /* overschrijft de desktop 'display: none' hierboven */
    }

    .post-single .entry-header,
    .post-single .entry-content,
    .post-single .entry-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .post-single .entry-title {
        font-size: 1.6rem;
    }

    .content-area--grid {
        grid-template-columns: 1fr;
    }

    .content-area--grid .post-card.is-featured {
        grid-column: 1 / 1;
    }

    .post-navigation .nav-links,
    .posts-navigation .nav-links {
        flex-direction: column;
        gap: 1.25rem;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.25rem;
        gap: 2rem;
    }

    .footer-col--about {
        grid-column: 1 / 1;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .alignleft,
    .alignright {
        float: none;
        display: block;
        margin: 1rem auto;
    }

    .entry-content table {
        display: block;
        overflow-x: auto;
    }
}

/* Klein mobiel: 480px */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }

    .site-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .archive-header {
        padding: 1.25rem;
    }

    .post-card__thumbnail img {
        height: 180px;
    }
}


/* =========================================================
   20. Plugin overrides — bbPress Forum
   
   bbPress genereert zijn eigen lichte achtergronden.
   Dit blok overschrijft die met het RudyXplores dark theme.
========================================================= */

/* Hoofdwrapper — transparant zodat onze .post-card zichtbaar blijft */
#bbpress-forums,
.bbpress-wrapper,
#bbpress-forums div.bbp-the-content-wrapper,
#bbpress-forums fieldset.bbp-form {
    background: transparent;
    color: var(--rx-text);
    border-color: var(--rx-border-solid);
}

/* Forum-index: rijen (zebra-striping verwijderen) */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies {
    background: transparent;
    border: none;
}

#bbpress-forums ul.bbp-forums li.bbp-forum,
#bbpress-forums ul.bbp-topics li.bbp-topic,
#bbpress-forums ul.bbp-replies li.bbp-reply {
    background: var(--rx-surface) !important;
    border-bottom: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-text);
    transition: background var(--rx-transition);
}

#bbpress-forums ul.bbp-forums li.bbp-forum:hover,
#bbpress-forums ul.bbp-topics li.bbp-topic:hover {
    background: var(--rx-surface-2) !important;
}

/* Even rijen (zebra) */
#bbpress-forums ul.bbp-forums li.bbp-forum:nth-child(even),
#bbpress-forums ul.bbp-topics li.bbp-topic:nth-child(even),
#bbpress-forums ul.bbp-replies li.bbp-reply:nth-child(even) {
    background: var(--rx-surface-2) !important;
}

/* Header & footer rijen van de tabel */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
    background: var(--rx-surface-2) !important;
    border-color: var(--rx-border-solid) !important;
    color: var(--rx-muted) !important;
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Links in het forum */
#bbpress-forums a {
    color: var(--rx-accent);
    text-decoration: none;
}

#bbpress-forums a:hover {
    color: var(--rx-cyan);
    text-decoration: none;
}

/* Forum- en topic-titels */
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title,
#bbpress-forums .bbp-reply-title {
    color: var(--rx-text);
    font-family: var(--rx-font-heading);
    font-weight: 600;
}

/* Meta-info: aantallen, datum, auteur */
#bbpress-forums .bbp-forum-info,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-reply-meta,
#bbpress-forums .bbp-meta,
#bbpress-forums p.bbp-forum-info {
    color: var(--rx-muted);
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
}

/* Sub-forum links */
#bbpress-forums .bbp-forum-info a,
#bbpress-forums .bbp-topic-meta a {
    color: var(--rx-muted);
}

#bbpress-forums .bbp-forum-info a:hover {
    color: var(--rx-accent);
}

/* Breadcrumb */
#bbpress-forums .bbp-breadcrumb,
.bbp-breadcrumb {
    background: transparent;
    color: var(--rx-muted);
    font-size: 0.85rem;
    font-family: var(--rx-font-mono);
    padding: 0.5rem 0 1rem;
}

.bbp-breadcrumb a {
    color: var(--rx-accent);
}

/* Forum-zoekformulier (bovenin de forumpagina) */
#bbp-search-form,
.bbp-search-form {
    background: transparent;
}

#bbp-search-form #bbp_search,
#bbp-search-form input[type="text"],
#bbp-search-form input[type="search"] {
    background: var(--rx-bg) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-text) !important;
    border-radius: var(--rx-radius-sm);
    padding: 0.6rem 0.9rem;
    font: inherit;
}

#bbp-search-form #bbp_search:focus {
    border-color: var(--rx-accent) !important;
    box-shadow: 0 0 0 3px var(--rx-accent-glow);
    outline: none;
}

#bbp-search-form input[type="submit"] {
    background: var(--rx-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--rx-radius-sm);
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--rx-transition);
}

#bbp-search-form input[type="submit"]:hover {
    background: var(--rx-accent-hover) !important;
}

/* Reactie- en topic-formulieren */
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"],
#bbpress-forums input[type="password"],
#bbpress-forums textarea,
#bbpress-forums select,
#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
    background: var(--rx-surface-2) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-text) !important;
    border-radius: var(--rx-radius-sm);
    padding: 0.75rem 1rem;
    width: 100%;
    font: inherit;
}

#bbpress-forums input:focus,
#bbpress-forums textarea:focus,
#bbpress-forums select:focus {
    border-color: var(--rx-accent) !important;
    box-shadow: 0 0 0 3px var(--rx-accent-glow);
    outline: none !important;
}

#bbpress-forums input[type="submit"],
#bbpress-forums button[type="submit"],
.bbp-submit-wrapper input[type="submit"] {
    background: var(--rx-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--rx-radius-sm) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background var(--rx-transition), box-shadow var(--rx-transition);
}

#bbpress-forums input[type="submit"]:hover {
    background: var(--rx-accent-hover) !important;
    box-shadow: 0 0 16px var(--rx-accent-glow);
}

/* Labels in formulieren */
#bbpress-forums label {
    color: var(--rx-muted);
    font-family: var(--rx-font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Paginering */
.bbp-pagination .bbp-pagination-links a,
.bbp-pagination .bbp-pagination-links span {
    background: var(--rx-surface-2);
    border: 1px solid var(--rx-border-solid);
    color: var(--rx-muted);
    border-radius: 4px;
    padding: 0.3rem 0.7rem;
    display: inline-block;
}

.bbp-pagination .bbp-pagination-links .current {
    background: var(--rx-accent);
    color: #fff;
    border-color: var(--rx-accent);
}

/* Sticky/super-sticky badges */
.bbp-topic-status,
#bbpress-forums .super-sticky .bbp-topic-title::before,
#bbpress-forums .sticky .bbp-topic-title::before {
    color: var(--rx-accent);
    font-size: 0.75rem;
}

/* Geen topics/berichten melding */
#bbpress-forums .bbp-template-notice,
#bbpress-forums .bbp-template-notice.info {
    background: var(--rx-surface-2) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-muted) !important;
    border-radius: var(--rx-radius-sm);
    padding: 1rem;
}


/* =========================================================
   21. Plugin overrides — WP MicroStream
   Gebaseerd op wpms-frontend.css broncode (prefix: wpms-)
========================================================= */

/*
 * De plugin zet .wpms-compose.wpms-card en .wpms-feed.wpms-card
 * expliciet op background: #fff. Onderstaande regels overschrijven dat.
 */

/* Stream wrapper — reset margin/padding (onze .post-card doet dat al) */
.wpms-stream {
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--rx-text);
}

/* Compose-formulier kaart + Feed kaart */
.wpms-compose.wpms-card,
.wpms-feed.wpms-card {
    background: var(--rx-surface-2) !important;
    border: 1px solid var(--rx-border-solid) !important;
    border-radius: var(--rx-radius) !important;
    color: var(--rx-text) !important;
}

/* Titel + ondertitel van de stream */
.wpms-title {
    color: var(--rx-text) !important;
    font-family: var(--rx-font-heading);
}

.wpms-subtitle {
    color: var(--rx-muted) !important;
}

/* Labels (Bericht, Afbeelding) */
.wpms-label {
    color: var(--rx-muted) !important;
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Textarea — Wat denk je? */
.wpms-textarea {
    background: var(--rx-bg) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-text) !important;
    border-radius: var(--rx-radius-sm) !important;
    font: inherit !important;
}

.wpms-textarea:focus {
    border-color: var(--rx-accent) !important;
    box-shadow: 0 0 0 3px var(--rx-accent-glow) !important;
    outline: none !important;
}

.wpms-textarea::placeholder {
    color: var(--rx-faint) !important;
}

/* Karakterteller */
.wpms-charcount {
    color: var(--rx-muted) !important;
}

.wpms-charcount.is-near {
    color: var(--rx-amber) !important;
}

.wpms-charcount.is-over {
    color: #ef4444 !important;
}

/* Primaire knop: Plaatsen → accentkleur */
.wpms-btn--primary {
    background: var(--rx-accent) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.wpms-btn--primary:hover {
    background: var(--rx-accent-hover) !important;
}

.wpms-btn--primary:disabled {
    opacity: 0.45 !important;
}

/* Ghost knoppen: Vernieuwen, Meer laden */
.wpms-btn--ghost {
    background: var(--rx-surface) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-muted) !important;
}

.wpms-btn--ghost:hover {
    background: var(--rx-surface-2) !important;
    color: var(--rx-text) !important;
}

/* Upload knop (Afbeelding kiezen) */
.wpms-upload-btn {
    background: var(--rx-surface) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-muted) !important;
    border-radius: var(--rx-radius-sm) !important;
}

.wpms-upload-btn:hover {
    background: var(--rx-surface-2) !important;
    color: var(--rx-text) !important;
}

.wpms-upload-filename {
    color: var(--rx-muted) !important;
    font-size: 0.82rem;
}

/* Emoji-toggle knop (😊) */
.wpms-emoji-toggle {
    background: var(--rx-surface) !important;
    border: 1px solid var(--rx-border-solid) !important;
}

.wpms-emoji-toggle:hover {
    background: var(--rx-surface-2) !important;
}

/* Emoji-picker paneel */
.wpms-emoji-panel {
    background: var(--rx-surface-2) !important;
    border: 1px solid var(--rx-border-solid) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

.wpms-emoji:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Status bericht (verzenden, fout) */
.wpms-status {
    color: var(--rx-muted) !important;
    font-size: 0.85rem;
}

/* Image preview na selecteren */
.wpms-image-preview {
    background: var(--rx-surface) !important;
    border: 1px solid var(--rx-border-solid) !important;
    border-radius: var(--rx-radius-sm) !important;
}

.wpms-image-preview-meta {
    color: var(--rx-muted) !important;
    font-size: 0.82rem;
}

.wpms-image-preview-remove {
    color: var(--rx-muted) !important;
}

.wpms-image-preview-remove:hover {
    color: #ef4444 !important;
    opacity: 1 !important;
}

/* ─── Feed items (individuele posts) ─── */

/* De plugin overschrijft border-top per item met een nieuwe kaart-stijl */
.wpms-feed-items .wpms-item {
    background: var(--rx-surface) !important;
    border: 1px solid var(--rx-border-solid) !important;
    border-radius: var(--rx-radius-sm) !important;
    color: var(--rx-text) !important;
}

/* Item header-lijn */
.wpms-item {
    border-top-color: var(--rx-border-solid) !important;
}

.wpms-item-author {
    color: var(--rx-text) !important;
    font-weight: 600;
}

.wpms-item-time {
    color: var(--rx-muted) !important;
    font-family: var(--rx-font-mono);
    font-size: 0.78rem;
}

.wpms-item-time:hover {
    color: var(--rx-accent) !important;
}

.wpms-item-text {
    color: var(--rx-text) !important;
    line-height: 1.65;
}

/* Bewerken / Verwijderen knoppen */
.wpms-item-action {
    color: var(--rx-muted) !important;
    font-family: var(--rx-font-mono);
    font-size: 0.75rem !important;
    border-radius: 6px !important;
}

.wpms-item-action:hover {
    color: var(--rx-text) !important;
    background: var(--rx-surface-2) !important;
    text-decoration: none !important;
}

.wpms-item-action.wpms-danger:hover {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

/* Inline edit textarea + knoppen */
.wpms-textarea--edit {
    background: var(--rx-bg) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-text) !important;
}

.wpms-edit-actions .wpms-btn {
    background: var(--rx-surface) !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-muted) !important;
}

.wpms-edit-actions .wpms-btn:hover {
    color: var(--rx-text) !important;
}

/* Afbeelding in feed-item */
.wpms-item-img {
    border: 1px solid var(--rx-border-solid) !important;
    border-radius: var(--rx-radius-sm) !important;
}

/* Link preview kaart (in feed) */
.wpms-link-preview__card {
    background: var(--rx-surface-2) !important;
    border: 1px solid var(--rx-border-solid) !important;
    border-radius: var(--rx-radius-sm) !important;
    color: var(--rx-text) !important;
    text-decoration: none;
}

.wpms-link-preview__img-placeholder {
    background: var(--rx-surface) !important;
}

.wpms-link-preview__title {
    color: var(--rx-text) !important;
}

.wpms-link-preview__desc {
    color: var(--rx-muted) !important;
}

.wpms-link-preview__url {
    color: var(--rx-faint) !important;
    font-family: var(--rx-font-mono);
    font-size: 0.75rem;
}

/* Reactie knoppen (👍 ❤️ 😂 etc.) */
.wpms-react-btn {
    background: transparent !important;
    border: 1px solid var(--rx-border-solid) !important;
    color: var(--rx-muted) !important;
    border-radius: 999px !important;
    transition: border-color var(--rx-transition), color var(--rx-transition), background var(--rx-transition);
}

.wpms-react-btn:hover {
    border-color: var(--rx-accent) !important;
    color: var(--rx-text) !important;
}

.wpms-react-btn.is-active {
    border-color: var(--rx-accent) !important;
    background: var(--rx-accent-glow) !important;
    color: var(--rx-text) !important;
    font-weight: 600;
}

.wpms-react-count {
    color: inherit !important;
}

/* Loading / leeg / fout berichten in de feed */
.wpms-loading,
.wpms-empty,
.wpms-error {
    color: var(--rx-muted) !important;
    font-family: var(--rx-font-mono);
    font-size: 0.88rem;
}

/* Login-vereist melding */
.wpms-login-required {
    color: var(--rx-muted) !important;
    font-size: 0.95rem;
}
