/*
Theme Name: GeneratePress Child - RNT
Theme URI: https://f1head.nl
Description: Custom child theme voor F1Head.nl met Modern Carbon Fiber design
Author: Niek
Template: generatepress
Version: 1.0.0
*/

/* ============================================
   RNT MODERN CARBON FIBER THEME
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&family=Rajdhani:wght@700;900&display=swap');

/* ============================================
   CSS VARIABELEN
   ============================================ */
:root {
    /* Kleuren */
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --accent-red: #FF1E00;
    --accent-blue: #00D9FF;
    --text-primary: #FAFAFA;
    --text-secondary: #9E9E9E;
    
    /* Typography */
    --font-headings: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-tiny: 4px;
}

/* ============================================
   RNT CUSTOM HEADER
   ============================================ */
.rnt-header {
    background: var(--bg-secondary);
    border-bottom: 3px solid var(--accent-red);
    position: sticky;
    top: 0;
    z-index: 100;
}

.rnt-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* RNT Logo */
.rnt-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.rnt-logo .custom-logo {
    max-height: 40px;
    width: auto;
    height: auto;
}

.rnt-logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5em;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
    text-decoration: none;
    display: flex;
    gap: 2px;
}

.logo-r {
    background: linear-gradient(135deg, #FF1E00 0%, #CC1800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 30, 0, 0.5));
}

.logo-n {
    background: linear-gradient(135deg, #E8E8E8 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-t {
    background: linear-gradient(135deg, #FFFFFF 0%, #C0C0C0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.rnt-nav-desktop .rnt-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.rnt-nav-desktop .rnt-menu li {
    margin: 0;
    padding: 0;
}

.rnt-nav-desktop .rnt-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: color 0.3s ease;
}

.rnt-nav-desktop .rnt-menu a:hover {
    color: var(--accent-red);
}

/* Mobile Menu Toggle */
.rnt-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--text-primary);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rnt-menu-toggle:hover {
    background: var(--accent-red);
}

.rnt-menu-toggle svg {
    display: block;
}

/* ============================================
   DRAWER MENU (Mobile)
   ============================================ */
.rnt-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.rnt-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.rnt-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.rnt-drawer.open {
    right: 0;
}

.rnt-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--accent-red);
}

.rnt-drawer-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5em;
    font-weight: 900;
    letter-spacing: 4px;
    display: flex;
    gap: 2px;
    align-items: center;
}

/* Drawer logo image styling */
.rnt-drawer-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.rnt-drawer-logo .custom-logo {
    max-height: 40px;
    width: auto;
    height: auto;
}

/* Text fallback logo styling */
.rnt-drawer-logo .rnt-logo-text {
    display: flex;
    gap: 2px;
    text-decoration: none;
}

