/*
Theme Name: Prime Law
Theme URI: https://primelaw.nl
Author: Prime Law
Author URI: https://primelaw.nl
Description: Professional litigation theme for Prime Law
Version: 1.0
License: GPL v2 or later
Text Domain: primelaw-theme
Domain Path: /languages
*/

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
    --plw-primary: #1a2540;
    --plw-secondary: #3a4559;
    --plw-accent: #5ba0c8;
    --plw-border: #e8e8e8;
    --plw-bg-light: #f7f7f7;
    --plw-text: #333;
    --plw-text-light: #666;
    --plw-font: 'Poppins', sans-serif;
    --plw-max-width: 1140px;
}

/* ============================================================
   Reset & Base Styles
   ============================================================ */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--plw-font);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--plw-text);
    background-color: #fff;
}

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

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

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

button, input[type="submit"], input[type="button"] {
    cursor: pointer;
    font-family: inherit;
}

/* ============================================================
   Typography
   ============================================================ */
h1 {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.5em;
    color: var(--plw-text);
}

h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.7em;
    color: var(--plw-text);
}

h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 0.8em;
    color: var(--plw-text);
}

h4 {
    font-size: 17px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0.9em;
    color: var(--plw-text);
}

h5 {
    font-size: 15px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 1em;
    color: var(--plw-text);
}

h6 {
    font-size: 14px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 1em;
    color: var(--plw-text);
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

/* ============================================================
   Layout & Container
   ============================================================ */
.plw-container {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.plw-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    border-bottom: 1px solid var(--plw-border);
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    min-height: 91px;
}

/* Push sticky header below the WP admin bar so the sticky row (rails + breadcrumb, top:122) sits flush against it instead of leaving a gap content scrolls through. */
.admin-bar .plw-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .plw-header { top: 46px; } }

.plw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    height: 90px;
}

.plw-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.plw-logo {
    max-width: 200px;
    max-height: 70px;
    width: auto;
    height: auto;
}

.plw-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.plw-menu {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.plw-menu > li {
    margin: 0;
    padding: 0;
}

.plw-menu > li > a {
    display: block;
    padding: 20px 18px;
    font-size: 14px;
    font-weight: 400;
    color: var(--plw-text);
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.plw-menu > li > a:hover,
.plw-menu > li.current-menu-item > a {
    color: var(--plw-accent);
    border-bottom-color: var(--plw-accent);
}

.plw-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.plw-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--plw-primary);
    transition: all 0.3s ease;
}

.plw-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.plw-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.plw-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


/* Dropdown Submenu */
.plw-menu > li {
    position: relative;
}

.plw-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.plw-menu > li:hover > .sub-menu {
    display: block;
}

.plw-menu .sub-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--plw-text);
    white-space: nowrap;
}

.plw-menu .sub-menu li a:hover {
    color: var(--plw-accent);
    background: var(--plw-bg-light);
}

/* ============================================================
   Page Banner
   ============================================================ */
.plw-page-banner {
    position: relative;
    width: 100%;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.plw-page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
}

.plw-page-banner h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 100%;
    padding: 30px;
}

/* ============================================================
   Homepage: Tagline Section
   ============================================================ */
/* ============================================================
   Homepage: Hero Section
   ============================================================ */
.plw-hero {
    position: relative;
    overflow: hidden;
    height: 60vh;
    min-height: 420px;
    max-height: 600px;
}

.plw-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(10,18,36,0.75) 0%, rgba(10,18,36,0.35) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}


.plw-hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 40%;
}

.plw-hero-content {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 50px 70px;
    max-width: 1200px;
}

.plw-hero-content h1 {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0 0 24px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* Hero-link naar het profiel. Tekstlink met chevron, zoals elders op de site,
   geen omkaderde button: die stond hier als .plw-hero-cta maar werd door geen
   enkele template gebruikt. */
.plw-hero-link {
    display: inline-block;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.45);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.plw-hero-link:hover {
    border-bottom-color: #fff;
}
/* Accessibility: skip-to-content link, visible only on keyboard focus */
.plw-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--plw-primary);
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    text-decoration: none;
}
.plw-skip-link:focus {
    left: 0;
}

.plw-tagline-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--plw-primary);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}
.plw-tagline-link:hover {
    color: var(--plw-accent);
    text-decoration: underline;
}

/* ============================================================
   Homepage: Tagline Section
   ============================================================ */
#plw-tagline-section {
    background-color: #fff;
    padding: 55px 30px 50px;
    text-align: center;
    min-height: 200px;
}

.plw-tagline-inner {
    max-width: 780px;
    margin: 0 auto;
}

#plw-tagline-section p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--plw-secondary);
    margin-top: 0;
    margin-bottom: 30px;
}

.plw-tagline-pillars {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.plw-pillar {
    display: inline-block;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: var(--plw-primary);
    border: 1px solid var(--plw-border);
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}

.plw-pillar:hover {
    background: var(--plw-primary);
    color: #fff;
    border-color: var(--plw-primary);
}

/* ============================================================
   Homepage: Expertise Section
   ============================================================ */
#plw-expertise-section {
    background-color: #edf4f9;
    padding: 60px 30px;
}

.plw-expertise-wrapper {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 50px;
}

.plw-expertise-label {
    flex: 0 0 140px;
}

.plw-expertise-label h2 {
    font-size: 22px;
    font-weight: 400;
    margin-top: 0;
    color: var(--plw-primary);
}