.rnt-drawer-logo .logo-r {
    background: linear-gradient(135deg, #FF1E00 0%, #CC1800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rnt-drawer-logo .logo-n {
    background: linear-gradient(135deg, #E8E8E8 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rnt-drawer-logo .logo-t {
    background: linear-gradient(135deg, #FFFFFF 0%, #C0C0C0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rnt-drawer-close {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    padding: 0 !important;
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.rnt-drawer-close svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rnt-drawer-close:hover {
    color: var(--accent-red) !important;
    background: transparent !important;
}

.rnt-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.rnt-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rnt-drawer-menu li {
    margin: 0;
    border-bottom: 1px solid #2a2a2a;
}

.rnt-drawer-menu a {
    display: block;
    padding: 15px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.rnt-drawer-menu a:hover {
    color: var(--accent-red);
}

/* Hide old GeneratePress header elements when using custom header */
.site-header:not(.rnt-header),
#masthead:not(.rnt-header) {
    display: none !important;
}

/* ============================================
   ALGEMENE STYLING
   ============================================ */
body {
    font-family: var(--font-body) !important;
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Alle tekst */
body, p, span, div, li, td, th {
    color: var(--text-primary);
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.entry-title,
.widget-title {
    font-family: var(--font-headings) !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em;
}

/* Article titles - zoals .article-title in ontwerp */
.entry-title,
h2.entry-title,
.entry-title a {
    font-size: 1.4em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    margin-bottom: 10px !important;
}

.entry-title a:hover {
    color: var(--accent-red) !important;
}

/* Grotere titel voor single posts/pages (hero style) */
.single .entry-title,
.page .entry-title {
    font-size: 2em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
}

/* Links */
a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-red);
}

/* ============================================
   MAIN LAYOUT CONTAINERS - FIX OVERLAPPING
   ============================================ */
/* Site container achtergrond */
.site,
#page {
    background: var(--bg-primary) !important;
}

/* Main content container - centered with max-width */
.site-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 30px !important;
    background: transparent !important;
}

/* Grid container fix */
.site-content .content-area,
.site-content .widget-area,
#primary,
#secondary {
    background: transparent !important;
}

/* Content area transparent */
.content-area {
    background: transparent !important;
}

/* Container spacing */
.inside-page-header,
.page-header {
    background: var(--bg-secondary) !important;
    padding: 30px !important;
    border-radius: var(--border-radius) !important;
    margin-bottom: 30px !important;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
/* Header container */
.site-header {
    background: var(--bg-secondary) !important;
    border-bottom: 3px solid var(--accent-red) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

/* Inner header content */
.inside-header {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 20px 30px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Navigation bar */
.main-navigation,
.main-navigation .main-nav {
    background: transparent !important;
    border: none !important;
}

/* Navigation menu */
.main-navigation .main-nav ul {
    display: flex !important;
    list-style: none !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Navigation links */
.main-navigation a,
.main-navigation .main-nav a,
.menu-toggle {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1em !important;
    transition: color 0.3s ease !important;
    padding: 0 !important;
    background: transparent !important;
}

.main-navigation a:hover,
.main-navigation .main-nav a:hover,
.main-navigation .current-menu-item > a {
    color: var(--accent-red) !important;
}

/* Dropdown menu */
.main-navigation .main-nav ul ul {
    background: var(--bg-secondary) !important;
    border-radius: 8px !important;
    padding: 10px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.main-navigation .main-nav ul ul li {
    padding: 0 !important;
}

.main-navigation .main-nav ul ul a {
    padding: 10px 20px !important;
    display: block !important;
}

/* Site branding / Logo */
.site-branding,
.site-title {
    margin: 0 !important;
}

.site-title a {
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 2.5em !important;
    font-weight: 900 !important;
    letter-spacing: 8px !important;
    line-height: 1 !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.site-title a:hover {
    color: var(--text-primary) !important;
}

/* ============================================
   CONTENT CONTAINERS
   ============================================ */

/* Reset site-content achtergrond naar transparant zodat bg-primary zichtbaar is */
.site-content {
    background: transparent !important;
}

/* Main content area - artikel krijgt padding voor tekst */
.inside-article {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 25px !important;
    overflow: hidden !important;
}

/* Article wrapper zelf transparant houden */
article,
.site-main > article {
    background: transparent !important;
}

/* Blog posts - duidelijke scheiding */
.site-main > article,
.blog .site-main > article,
.archive .site-main > article {
    background: transparent !important;
    margin-bottom: 30px !important;
}

.site-main > article .inside-article,
.blog .site-main > article .inside-article,
.archive .site-main > article .inside-article {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 25px !important;
    overflow: hidden !important;
}

/* Entry content */
.entry-content {
    color: var(--text-primary) !important;
}

/* Entry summary / Excerpt on homepage */
.entry-summary,
.entry-summary p {
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    font-size: 0.95em;
    margin-bottom: 15px;
}

/* Entry meta (datum, auteur, etc) */
.entry-meta,
.entry-meta a,
.entry-meta span,
.posted-on,
.byline,
.cat-links,
.tags-links {
    color: var(--text-secondary) !important;
    font-size: 0.95em !important;
}

.entry-meta a:hover {
    color: var(--accent-red) !important;
}

/* Entry content links - zelfde kleur als tekst met underline */
.entry-content a {
    color: inherit;
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--accent-red);
}

/* ============================================
   SIDEBAR & WIDGETS
   ============================================ */
.sidebar,
.widget-area {
    color: var(--text-primary);
    background: transparent !important;
}

/* Widget styling zoals .sidebar-card in ontwerp */
.sidebar .widget,
.widget-area .widget {
    background: var(--bg-secondary) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border: none !important;
}

/* Widget title zoals .sidebar-title in ontwerp - rode underline */
/* Alle mogelijke widget title selectors */
.widget-title,
.widget .widget-title,
.sidebar .widget-title,
.widget-area .widget-title,
h2.widget-title,
h3.widget-title,
.widget h2,
.widget h3,
.widget_block h2,
.widget_block h3,
.sidebar .widget h2,
.sidebar .widget h3,
.widget-area .widget h2,
.widget-area .widget h3,
aside.widget h2,
aside.widget h3 {
    color: var(--text-primary) !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--accent-red) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    letter-spacing: 0 !important;
    background: transparent !important;
}

.widget ul li {
    border-bottom: 1px solid #2a2a2a !important;
    padding: 10px 0 !important;
}

.widget ul li:last-child {
    border-bottom: none !important;
}

.widget a {
    color: var(--text-primary) !important;
}

.widget a:hover {
    color: var(--accent-red) !important;
}

/* ============================================
   BUTTONS & FORMS
   ============================================ */
.button,
.wp-block-button__link,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.generate-button {
    background: var(--accent-red) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: var(--border-radius-tiny) !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
    background: #CC1800 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 30, 0, 0.4) !important;
}

/* Read More Link - subtiele link onder excerpt */
.read-more,
a.read-more,
.entry-content .read-more,
.more-link {
    display: inline-block !important;
    background: transparent !important;
    color: var(--accent-red) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9em !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
    border: none !important;
    position: relative !important;
}

.read-more::after,
a.read-more::after,
.more-link::after {
    content: ' →' !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.read-more:hover,
a.read-more:hover,
.more-link:hover {
    background: transparent !important;
    color: var(--accent-blue) !important;
    transform: none !important;
    box-shadow: none !important;
}

.read-more:hover::after,
a.read-more:hover::after,
.more-link:hover::after {
    transform: translateX(5px) !important;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    background: var(--bg-primary) !important;
    border: 2px solid #2a2a2a !important;
    color: var(--text-primary) !important;
    border-radius: var(--border-radius-tiny) !important;
    padding: 12px 15px !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-red) !important;
    outline: none !important;
}

/* Placeholder text */
::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.7;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area,
#comments {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 30px !important;
    margin-top: 30px !important;
}

.comment-list .comment,
.comment-list li {
    background: var(--bg-primary) !important;
    border-radius: var(--border-radius-small) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border: none !important;
}

.comment-author,
.comment-metadata,
.comment-metadata a {
    color: var(--text-primary) !important;
}

.comment-reply-link {
    background: var(--accent-red) !important;
    color: #fff !important;
    padding: 8px 15px !important;
    border-radius: var(--border-radius-tiny) !important;
    text-decoration: none !important;
}

.comment-content p {
    color: var(--text-primary) !important;
}

/* ============================================
   FOOTER
   ============================================ */
/* Hide default GeneratePress footer completely */
footer.site-footer,
.site-footer.site-info,
footer.site-info,
.footer-widgets-container,
#footer-widgets {
    display: none !important;
}

.copyright-bar .copyright {
    color: var(--text-secondary) !important;
}

.site-info a,
.copyright-bar a {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.site-info a:hover,
.copyright-bar a:hover {
    color: var(--accent-red) !important;
}

/* Hide default GeneratePress footer when custom footer is active */
.rnt-footer ~ .site-footer,
.has-custom-footer .site-footer {
    display: none !important;
}

/* ============================================
   CUSTOM FOOTER
   ============================================ */
.rnt-footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #111111 100%);
    border-top: 3px solid var(--accent-red);
    margin-top: 60px;
}

.rnt-footer-main {
    padding: 60px 0 40px;
}

.rnt-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

/* Brand Column */
.rnt-footer-brand {
    padding-right: 30px;
}

.rnt-footer-logo {
    margin-bottom: 20px;
}

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

.rnt-footer-site-name {
    font-size: 1.8em;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.rnt-footer-site-name:hover {
    color: var(--accent-red);
}

.rnt-footer-tagline {
    color: #888;
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

/* Social Links */
.rnt-footer-social {
    display: flex;
    gap: 12px;
}

.rnt-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.rnt-social-link:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    transform: translateY(-3px);
}

.rnt-social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Columns */
.rnt-footer-column {
    min-width: 0;
}

.rnt-footer-heading {
    color: #fff;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(225, 6, 0, 0.3);
}

.rnt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rnt-footer-links li {
    margin-bottom: 12px;
}

.rnt-footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.2s ease;
    display: inline-block;
}

.rnt-footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Copyright Bar */
.rnt-footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rnt-footer-bottom .rnt-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.rnt-copyright {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

.rnt-footer-credit {
    color: #555;
    font-size: 0.85em;
    margin: 0;
}

.rnt-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.rnt-footer-social-link:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .rnt-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .rnt-footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .rnt-footer-main {
        padding: 40px 0 30px;
    }
    
    .rnt-footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 20px;
    }
    
    .rnt-footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    
    .rnt-footer-social {
        justify-content: center;
    }
    
    .rnt-footer-column {
        text-align: center;
    }
    
    .rnt-footer-links a:hover {
        transform: none;
    }
    
    .rnt-footer-bottom .rnt-footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.nav-links,
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links span,
.page-numbers {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    padding: 10px 18px !important;
    border-radius: var(--border-radius-tiny) !important;
    border: 2px solid transparent !important;
    text-decoration: none !important;
}

.nav-links a:hover,
.page-numbers:hover {
    border-color: var(--accent-red) !important;
    background: var(--bg-primary) !important;
}

.nav-links .current,
.page-numbers.current {
    background: var(--accent-red) !important;
    color: #fff !important;
}

/* ============================================
   FEATURED IMAGES
   ============================================ */
.post-image,
.featured-image,
.page-header-image-single img {
    overflow: hidden;
}

/* Post image container */
.post-image {
    margin-bottom: 25px !important;
}

/* Featured image edge-to-edge in articles */
.inside-article .post-image {
    margin-left: -25px !important;
    margin-right: -25px !important;
    margin-top: -25px !important;
    margin-bottom: 25px !important;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

/* Featured image sizing */
.post-image img,
.featured-image img,
article .post-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Featured image voor single posts - groter op desktop */
.single .post-image img,
.single .featured-image img {
    height: 450px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* ============================================
   CATEGORIES & TAGS
   ============================================ */

/* Category badges - blijven rood en opvallend */
.cat-links a,
.term-badge {
    background: var(--accent-red) !important;
    color: #fff !important;
    padding: 4px 12px !important;
    border-radius: var(--border-radius-tiny) !important;
    font-size: 0.75em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-right: 5px !important;
    margin-bottom: 5px !important;
    transition: all 0.2s ease !important;
}

.cat-links a:hover {
    background: #CC1800 !important;
}

/* Tags container op single posts */
.tags-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 30px !important;
    padding-top: 25px !important;
    border-top: 1px solid #2a2a2a !important;
}

/* Hide tag icon and screen reader text */
.tags-links .gp-icon,
.tags-links .screen-reader-text {
    display: none !important;
}

/* Hide commas between tags */
.tags-links {
    font-size: 0 !important;
}

/* Tags - subtielere pill-style */
.tags-links a {
    background: transparent !important;
    color: var(--text-secondary) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    border: 1px solid #3a3a3a !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}

.tags-links a:hover {
    background: var(--accent-red) !important;
    color: #fff !important;
    border-color: var(--accent-red) !important;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs,
.rank-math-breadcrumb,
.breadcrumb {
    background: var(--bg-secondary) !important;
    padding: 15px 20px !important;
    border-radius: var(--border-radius-small) !important;
    margin-bottom: 25px !important;
}

.breadcrumbs a,
.rank-math-breadcrumb a {
    color: var(--text-secondary) !important;
}

.breadcrumbs a:hover,
.rank-math-breadcrumb a:hover {
    color: var(--accent-red) !important;
}

/* ============================================
   SEARCH FORM
   ============================================ */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
}

.search-form button {
    background: var(--accent-red) !important;
}

/* ============================================
   BLOCKQUOTES
   ============================================ */
blockquote {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%) !important;
    border: none !important;
    border-left: none !important;
    padding: 35px 40px 35px 50px !important;
    margin: 40px 0 !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-style: italic;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent-red) 0%, #CC1800 100%);
    box-shadow: 0 0 15px rgba(255, 30, 0, 0.4);
}

blockquote::after {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-family: Georgia, serif;
    font-size: 5em;
    font-style: normal;
    color: var(--accent-red);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

blockquote p {
    color: var(--text-primary) !important;
    position: relative;
    z-index: 1;
}

blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-secondary) !important;
    margin-top: 15px;
}

/* ============================================
   TABLES
   ============================================ */
table {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius-small) !important;
    overflow: hidden;
    width: 100%;
}

table th {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    padding: 12px !important;
    text-align: left;
}

table td {
    padding: 12px !important;
    border-bottom: 1px solid #2a2a2a !important;
    color: var(--text-primary) !important;
}

table tr:last-child td {
    border-bottom: none !important;
}

table tr:hover {
    background: var(--bg-primary) !important;
}

/* ============================================
   CODE BLOCKS
   ============================================ */
code,
pre {
    background: var(--bg-primary) !important;
    color: var(--accent-blue) !important;
    padding: 3px 6px !important;
    border-radius: 3px !important;
    font-family: 'Courier New', monospace;
}

pre {
    padding: 20px !important;
    border-radius: var(--border-radius-small) !important;
    overflow-x: auto;
    border: 1px solid #2a2a2a !important;
}

pre code {
    padding: 0 !important;
    background: transparent !important;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
    /* Site content full width on mobile */
    .site-content {
        padding: 15px !important;
        max-width: 100% !important;
    }
    
    /* Content area full width */
    .content-area,
    #primary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* RNT Custom Header Mobile */
    .rnt-header-content {
        padding: 15px 20px;
    }
    
    .rnt-logo-text {
        font-size: 1.5em;
        letter-spacing: 4px;
    }
    
    /* Hide desktop nav, show mobile toggle */
    .rnt-nav-desktop {
        display: none;
    }
    
    .rnt-menu-toggle {
        display: block;
    }
    
    /* Article padding mobile - smaller */
    .inside-article {
        padding: 15px !important;
        border-radius: 8px !important;
    }
    
    /* Featured image edge-to-edge mobile */
    .inside-article .post-image {
        margin: -15px -15px 15px -15px !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    /* Featured image height on mobile */
    .post-image img,
    .featured-image img,
    article .post-image img {
        height: auto !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
    
    .single .post-image img,
    .single .featured-image img {
        height: auto !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
    
    /* Sidebar widgets mobile */
    .sidebar .widget {
        padding: 15px !important;
    }
    
    /* Pagination mobile */
    .nav-links,
    .pagination {
        justify-content: center;
    }
    
    /* Footer mobile */
    .inside-site-info {
        padding: 0 20px !important;
    }
    
    /* Entry title mobile */
    .entry-title,
    h2.entry-title,
    .entry-title a {
        font-size: 1.2em !important;
    }
    
    .single .entry-title,
    .page .entry-title {
        font-size: 1.6em !important;
    }
}

/* ============================================
   GENERATEPRESS SPECIFIC FIXES
   ============================================ */

/* Separate containers layout - belangrijkste fix voor overlapping */
.separate-containers .inside-article {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    margin-bottom: 0 !important;
}

.separate-containers .site-main > article {
    background: transparent !important;
    margin-bottom: 30px !important;
}

.separate-containers .site-main {
    background: transparent !important;
}

/* Widget area in separate containers */
.separate-containers .widget {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius-small) !important;
    margin-bottom: 25px !important;
}

/* One container layout */
.one-container .site-content {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 30px !important;
}

.one-container .inside-article {
    background: transparent !important;
    padding: 0 !important;
}

/* Remove default borders en schaduwen */
.separate-containers .inside-article,
.separate-containers .widget,
.one-container .site-content {
    border: none !important;
    box-shadow: none !important;
}

/* GeneratePress blocks */
.gb-container {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
}

/* Scroll to top button */
.generate-back-to-top {
    background: var(--accent-red) !important;
    color: #fff !important;
    border-radius: 50% !important;
}

.generate-back-to-top:hover {
    background: #CC1800 !important;
}

/* GeneratePress default padding/margin overrides */
.inside-article,
.sidebar .widget {
    box-shadow: none !important;
}

/* Archive/blog grid fixes */
.generate-columns-container article {
    background: transparent !important;
}

.generate-columns-container article .inside-article {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    height: 100%;
}

/* Fix voor grid container spacing */
.generate-columns-container {
    background: transparent !important;
}

/* Post navigation fix */
.post-navigation,
.posts-navigation,
.paging-navigation {
    background: transparent !important;
    margin-top: 30px !important;
}

/* Comments sectie duidelijk scheiden */
.comments-area {
    margin-top: 30px !important;
}

/* ============================================
   WORDPRESS GUTENBERG BLOCKS
   ============================================ */

/* WordPress core blocks */
.wp-block-quote {
    background: var(--bg-primary) !important;
    border-left: 4px solid var(--accent-red) !important;
}

.wp-block-pullquote {
    border-top: 4px solid var(--accent-red) !important;
    border-bottom: 4px solid var(--accent-red) !important;
    color: var(--text-primary) !important;
}

.wp-block-separator {
    border-color: var(--accent-red) !important;
}

.wp-block-cover {
    color: var(--text-primary) !important;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Kleur utility classes voor custom gebruik */
.bg-primary { background: var(--bg-primary) !important; }
.bg-secondary { background: var(--bg-secondary) !important; }
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.accent-red { color: var(--accent-red) !important; }
.accent-blue { color: var(--accent-blue) !important; }

/* ============================================
   EXTRA FIXES VOOR CONTENT SCHEIDING
   ============================================ */

/* Zorg dat container grid wrapper transparant is */
.grid-container,
.site-container {
    background: transparent !important;
}

/* Fix voor full-width pages */
.full-width-content .inside-article {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 30px !important;
}

/* Zorg voor ruimte tussen sidebar en content */
#secondary {
    padding-left: 0 !important;
}

/* Featured image in article */
.post-image img,
.featured-image img {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

/* Article cards hover effect zoals in het ontwerp */
.site-main > article:hover .inside-article {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.inside-article {
    transition: all 0.3s ease;
}

/* Zorg dat related posts ook gescheiden zijn */
.related-posts article,
.jp-related-posts-i2 {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

/* Author box scheiding */
.author-info,
.author-box {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 25px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

/* Zorg dat body background altijd zichtbaar is */
html {
    background: var(--bg-primary) !important;
}

/* Fix voor eventuele wrapper divs */
.wrapper,
.main-content,
#content {
    background: transparent !important;
}

/* Specifieke fix voor GeneratePress container */
.site-content > .content-area {
    background: transparent !important;
}

/* Zorg voor consistente spacing in grids */
.generate-columns {
    gap: 30px !important;
}

/* Single post page fixes */
.single .inside-article {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 30px !important;
}

/* Page fixes */
.page .inside-article {
    background: var(--bg-secondary) !important;
    border-radius: var(--border-radius) !important;
    padding: 30px !important;
}

/* ============================================
   POPULAR POSTS WIDGET (WPP)
   ============================================ */
.popular-posts,
.wpp-ajax {
    padding: 0;
}

.popular-posts h2,
.wpp-ajax h2 {
    font-size: 1em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-posts h2::before,
.wpp-ajax h2::before {
    content: "🔥 ";
}

/* Reset default list styling */
.wpp-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Each popular post item */
.wpp-list li {
    padding: 15px 0 !important;
    border-bottom: 1px solid #2a2a2a !important;
    margin: 0 !important;
    list-style: none !important;
}

.wpp-list li:last-child {
    border-bottom: none !important;
}

/* Post title link */
.wpp-list .wpp-post-title {
    display: block;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95em;
    line-height: 1.4;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.wpp-list .wpp-post-title:hover {
    color: var(--accent-red);
}

/* Meta info (category, views, etc) */
.wpp-list .wpp-meta,
.wpp-list .post-stats {
    display: block;
    font-size: 0.8em;
    color: var(--text-secondary);
}

.wpp-list .wpp-meta a,
.wpp-list .wpp-taxonomy {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.wpp-list .wpp-meta a:hover {
    color: var(--accent-red);
}

/* Category label */
.wpp-list .wpp-category {
    color: var(--text-secondary);
}

/* If there are thumbnails */
.wpp-list li.wpp-thumbnail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.wpp-list .wpp-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-tiny);
    flex-shrink: 0;
}

.wpp-list .wpp-thumbnail .wpp-item-data {
    flex: 1;
}

/* ============================================
   AUTHOR NAME STYLING
   ============================================ */
.author-name {
    font-size: 1em;
    font-weight: 600;
}

/* ============================================
   SINGLE POST TEMPLATE STYLES
   ============================================ */

/* Single wrapper - past binnen site-content */
.rnt-single-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Zorgen dat site-content op single posts en page templates goed werkt */
.single .site-content,
.page-template .site-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 30px !important;
    width: 100%;
    box-sizing: border-box;
}

/* Breadcrumbs */
.rnt-breadcrumbs {
    background: var(--bg-secondary);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.rnt-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.rnt-breadcrumbs a:hover {
    color: var(--accent-red);
}

.rnt-breadcrumbs .separator,
.rnt-breadcrumbs span.separator {
    color: var(--text-secondary);
    margin: 0 8px;
}

/* Rank Math Breadcrumbs */
.rnt-breadcrumbs p {
    margin: 0;
}

.rnt-breadcrumbs .rank-math-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.rnt-breadcrumbs .rank-math-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.rnt-breadcrumbs .rank-math-breadcrumb a:hover {
    color: var(--accent-red);
}

.rnt-breadcrumbs .rank-math-breadcrumb .separator {
    color: var(--text-secondary);
    margin: 0 8px;
}

/* Blog Layout */
.rnt-blog-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Main Content */
.rnt-main-content {
    min-width: 0;
}

/* Sidebar */
.rnt-sidebar {
    width: 100%;
    min-width: 0;
}

/* Reset GeneratePress sidebar inner padding - only for single post layout */
.rnt-sidebar .inside-right-sidebar,
.rnt-sidebar .sidebar,
.rnt-sidebar #right-sidebar,
.rnt-blog-layout .inside-right-sidebar,
.rnt-blog-layout #right-sidebar {
    padding: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* First widget should have no top margin - only for single post layout */
.rnt-sidebar .widget:first-child,
.rnt-sidebar .inside-right-sidebar .widget:first-child,
.rnt-blog-layout .inside-right-sidebar .widget:first-child,
.rnt-blog-layout #right-sidebar .widget:first-child {
    margin-top: 0 !important;
}

.rnt-sidebar .widget,
.rnt-sidebar .sidebar-card,
.rnt-sidebar > div {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.rnt-sidebar .widget-title,
.rnt-sidebar h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-red);
    color: var(--text-primary);
}

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

.rnt-sidebar li {
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
}

.rnt-sidebar li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rnt-sidebar a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rnt-sidebar a:hover {
    color: var(--accent-red);
}

/* Article Container */
.rnt-article-container,
article.rnt-article-container,
.rnt-main-content article {
    background: var(--bg-secondary) !important;
    border-radius: 12px;
    overflow: hidden;
}

/* Article Header */
.rnt-article-header {
    padding: 40px 40px 30px 40px;
}

.rnt-article-category {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.rnt-article-category:hover {
    background: #CC1800;
    color: white;
}

.rnt-article-title {
    font-size: 2.5em;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.rnt-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9em;
    padding-bottom: 20px;
    border-bottom: 2px solid #2a2a2a;
}

.rnt-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rnt-meta-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Featured Image */
.rnt-article-featured-image {
    width: 100%;
    margin: 0;
    position: relative;
}

.rnt-article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Featured Image Caption (Copyright) */
.rnt-featured-image-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    font-style: normal;
    border-radius: 4px 0 0 0;
    transition: all 0.2s ease;
}

.rnt-featured-image-caption:hover {
    background: rgba(0, 0, 0, 0.9);
    color: rgba(255, 255, 255, 0.95);
}

.rnt-caption-icon {
    font-size: 0.9em;
    opacity: 0.7;
}

.rnt-caption-text {
    letter-spacing: 0.3px;
}

/* Article Content */
.rnt-article-content {
    padding: 40px;
}

/* Lead Paragraph - Intro van het artikel */
.rnt-article-content > p:first-of-type {
    font-size: 1.2em;
    line-height: 1.75;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 30px;
}

.rnt-article-content h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.rnt-article-content h3 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.rnt-article-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.rnt-article-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.rnt-article-content a {
    color: inherit;
    text-decoration: underline;
}

.rnt-article-content a:hover {
    color: var(--accent-red);
}

.rnt-article-content ul,
.rnt-article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
    color: var(--text-secondary);
}

.rnt-article-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.rnt-article-content blockquote {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: none;
    border-left: none;
    padding: 35px 40px 35px 50px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.15em;
    line-height: 1.7;
    color: var(--text-primary);
    border-radius: 8px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Rode accent lijn links */
.rnt-article-content blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent-red) 0%, #CC1800 100%);
    box-shadow: 0 0 15px rgba(255, 30, 0, 0.4);
}

/* Quote icoon */
.rnt-article-content blockquote::after {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-family: Georgia, serif;
    font-size: 5em;
    font-style: normal;
    color: var(--accent-red);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.rnt-article-content blockquote p {
    color: var(--text-primary);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Styling voor de naam/bron van de quote */
.rnt-article-content blockquote p:last-child {
    font-style: normal;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-top: 15px;
}

.rnt-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.rnt-article-content figure {
    margin: 30px 0;
}

.rnt-article-content figcaption {
    font-size: 0.9em;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 10px;
}

/* Article Footer */
.rnt-article-footer {
    padding: 30px 40px 40px 40px;
    border-top: 2px solid #2a2a2a;
}

.rnt-article-tags {
    margin-bottom: 25px;
}

.rnt-tags-label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-right: 10px;
}

.rnt-tag {
    display: inline-block;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.85em;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s;
}

.rnt-tag:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.rnt-article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rnt-share-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.rnt-share-buttons {
    display: flex;
    gap: 10px;
}

.rnt-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #2a2a2a;
    cursor: pointer;
    font-size: 1em;
}

.rnt-share-btn:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

/* Author Box */
.rnt-author-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    display: flex;
    gap: 25px;
}

.rnt-author-avatar {
    flex-shrink: 0;
}

.rnt-author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.rnt-author-info h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.rnt-author-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.rnt-author-link a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.rnt-author-link a:hover {
    color: var(--accent-red);
}

/* Related Posts */
.rnt-related-posts {
    margin-top: 40px;
}

.rnt-related-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.rnt-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.rnt-related-card {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.rnt-related-card:hover {
    transform: translateY(-5px);
}

.rnt-related-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    overflow: hidden;
}

.rnt-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rnt-related-content {
    padding: 20px;
}

.rnt-related-category {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.rnt-related-card-title {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.rnt-related-meta {
    color: var(--text-secondary);
    font-size: 0.85em;
}

/* Comments Section */
.rnt-comments-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
}

.rnt-comments-section .comments-area,
.rnt-comments-section #comments {
    background: transparent;
    padding: 0;
    margin-top: 0;
    border-radius: 0;
}

/* Comments title */
.rnt-comments-section .comments-title,
.rnt-comments-section h2.comments-title,
.rnt-comments-section #comments-title,
.rnt-comments-section > h2,
.rnt-comments-section .comments-area > h2,
.rnt-comments-section .rnt-comments-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 0;
    color: var(--text-primary);
    display: block !important;
}

/* Reply title - this is the main title when no comments exist */
.rnt-comments-section h3#reply-title,
.rnt-comments-section .comment-reply-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--text-primary);
}

.rnt-comments-section .comment-reply-title small {
    font-size: 0.5em;
    font-weight: 400;
}

.rnt-comments-section .comment-reply-title small a {
    color: var(--accent-blue);
    text-decoration: none;
}

.rnt-comments-section .comment-reply-title small a:hover {
    color: var(--accent-red);
}

/* Comment list */
.rnt-comments-section .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rnt-comments-section .comment-list .comment,
.rnt-comments-section .comment-list > li {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    list-style: none;
}

/* Comment header with avatar */
.rnt-comments-section .comment-meta,
.rnt-comments-section .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.rnt-comments-section .comment-author .avatar,
.rnt-comments-section .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-blue) 100%);
}

.rnt-comments-section .comment-author .fn,
.rnt-comments-section .fn {
    font-weight: 700;
    color: var(--text-primary);
    font-style: normal;
}

.rnt-comments-section .comment-author .says {
    display: none;
}

.rnt-comments-section .comment-metadata,
.rnt-comments-section .comment-metadata a {
    color: var(--text-secondary);
    font-size: 0.85em;
    text-decoration: none;
}

.rnt-comments-section .comment-metadata a:hover {
    color: var(--accent-red);
}

.rnt-comments-section .comment-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.rnt-comments-section .comment-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* Reply button */
.rnt-comments-section .reply a,
.rnt-comments-section .comment-reply-link {
    background: var(--accent-red);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.rnt-comments-section .reply a:hover,
.rnt-comments-section .comment-reply-link:hover {
    background: #CC1800;
}

/* Comment form - no inner container, uses outer container styling */
.rnt-comments-section .comment-respond,
.rnt-comments-section #respond {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 0;
}