/* Clickable section headings (Expertise, Publicaties): look like the heading,
   shift to accent on hover to signal the link. */
.plw-expertise-label h2 a,
.plw-pub-label h2 a,
.plw-about-label h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.plw-expertise-label h2 a:hover,
.plw-pub-label h2 a:hover,
.plw-about-label h2 a:hover {
    color: var(--plw-accent);
}

/* ============================================================
   Expertise Cards Grid
   ============================================================ */
.plw-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex: 1;
    margin-left: 24px;
}

/* Card base Ã¢ÂÂ gradient image cards */
.plw-spec-card,
.plw-en-card {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.plw-spec-card:hover,
.plw-en-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.plw-spec-card-img,
.plw-en-card-img {
    height: 200px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.plw-spec-card-title,
.plw-en-card-title {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.plw-spec-card-desc,
.plw-en-card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #666;
    margin: 0;
    padding: 20px 22px 22px;
}

/* ============================================================
   Homepage: Expertise Carousel (all 6, scroll-snap, no auto-rotate)
   ============================================================ */
.plw-spec-carousel {
    flex: 1;
    min-width: 0;
    position: relative;
}
.plw-spec-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* Moet gelijk zijn aan de linkerpadding hieronder. Zonder dit ligt de snap-positie
       van de eerste kaart op 2px, snapt de browser de track tijdens het laden naar
       scrollLeft 2, en beeindigt dat scroll-event de LCP-registratie van Chrome voordat
       de hero geverfd is. Gevolg: de homepage rapporteerde helemaal geen LCP en
       PageSpeed gaf NO_LCP op zowel LCP als Total Blocking Time. */
    scroll-padding-left: 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 6px;
}
.plw-spec-track::-webkit-scrollbar { display: none; }
.plw-spec-track > .plw-spec-card {
    flex: 0 0 calc((100% - 56px) / 3 - 22px);
    scroll-snap-align: start;
}
.plw-spec-track:focus-visible { outline: 2px solid var(--plw-accent); outline-offset: 4px; }

.plw-spec-arrow {
    position: absolute;
    top: 100px;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--plw-border);
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--plw-primary);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.plw-spec-arrow:hover { background: #fff; color: var(--plw-accent); }
.plw-spec-prev { left: -6px; }
.plw-spec-next { right: -6px; }
.plw-spec-arrow:disabled { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
    .plw-spec-track > .plw-spec-card { flex: 0 0 calc((100% - 28px) / 2 - 18px); }
}
@media (max-width: 600px) {
    .plw-spec-track > .plw-spec-card { flex: 0 0 82%; }
    .plw-spec-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .plw-spec-track { scroll-behavior: auto; }
}

/* ============================================================
   Homepage: Publicaties/Publicaties Section
   ============================================================ */
#plw-pub-section {
    background-color: #fff;
    padding: 60px 30px 50px;
}

.plw-pub-wrapper {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 50px;
}

.plw-pub-label {
    flex: 0 0 200px;
}

.plw-pub-label h2 {
    font-size: 22px;
    font-weight: 400;
    margin-top: 0;
    color: var(--plw-primary);
}

.plw-pub-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px 50px;
}

.plw-pub-card {
    display: block;
    text-decoration: none;
    padding-left: 24px;
    border-left: 3px solid var(--plw-border);
    transition: border-color 0.2s;
}

.plw-pub-card:hover {
    border-left-color: var(--plw-primary);
}

.plw-pub-card h2 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--plw-primary);
    transition: color 0.2s;
}

.plw-pub-card:hover h2 {
    color: var(--plw-accent);
}

.plw-pub-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--plw-text-light);
    margin: 0;
}

.plw-pub-more {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 8px;
}

.plw-pub-more a {
    font-size: 15px;
    font-weight: 500;
    color: var(--plw-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.plw-pub-more a:hover {
    color: var(--plw-accent);
    text-decoration: underline;
}

.plw-pub-more-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--plw-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.plw-pub-more-link:hover {
    color: var(--plw-accent);
    text-decoration: underline;
}

/* ============================================================
   Homepage: About Section
   ============================================================ */

#plw-about-section {
    background: #e8f0f8;
    padding: 60px 30px 70px;
}

.plw-about-wrapper {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 50px;
}

.plw-about-label {
    flex: 0 0 200px;
}

.plw-about-label h2 {
    font-size: 22px;
    font-weight: 400;
    margin-top: 0;
    color: var(--plw-primary);
}

.plw-about-content {
    flex: 1;
    border-left: 3px solid var(--plw-border);
    padding-left: 24px;
}

.plw-about-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--plw-text);
    margin-bottom: 18px;
}

.plw-about-more {
    text-align: right;
    margin-top: 25px;
}

.plw-about-more a {
    color: var(--plw-primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
}

.plw-about-more a:hover {
    color: var(--plw-accent);
    text-decoration: underline;
}

/* Op de homepage sluit de licht-blauwe about-sectie direct aan op de donker-blauwe
   footer: geen witte marge-strip. (Het oude `+`-selector faalde: <main> sluit tussen
   de sectie en de footer, dus het zijn geen aangrenzende siblings.) */
body.home .plw-footer {
    margin-top: 0;
}

@media (max-width: 767px) {
    .plw-about-wrapper { flex-direction: column; gap: 20px; }
    .plw-about-label { flex: none; }
    .plw-about-content { border-left: none; padding-left: 0; border-top: 1px solid var(--plw-border); padding-top: 20px; }
}

/* ============================================================
   Practice Area Sidebar
   ============================================================ */
.plw-sidebar {
    flex: 0 0 220px;
    margin-right: 40px;
}

.plw-sidebar-title {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--plw-primary);
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--plw-border);
}