/* When there are existing comments, add margin */
.rnt-comments-section .comment-list + .comment-respond,
.rnt-comments-section .comment-list + #respond {
    margin-top: 25px;
}

.rnt-comments-section .comment-reply-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.rnt-comments-section .comment-notes,
.rnt-comments-section .logged-in-as {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 20px;
}

.rnt-comments-section .comment-notes a,
.rnt-comments-section .logged-in-as a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Hide website field from comment form */
.rnt-comments-section .comment-form-url,
.rnt-comments-section label[for="url"],
.rnt-comments-section input#url,
.rnt-comments-section input[name="url"] {
    display: none !important;
}

.rnt-comments-section .comment-form-comment,
.rnt-comments-section .comment-form-author,
.rnt-comments-section .comment-form-email,
.rnt-comments-section .comment-form-cookies-consent {
    margin-bottom: 20px;
}

.rnt-comments-section .comment-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.rnt-comments-section .comment-form input[type="text"],
.rnt-comments-section .comment-form input[type="email"],
.rnt-comments-section .comment-form input[type="url"],
.rnt-comments-section .comment-form textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 2px solid #2a2a2a;
    color: var(--text-primary);
    padding: 12px 15px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
    box-sizing: border-box;
}

.rnt-comments-section .comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.rnt-comments-section .comment-form input[type="text"]:focus,
.rnt-comments-section .comment-form input[type="email"]:focus,
.rnt-comments-section .comment-form input[type="url"]:focus,
.rnt-comments-section .comment-form textarea:focus {
    border-color: var(--accent-red);
    outline: none;
}