.plw-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.plw-sidebar-link {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--plw-border);
	font-size: 13px;
	color: var(--plw-text-light);
	text-decoration: none;
	line-height: 1.5;
}

.plw-sidebar-link:hover,
.plw-sidebar-link.plw-sidebar-active {
	color: var(--plw-accent);
}

.plw-sidebar-arrow {
	margin-right: 4px;
}

/* Sidebar related publications */
.plw-sidebar-pubs {
	margin-bottom: 25px;
	padding-bottom: 10px;
}
.plw-sidebar-pubs .plw-sidebar-title {
	margin-bottom: 10px;
}
.plw-sidebar .plw-sidebar-pub-link {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--plw-border);
	color: var(--plw-text-light);
	text-decoration: none;
	font-size: 13px;
	line-height: 1.5;
}
.plw-sidebar .plw-sidebar-pub-link:hover {
	color: var(--plw-accent);
}
/* ============================================================
   Practice Area Page Layout
   ============================================================ */
.plw-expertise-layout {
    display: flex;
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 0;
    padding-bottom: 60px;
}

.plw-main {
    flex: 1;
}

.plw-main h2 {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--plw-border);
}

.plw-main h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ============================================================
   Read More / Collapse Functionality
   ============================================================ */
.plw-readmore-hidden {
    display: none;
}

.plw-readmore-hidden.plw-visible {
    display: block;
}

.plw-readmore-btn {
    display: inline-block;
    background-color: var(--plw-primary);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    margin-bottom: 30px;
}

.plw-readmore-btn:hover {
    background-color: var(--plw-secondary);
}

/* ============================================================
   Blog Post Layout
   ============================================================ */
.plw-blog-layout {
    display: flex;
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 0;
    padding-bottom: 60px;
    gap: 40px;
}

.plw-blog-nav {
    flex: 0 0 200px; /* vaste breedte, gelijk aan c&c-law + rechterkolom */
    min-width: 0;      /* voorkomt content-gestuurde variatie (lange contractnamen) */
    overflow-wrap: break-word;
    padding-top: 40px;
}


/* TOC Sidebar */
.plw-toc-sticky {
    position: sticky;
    top: 110px;
}

.plw-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plw-toc-list li {
    border-bottom: 1px solid var(--plw-border);
}

.plw-toc-list li:last-child {
    border-bottom: none;
}

.plw-toc-link {
    display: block;
    padding: 8px 0 8px 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--plw-text-light);
    transition: color 0.2s ease;
}


.plw-toc-link:hover {
    color: var(--plw-accent);
}

.plw-toc-link.plw-toc-active {
    color: var(--plw-primary);
    font-weight: 500;
}

.plw-blog-content {
    flex: 1;
    min-width: 0; /* laat flex-kolom krimpen -> breadcrumb-ellipsis klipt, geen layout-shift */
    padding-top: 40px;
}

.plw-blog-related {
    flex: 0 0 200px;
    padding-top: 40px;
    position: sticky;
    top: 70px;
    align-self: flex-start;
}
/* Admin bar offset for sticky sidebars */
.admin-bar .plw-toc-sticky { top: 142px; }
.admin-bar .plw-blog-related { top: 102px; }
.admin-bar .plw-breadcrumb { top: 142px; }


.plw-blog-banner {
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.plw-blog-banner h1 {
    color: #fff;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 90%;
    padding: 30px;
}

.plw-blog-meta {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
}

.plw-blog-date,
.plw-blog-author {
    margin: 0 10px;
}

.plw-nav-heading,
.plw-related-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--plw-primary);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--plw-border);
}

.plw-nav-link,
.plw-related-item {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    color: var(--plw-text-light);
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--plw-border);
}

.plw-nav-link:last-child,
.plw-related-item:last-child {
    border-bottom: none;
}

.plw-nav-link:hover,
.plw-related-item:hover {
    color: var(--plw-accent);
}

/* ============================================================
   Blog Content Styles
   ============================================================ */
.plw-blog-content h2 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.plw-blog-content h2:first-child {
    margin-top: 0;
}

.plw-blog-content h3 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.plw-blog-content h4 {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.plw-blog-content h3 ~ h3 {
    margin-top: 24px;
}

.plw-blog-content p {
    margin-bottom: 15px;
}

.plw-blog-content p a, .plw-blog-content li a {
    color: var(--plw-accent);
    font-weight: 500;
}

.plw-blog-content p a:hover, .plw-blog-content li a:hover {
    color: var(--plw-primary);
    text-decoration: underline;
}

.plw-blog-content p.plw-more-link {
    margin-top: 4px;
    margin-bottom: 28px;
}
.plw-blog-content p.plw-more-link a {
    display: inline-block;
    color: var(--plw-primary);
    font-weight: 500;
    text-decoration: none;
}
.plw-blog-content p.plw-more-link a::after {
    content: "\00A0\203A";
    display: inline-block;
    transition: transform 0.2s ease;
}
.plw-blog-content p.plw-more-link a:hover {
    color: var(--plw-accent);
    text-decoration: underline;
}
.plw-blog-content p.plw-more-link a:hover::after {
    transform: translateX(3px);
}

/* ============================================================
   Contact Page Layout
   ============================================================ */
.plw-contact-layout {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 40px;
    padding-bottom: 60px;
    display: flex;
    gap: 40px;
}

.plw-contact-form {
    flex: 1;
}

.plw-contact-form h2 {
    margin-bottom: 20px;
}

.plw-contact-info {
    flex: 0 0 340px;
}

.plw-contact-card {
    background: #fff;
    border: 1px solid var(--plw-border);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.plw-contact-card h3 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--plw-primary);
}