/* Checkbox styling */
.rnt-comments-section .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.rnt-comments-section .comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 3px;
    accent-color: var(--accent-red);
    cursor: pointer;
}

.rnt-comments-section .comment-form-cookies-consent label {
    display: inline;
    margin-bottom: 0;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

/* Submit button */
.rnt-comments-section .form-submit {
    margin-top: 20px;
    margin-bottom: 0;
}

.rnt-comments-section .submit,
.rnt-comments-section input[type="submit"] {
    background: var(--accent-red);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
}

.rnt-comments-section .submit:hover,
.rnt-comments-section input[type="submit"]:hover {
    background: #CC1800;
    transform: translateY(-2px);
}

/* Nested/child comments */
.rnt-comments-section .children {
    list-style: none;
    margin-left: 30px;
    padding: 0;
}

.rnt-comments-section .children .comment {
    border-left: 3px solid var(--accent-red);
}

/* Sidebar - Single post specific */
.rnt-blog-layout .sidebar,
.rnt-blog-layout aside,
.rnt-blog-layout .rnt-sidebar {
    position: sticky;
    top: 100px; /* Rekening houden met sticky header hoogte (~83px) + extra ruimte */
    width: 100%;
}

/* Remove extra margin from first widget in sidebar */
.rnt-sidebar .widget:first-child,
.rnt-sidebar > div:first-child {
    margin-top: 0;
}

/* Single Post Responsive */
@media (max-width: 1024px) {
    .rnt-blog-layout {
        grid-template-columns: 1fr;
    }
    
    .rnt-blog-layout .sidebar,
    .rnt-blog-layout aside,
    .rnt-blog-layout .rnt-sidebar {
        position: static;
        width: 100%;
    }
    
    .rnt-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rnt-container {
        padding: 20px 15px;
    }
    
    .rnt-article-title {
        font-size: 1.8em;
    }
    
    .rnt-article-header,
    .rnt-article-content,
    .rnt-article-footer {
        padding: 25px 20px;
    }
    
    .rnt-featured-image-caption {
        padding: 6px 10px;
        font-size: 0.7em;
    }
    
    .rnt-article-content > p:first-of-type {
        font-size: 1.1em;
    }
    
    .rnt-article-content h2 {
        font-size: 1.4em;
    }
    
    .rnt-article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rnt-author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .rnt-author-avatar {
        margin: 0 auto;
    }
    
    .rnt-related-grid {
        grid-template-columns: 1fr;
    }
    
    .rnt-article-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Comments section mobile */
    .rnt-comments-section {
        padding: 20px 15px;
        margin-top: 25px;
    }
    
    .rnt-comments-section .comment-reply-title {
        font-size: 1.3em;
    }
    
    .rnt-comments-section .comment-form input[type="text"],
    .rnt-comments-section .comment-form input[type="email"],
    .rnt-comments-section .comment-form input[type="url"],
    .rnt-comments-section .comment-form textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .rnt-comments-section .comment-form-cookies-consent {
        flex-wrap: wrap;
    }
    
    .rnt-comments-section .comment-form-cookies-consent label {
        font-size: 0.9em;
    }
    
    .rnt-comments-section .submit,
    .rnt-comments-section input[type="submit"] {
        width: 100%;
        padding: 14px 20px;
    }
}

/* ============================================
   F1 Standings Page Styles
   ============================================ */

.standings-header {
    margin-bottom: 20px;
}

.standings-header h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary, #e0e0e0);
    margin: 0 0 10px 0;
}