.plw-contact-card p {
    margin-bottom: 10px;
    font-size: 14px;
}

.plw-contact-card p:last-child {
    margin-bottom: 0;
}

.plw-contact-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.plw-contact-icon svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.plw-map-frame {
    width: 100%;
    height: 300px;
    border: 1px solid var(--plw-border);
    border-radius: 4px;
    margin-bottom: 25px;
}

/* ============================================================
   Contact Form (CF7)
   ============================================================ */
.wpcf7 {
    max-width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: var(--plw-accent);
    box-shadow: 0 0 0 3px rgba(91, 160, 200, 0.1);
}

.wpcf7 textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7 input[type="submit"],
.wpcf7 input[type="button"] {
    background-color: var(--plw-primary);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="button"]:hover {
    background-color: var(--plw-secondary);
}

.wpcf7 p {
    margin-bottom: 15px;
}

/* ============================================================
   English Page
   ============================================================ */
/* English page tagline */
.plw-en-tagline {
    background: #f8f8f8;
    padding: 70px 0 60px;
    text-align: center;
}

.plw-en-tagline-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.plw-en-tagline h1 {
    font-size: 50px;
    font-weight: 400;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    letter-spacing: -0.3px;
}

.plw-en-tagline p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #777;
    margin: 0 auto 35px auto;
    max-width: 700px;
}

.plw-en-tagline-link {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.plw-en-tagline-link:hover {
    color: var(--plw-accent);
    border-color: var(--plw-accent);
}

/* English page expertise */
.plw-en-expertise {
    background: #edf4f9;
    padding: 80px 0 60px;
}

.plw-en-expertise-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
}

.plw-en-expertise h2 {
    font-size: 26px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 40px 0;
    letter-spacing: -0.3px;
}

/* English page about */
.plw-en-about {
    background: #fff;
    padding: 70px 0;
}

.plw-en-about-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 30px;
}

.plw-en-about h2 {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.35;
}

.plw-en-about p {
    font-size: 15px;
    color: #444;
    line-height: 1.75;
    margin: 0 0 18px 0;
}

/* English page CTA */
.plw-en-cta {
    background: var(--plw-primary);
    padding: 60px 0;
    text-align: center;
}

.plw-en-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 30px;
}

.plw-en-cta h2 {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 12px 0;
}

.plw-en-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 28px 0;
}

.plw-en-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--plw-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 36px;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.plw-en-cta-btn:hover {
    background: var(--plw-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   Personnel Page Layout
   ============================================================ */
.plw-personnel-layout {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 40px;
    padding-bottom: 60px;
    display: flex;
    gap: 40px;
}

.plw-personnel-photo {
    flex: 0 0 300px;
}

.plw-personnel-photo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.plw-personnel-info {
    flex: 1;
}

.plw-personnel-info h2 {
    margin-top: 0;
}

.plw-personnel-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--plw-border);
}
.plw-personnel-contact h2 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--plw-primary);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--plw-border);
}


.plw-personnel-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.plw-personnel-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.plw-personnel-bio h2 {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--plw-border);
}

/* First heading (Profiel) sits directly under the banner: no separator line above it. */
.plw-personnel-bio h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.plw-personnel-photo .plw-ext-pubs {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--plw-border);
}

.plw-personnel-photo .plw-ext-pubs-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--plw-primary);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--plw-border);
}

.plw-personnel-photo .plw-ext-pub-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--plw-border);
    border-top: none;
    color: var(--plw-text-light);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
}

.plw-personnel-photo .plw-ext-pub-date {
    display: none;
}

.plw-personnel-photo .plw-ext-pub-title {
    font-size: 13px;
    line-height: 1.5;
    color: inherit;
}

.plw-personnel-photo .plw-pubs-toggle {
    font-size: 12px;
    padding: 6px 18px;
    margin-top: 10px;
}

/* ============================================================
   Publicaties Archive Layout
   ============================================================ */
.plw-archive-layout {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 40px;
    padding-bottom: 60px;
    display: flex;
    gap: 40px;
}

.plw-archive-sidebar-left {
    flex: 0 0 170px;
}

.plw-archive-main {
    flex: 1;
}

.plw-archive-sidebar-right {
    flex: 0 0 140px;
}

.plw-filter-heading,
.plw-social-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--plw-primary);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--plw-border);
}

.plw-filter-link {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    color: var(--plw-text-light);
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--plw-border);
}

.plw-filter-link:last-child {
    border-bottom: none;
}

.plw-filter-link:hover,
.plw-filter-link.plw-active {
    color: var(--plw-accent);
}

.plw-archive-main h2 {
    margin-top: 0;
}

.plw-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px 40px;
}