.standings-header .last-updated {
    font-size: 12px;
    color: var(--text-secondary, #888);
}

/* Tab Navigation */
.standings-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 2px solid var(--accent-red, #e10600);
}

.standings-tab {
    padding: 12px 24px;
    background-color: var(--bg-secondary, #2a2a2a);
    color: var(--text-primary, #e0e0e0);
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-right: 4px;
}

.standings-tab:hover {
    background-color: #3a3a3a;
}

.standings-tab.active {
    background-color: var(--accent-red, #e10600);
    color: #ffffff;
}

/* Tab Content */
.standings-content {
    display: none !important;
    background-color: var(--bg-secondary, #1a1a1a);
    border-radius: 0 8px 8px 8px;
    padding: 20px;
}

.standings-content.active {
    display: block !important;
}

/* Table Styles */
.standings-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.standings-table th,
.standings-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.standings-table th {
    background-color: var(--bg-secondary, #2a2a2a);
    color: var(--text-primary, #e0e0e0);
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
}

.standings-table tbody tr {
    transition: background-color 0.2s ease;
}

.standings-table tbody tr:nth-child(odd) {
    background-color: #222;
}

.standings-table tbody tr:nth-child(even) {
    background-color: var(--bg-secondary, #1a1a1a);
}

.standings-table tbody tr:hover {
    background-color: #333;
}

.standings-table td {
    color: var(--text-primary, #e0e0e0);
}

/* Position Column */
.standings-table .col-position {
    width: 60px;
    text-align: center;
    font-weight: bold;
}

.standings-table .position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
}

.standings-table .position-1 { background-color: #FFD700; color: #000; }
.standings-table .position-2 { background-color: #C0C0C0; color: #000; }
.standings-table .position-3 { background-color: #CD7F32; color: #000; }

/* Driver/Team Column */
.standings-table .col-name {
    min-width: 200px;
}

.standings-table .driver-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.standings-table .driver-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.standings-table .driver-details {
    display: flex;
    flex-direction: column;
}

.standings-table .driver-name {
    font-weight: bold;
    color: var(--text-primary, #fff);
}

.standings-table .driver-team {
    font-size: 12px;
    color: var(--text-secondary, #888);
    margin-top: 2px;
}

/* Points Column */
.standings-table .col-points {
    width: 100px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: var(--accent-red, #e10600);
}

/* Penalty specific styles */
.standings-table .penalty-points {
    color: #ff6b6b;
}

/* Standings Responsive */
@media screen and (max-width: 768px) {
    .standings-header h1 {
        font-size: 22px;
    }
    
    .standings-tabs {
        flex-wrap: wrap;
    }
    
    .standings-tab {
        padding: 10px 16px;
        font-size: 12px;
        flex: 1;
        text-align: center;
        margin-right: 2px;
        margin-bottom: 2px;
    }
    
    .standings-table th,
    .standings-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .standings-table .col-name {
        min-width: 150px;
    }
    
    .standings-table .driver-name {
        font-size: 13px;
    }
    
    .standings-table .driver-team {
        font-size: 11px;
    }
}

/* =====================================================
   ABOUT US PAGE STYLES
   ===================================================== */

.rnt-about-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rnt-about-container {
    background: var(--bg-primary);
}

.rnt-about-header {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.rnt-about-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.rnt-about-content {
    margin-bottom: 60px;
    line-height: 1.8;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px 40px;
}

.rnt-about-content h2,
.rnt-about-content h3,
.rnt-about-content h4 {
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.rnt-about-content h2:first-child,
.rnt-about-content h3:first-child,
.rnt-about-content h4:first-child {
    margin-top: 0;
}

.rnt-about-content p {
    margin-bottom: 20px;
}

/* Writers Section */
.rnt-writers-section {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.rnt-writers-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 15px;
}

.rnt-writers-intro {
    text-align: left;
    color: var(--text-secondary);
    margin: 0 0 40px;
    line-height: 1.6;
}

.rnt-writers-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Writer Card - List View */
.rnt-writer-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rnt-writer-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.rnt-writer-avatar {
    flex-shrink: 0;
}

.rnt-writer-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-red);
}

.rnt-writer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rnt-writer-name {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.rnt-writer-bio {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.rnt-writer-link {
    display: inline-block;
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rnt-writer-link:hover {
    color: var(--accent-red);
}

/* Responsive About Page */
@media (max-width: 768px) {
    .rnt-about-page {
        padding: 20px 15px;
    }
    
    .rnt-about-title {
        font-size: 1.8em;
    }
    
    .rnt-about-content {
        padding: 20px;
    }
    
    .rnt-writers-title {
        font-size: 1.5em;
    }
    
    .rnt-writer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }
    
    .rnt-writer-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .rnt-writer-bio {
        -webkit-line-clamp: 3;
    }
}