.plw-archive-grid .plw-pub-card {
    border-left-color: var(--plw-border);
}

.plw-archive-grid .plw-pub-card:hover {
    border-left-color: var(--plw-primary);
}

.plw-archive-grid .plw-pub-card h2 {
    color: var(--plw-primary);
}

.plw-archive-grid .plw-pub-card:hover h2 {
    color: var(--plw-accent);
}

.plw-card-meta {
    font-size: 12px !important;
    color: var(--plw-text-light) !important;
    margin-bottom: 8px !important;
}

.plw-archive-grid .plw-card-meta {
    display: none;
}

.plw-archive-grid-full {
    grid-column: 1 / -1;
}

/* Pagination */
.plw-pagination {
    margin-top: 40px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.plw-pagination a,
.plw-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--plw-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--plw-primary);
    text-decoration: none;
    transition: all 0.2s;
}
.plw-pagination a:hover {
    background: var(--plw-primary);
    color: #fff;
    border-color: var(--plw-primary);
}
.plw-pagination .current {
    background: var(--plw-primary);
    color: #fff;
    border-color: var(--plw-primary);
}
.plw-pagination .dots {
    border: none;
    padding: 0 4px;
    min-width: auto;
}

.plw-news-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--plw-border);
}

.plw-news-item:last-child {
    border-bottom: none;
}

.plw-news-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.plw-news-item p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--plw-text-light);
}

.plw-news-hidden {
    display: none;
}

.plw-news-hidden.plw-visible {
    display: block;
}

.plw-load-more {
    display: inline-block;
    margin-top: 30px;
    background-color: var(--plw-primary);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.plw-load-more:hover {
    background-color: var(--plw-secondary);
}

.plw-load-more.plw-hidden {
    display: none;
}

.plw-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 13px;
    color: var(--plw-text-light);
    transition: color 0.3s ease;
}

.plw-social-link:hover {
    color: var(--plw-accent);
}

.plw-social-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   Cookie Banner (rendered by plugin via #plw-cookie-banner)
   ============================================================ */
#plw-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: auto;
    z-index: 99999;
    width: min(400px, calc(100vw - 48px));
    background: #fff;
    color: var(--plw-primary);
    border: 1px solid var(--plw-primary);
    box-shadow: 0 10px 34px rgba(26, 37, 64, 0.18);
    padding: 0;
    /* +24px, anders blijft de inset-hoogte van de kaart zichtbaar in rust */
    transform: translateY(calc(100% + 24px));
    transition: transform 0.35s ease;
}

#plw-cookie-banner.plw-cb-show {
    transform: translateY(0);
}

.plw-cb-inner {
    max-width: none;
    margin: 0;
    padding: 24px;
    display: block;
}

.plw-cb-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--plw-primary);
}

.plw-cb-text {
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    color: var(--plw-text);
}

.plw-cb-text a {
    color: var(--plw-primary);
    text-decoration: underline;
}

.plw-cb-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.plw-cb-btn {
    border: 1px solid var(--plw-primary);
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Accepteren en weigeren krijgen bewust hetzelfde gewicht: weigeren moet even
   eenvoudig zijn als accepteren, anders is de toestemming niet vrij gegeven. */
.plw-cb-accept,
.plw-cb-decline {
    background: var(--plw-primary);
    color: #fff;
}

.plw-cb-accept:hover,
.plw-cb-decline:hover {
    background: #fff;
    color: var(--plw-primary);
    transform: none;
}

/* Mobiel: volle breedte onderaan, buttons blijven naast elkaar zodat weigeren
   niet onder de fold verdwijnt. */
@media (max-width: 600px) {
    #plw-cookie-banner {
        bottom: 0;
        left: 0;
        width: 100%;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        transform: translateY(100%);
    }
    .plw-cb-inner {
        padding: 20px;
    }
}

/* ============================================================
   Honeypot (Hidden Field)
   ============================================================ */
.plw-hp-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================================
   Footer
   ============================================================ */
.plw-footer {
    background: linear-gradient(135deg, #1a2540 0%, #2d4a6f 50%, #3d6590 100%);
    color: rgba(255,255,255,0.85);
    padding: 60px 30px 0;
    margin-top: 80px;
}

.plw-footer-inner {
    max-width: var(--plw-max-width);
    margin-left: auto;
    margin-right: auto;
}

.plw-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.plw-footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.plw-footer-logo {
    max-width: 160px;
    margin-bottom: 18px;
}

.plw-footer-col h3 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
}

.plw-footer-links-secondary {
    margin-top: 24px;
    padding-top: 0;
    list-style: none;
    padding-left: 0;
}

.plw-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plw-footer-col li {
    margin-bottom: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.plw-footer-spacer {
    height: 4px;
}

.plw-footer-col a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    transition: color 0.2s ease;
}

.plw-footer-col a:hover {
    color: #fff;
}

.plw-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.plw-copyright a {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    transition: color 0.2s ease;
}

.plw-copyright a:hover {
    color: #fff;
}

.plw-copyright-sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.3);
}

/* ============================================================
   Expertise Publications Block
   ============================================================ */
.plw-epo-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--plw-border);
}

.plw-epo-heading {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 25px;
    color: var(--plw-primary);
}

.plw-epo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plw-epo-item {
    background: #fff;
    border: 1px solid var(--plw-border);
    padding: 20px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plw-epo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.plw-epo-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 15px;
}

.plw-epo-item p {
    font-size: 13px;
    color: var(--plw-text-light);
    margin-bottom: 12px;
}

.plw-epo-item a {
    font-size: 13px;
    color: var(--plw-accent);
    font-weight: 500;
}

/* ============================================================
   Client Werk Section
   ============================================================ */
.plw-client-werk {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--plw-border);
}

.plw-client-werk h2 {
    color: var(--plw-primary);
    margin-bottom: 25px;
}

.plw-client-werk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.plw-client-werk-item {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 4px;
    border-left: 4px solid var(--plw-accent);
}

.plw-client-werk-item h3 {
    margin-top: 0;
    color: var(--plw-primary);
}

.plw-client-werk-item p {
    font-size: 14px;
    color: var(--plw-text-light);
}

/* ============================================================
   Personnel Publications
   ============================================================ */
.plw-personnel-publications {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--plw-border);
}

.plw-personnel-publications h3 {
    font-size: 16px;
    margin-top: 0;
}

.plw-personnel-pub-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--plw-border);
    font-size: 14px;
}

.plw-personnel-pub-item:last-child {
    border-bottom: none;
}

.plw-personnel-pub-item a {
    color: var(--plw-accent);
    font-weight: 500;
}

/* Plugin Publications (plw-ext-pubs) Ã¢ÂÂ used on personnel + expertise pages */
.plw-ext-pubs {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--plw-border);
}

.plw-ext-pubs-heading {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--plw-primary);
    margin-bottom: 20px;
}

.plw-ext-pub-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--plw-border);
    text-decoration: none;
    color: var(--plw-text);
    transition: color 0.2s;
}

.plw-ext-pub-item:first-of-type {
    border-top: 1px solid var(--plw-border);
}

.plw-ext-pub-item:hover {
    color: var(--plw-accent);
}

.plw-ext-pub-date {
    display: inline-block;
    min-width: 130px;
    font-size: 13px;
    color: var(--plw-text-light);
}

.plw-ext-pub-title {
    font-size: 15px;
}

.plw-pubs-toggle {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 24px;
    background: var(--plw-primary);
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--plw-font);
}

.plw-pubs-toggle:hover {
    background: var(--plw-secondary);
}

/* Expertise Page Output (plw-epo Ã¢ÂÂ Client Werk list from plugin) */
.plw-epo-section {
    max-width: 1140px;
    margin: 0 auto 60px;
    padding: 0 30px;
}

.plw-epo-heading {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--plw-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--plw-primary);
}

.plw-epo-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.plw-epo-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--plw-text);
    border-bottom: 1px solid var(--plw-border);
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
}

.plw-epo-item:first-of-type {
    border-top: none;
}

.plw-epo-item:hover {
    background-color: rgba(42, 72, 88, 0.03);
}

.plw-epo-item:hover .plw-epo-title {
    color: var(--plw-accent);
}

.plw-epo-item:hover .plw-epo-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.plw-epo-title {
    display: block;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--plw-text);
    transition: color 0.2s ease;
}

.plw-epo-excerpt {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--plw-text-light);
    margin-top: 4px;
}

.plw-epo-arrow {
    flex-shrink: 0;
    margin-left: auto;
    align-self: center;
    font-size: 16px;
    color: var(--plw-primary);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.plw-text-center {
    text-align: center;
}

.plw-mt-40 {
    margin-top: 40px;
}

.plw-mb-40 {
    margin-bottom: 40px;
}

/* ============================================================
   Responsive: Tablet (Ã¢ÂÂ¤999px)
   ============================================================ */
@media (max-width: 999px) {
    .plw-page-banner {
        min-height: 220px;
    }

    .plw-page-banner h1 {
        font-size: 28px;
        padding: 20px;
    }

    .plw-hero {
        height: 50vh;
        min-height: 350px;
    }

    .plw-hero-content {
        padding: 0 35px 56px;
    }

    .plw-hero-content h1 {
        font-size: 34px;
    }

    #plw-tagline-section {
        padding: 40px 30px 35px;
    }

    .plw-spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-left: 0;
    }

    .plw-expertise-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .plw-expertise-label {
        flex: none;
    }

        .plw-pub-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .plw-pub-label {
        flex: none;
    }

    .plw-pub-grid {
        grid-template-columns: 1fr;
    }

    .plw-expertise-layout {
        flex-direction: column;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .plw-sidebar {
        flex: none;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .plw-blog-layout {
        flex-direction: column;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .plw-blog-nav {
        flex: none;
        order: 2;
    }

    .plw-blog-content {
        order: 1;
    }

    .plw-blog-related {
        flex: none;
        order: 3;
    }

    .plw-contact-layout {
        flex-direction: column;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .plw-contact-info {
        flex: none;
    }

    .plw-personnel-layout {
        flex-direction: column;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .plw-personnel-photo {
        flex: none;
        max-width: 300px;
    }

    .plw-archive-layout {
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .plw-archive-sidebar-left {
        flex: none;
    }

    .plw-archive-sidebar-right {
        flex: none;
    }


    .plw-archive-grid {
        grid-template-columns: 1fr;
    }

    .plw-en-about-inner {
        max-width: 680px;
    }

    .plw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .plw-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .plw-epo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .plw-client-werk-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Hamburger menu for tablets */
    .plw-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9998;
        border-bottom: 1px solid var(--plw-border);
    }

    .plw-nav.plw-nav-open {
        transform: translateX(0);
    }

    .plw-menu {
        flex-direction: column;
        gap: 0;
    }

    .plw-menu > li > a {
        padding: 15px 0;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding-left: 15px;
    }

    .plw-menu > li > a:hover,
    .plw-menu > li.current-menu-item > a {
        border-bottom-color: transparent;
        border-left-color: var(--plw-accent);
    }

    .plw-menu-toggle {
        display: flex;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }
}

/* ============================================================
   Responsive: Mobile (Ã¢ÂÂ¤767px)
   ============================================================ */
@media (max-width: 767px) {
    .plw-header-inner {
        height: 70px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .plw-logo {
        max-width: 150px;
    }

    .plw-nav {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    .plw-page-banner {
        min-height: 180px;
    }

    .plw-page-banner h1 {
        font-size: 24px;
        padding: 15px;
    }

    .plw-blog-banner {
        min-height: 180px;
    }

    .plw-blog-banner h1 {
        font-size: 24px;
    }

    .plw-blog-meta {
        font-size: 12px;
    }

    .plw-hero {
        height: 45vh;
        min-height: 300px;
    }

    .plw-hero-content {
        padding: 0 20px 42px;
    }

    .plw-hero-content h1 {
        font-size: 26px;
    }

    .plw-hero-content h1 br {
        display: none;
    }

    #plw-tagline-section {
        padding: 35px 20px 30px;
    }

    #plw-tagline-section p {
        font-size: 15px;
    }

    .plw-pillar {
        font-size: 12px;
        padding: 8px 16px;
    }

    .plw-spec-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plw-pub-grid {
        grid-template-columns: 1fr;
    }

    .plw-sidebar-link {
        font-size: 13px;
        padding: 10px 0 10px 12px;
    }

    .plw-expertise-layout,
    .plw-blog-layout,
    .plw-contact-layout,
    .plw-personnel-layout,
    .plw-archive-layout {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 25px;
        padding-bottom: 30px;
    }

    .plw-map-frame {
        height: 200px;
    }

    .plw-en-about-inner {
        padding: 0 20px;
    }

    .plw-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .plw-footer-brand {
        margin-bottom: 10px;
    }

    .plw-epo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .plw-cookie-banner {
        padding: 15px 20px;
    }

    .plw-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    body {
        font-size: 14px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="date"],
    .wpcf7 textarea {
        font-size: 16px;
    }
}

/* Contact form refinements */
.plw-contact-form input[type="text"],
.plw-contact-form input[type="email"],
.plw-contact-form input[type="tel"],
.plw-contact-form textarea {
    border: 1px solid #d0d0d0;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 4px;
    transition: border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.plw-contact-form input[type="text"]:focus,
.plw-contact-form input[type="email"]:focus,
.plw-contact-form input[type="tel"]:focus,
.plw-contact-form textarea:focus {
    border-color: #1a2a3a;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 42, 58, 0.08);
}
.plw-contact-form input[type="submit"] {
    background: none;
    border: none;
    color: var(--plw-primary);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
}
.plw-contact-form input[type="submit"]:hover {
    color: var(--plw-accent);
}


/* H2 links same color as plain H2 on expertise pages */
.plw-blog-content h2 a {
    color: var(--plw-text);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}
.plw-blog-content h2 a:hover {
    color: var(--plw-primary);
}


/* Active link in OK series navigation */
.plw-nav-link-active {
    color: var(--plw-primary) !important;
    font-weight: 600;
    border-left: 3px solid var(--plw-primary);
    padding-left: 10px;
    margin-left: -13px;
}

/* Active link in TOC navigation (enhanced) */
.plw-toc-link.plw-toc-active {
    color: var(--plw-primary);
    font-weight: 600;
    border-left: 3px solid var(--plw-primary);
    padding-left: 10px;
    margin-left: -13px;
}
/* === Prime Law contract-guide component (single source of truth) === */
.plw-block-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:var(--plw-primary);margin:26px 0 8px;}
.plw-structure-list{list-style:none;margin:14px 0 4px;padding:0;counter-reset:plwst;column-count:2;column-gap:28px;}
.plw-structure-list li{counter-increment:plwst;break-inside:avoid;display:flex;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--plw-border);font-size:13.5px;color:var(--plw-text);}
.plw-structure-list li::before{content:counter(plwst,decimal-leading-zero);color:var(--plw-accent);font-weight:700;font-size:11px;font-variant-numeric:tabular-nums;min-width:20px;flex:0 0 auto;}
.plw-structure-list li a{color:inherit;text-decoration:none;transition:color .15s ease;}
.plw-structure-list li a:hover{color:var(--plw-accent);}
.plw-structure-list li a:focus-visible{outline:2px solid var(--plw-accent);outline-offset:2px;}
.plw-toggle-all{appearance:none;border:1px solid var(--plw-border);background:var(--plw-bg-light);color:var(--plw-primary);font-family:inherit;font-size:13px;font-weight:600;padding:9px 16px;border-radius:8px;cursor:pointer;margin:10px 0 6px;transition:background .15s,border-color .15s,color .15s;}
.plw-toggle-all:hover{border-color:var(--plw-accent);color:var(--plw-accent);}
.plw-toggle-all:focus-visible{outline:2px solid var(--plw-accent);outline-offset:2px;}
.plw-bs-point{background:var(--plw-bg-light);border-left:3px solid var(--plw-accent);padding:14px 18px;border-radius:0 6px 6px 0;font-size:14px;margin:18px 0;}
.plw-bs-point b{color:var(--plw-primary);}
.plw-variants{margin:6px 0 8px;}
.plw-variant-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--plw-border);}
.plw-variant-tabs button{appearance:none;border:0;background:none;font-family:inherit;font-size:13px;font-weight:600;color:var(--plw-text-light);padding:10px 16px;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;}
.plw-variant-tabs button.active{color:var(--plw-primary);border-bottom-color:var(--plw-accent);}
.plw-variant-tabs button:hover{color:var(--plw-accent);}
.plw-variant-panel{padding:16px 0 2px;font-size:14px;}
.plw-variant-cap{font-weight:600;color:var(--plw-primary);margin:0 0 8px;}
.plw-js .plw-variant-cap{display:none;}
.plw-variant-panel table{width:100%;border-collapse:collapse;font-size:13.5px;}
.plw-variant-panel th,.plw-variant-panel td{text-align:left;padding:9px 12px;border-bottom:1px solid var(--plw-border);vertical-align:top;}
.plw-variant-panel th{color:var(--plw-primary);font-weight:600;width:32%;}
.plw-clause{border:1px solid var(--plw-border);border-radius:8px;margin:14px 0;overflow:hidden;}
.plw-clause>summary{list-style:none;cursor:pointer;padding:14px 18px;font-size:14px;font-weight:600;color:var(--plw-primary);background:var(--plw-bg-light);display:flex;justify-content:space-between;align-items:center;gap:12px;}
.plw-clause>summary::-webkit-details-marker{display:none;}
.plw-clause>summary .chev{color:var(--plw-accent);font-size:18px;transition:transform .2s;flex:0 0 auto;}
.plw-clause[open]>summary .chev{transform:rotate(45deg);}
.plw-clause-inner{padding:8px 20px 18px;font-size:13.5px;}
.plw-clause-inner p{margin:0 0 7px;}
.plw-clause-inner p:last-child{margin-bottom:0;}
.plw-clause-inner .cat{font-weight:600;color:var(--plw-primary);margin:14px 0 4px;}
.plw-clause-inner ol,.plw-clause-inner ul{margin:4px 0 4px 20px;}
.plw-clause-inner li{margin:6px 0;}
.plw-blog-content>style:first-child+*,.plw-blog-content>script:first-child+*,.entry-content>style:first-child+*{margin-top:0 !important;}
@media(max-width:600px){.plw-variant-panel table,.plw-variant-panel tbody,.plw-variant-panel tr,.plw-variant-panel th,.plw-variant-panel td{display:block;width:auto;}.plw-variant-panel tr{border-bottom:1px solid var(--plw-border);padding:8px 0;}.plw-variant-panel th{border-bottom:0;padding:0 0 2px;}.plw-variant-panel td{padding:0;}}
@media(max-width:560px){.plw-structure-list{column-count:1;}}
@media (prefers-reduced-motion:reduce){.plw-clause>summary .chev{transition:none;}}
/* === end component === */


/* Breadcrumb: rail-heading style, sticky like the rails */
.plw-breadcrumb{position:sticky;top:110px;z-index:5;background:#fff;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;color:var(--plw-primary);margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid var(--plw-border);}
.plw-breadcrumb a{color:var(--plw-primary);text-decoration:none;}
.plw-breadcrumb a:hover{text-decoration:underline;text-underline-offset:2px;}
.plw-breadcrumb .plw-bc-sep{margin:0 8px;color:var(--plw-border);}
.plw-breadcrumb .breadcrumb_last{color:var(--plw-primary);}
.plw-breadcrumb::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:30px;background:#fff;}
.plw-breadcrumb>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* ---- Tabellen in blogcontent (toegevoegd 10 aug 2026) ----
   Blogtabellen hadden geen enkele stijl: geen kopregel-accent, geen rijscheiding,
   geen celpadding, waardoor rijen visueel in elkaar overliepen. Alleen
   .plw-variant-panel table was gestyled. Deze regels gelden voor elke tabel in
   een post of pagina, dus ook voor bestaande posts met een vergelijkingstabel. */
.plw-blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 25px;
    font-size: 15px;
    line-height: 1.55;
}
.plw-blog-content table th {
    text-align: left;
    font-weight: 600;
    color: var(--plw-primary);
    background: #f6f8fa;
    padding: 10px 12px;
    border-bottom: 2px solid var(--plw-primary);
    vertical-align: bottom;
}
.plw-blog-content table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--plw-border);
    vertical-align: top;
}
.plw-blog-content table tbody tr:last-child td {
    border-bottom: 1px solid var(--plw-primary);
}
/* eerste kolom is de sleutel van de rij: iets zwaarder, niet vet */
.plw-blog-content table tbody td:first-child {
    color: var(--plw-primary);
    font-weight: 500;
}
/* vergelijkingstabel met lege hoekcel: die cel geen accent geven */
.plw-blog-content table thead th:empty {
    background: transparent;
    border-bottom-color: var(--plw-border);
}
/* smalle schermen: tabel horizontaal scrollen in plaats van de pagina */
.plw-blog-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 700px) {
    .plw-blog-content table { display: table; overflow-x: visible; }
}





