/* ==========================================================================
   Dutch Law Institute - Combined Stylesheet
   Base styles + 2026 Redesign
   ========================================================================== */

/* ==========================================================================
   PART 1: Base styles (formerly 20240807-024-dd.css)
   ========================================================================== */

/* Font faces */
@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/oswald/v35/TK3iWkUHHAIjg752GT8G.woff2) format("woff2"),
         url(https://fonts.gstatic.com/s/oswald/v35/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUZiYySShiA.woff) format("woff");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-display: swap;
    font-family: 'DutchLawIcons';
    src: url("../fonts/dutchlawicons.eot") format("embedded-opentype"), url("../fonts/dutchlawicons.woff2") format("woff2"), url("../fonts/dutchlawicons.woff") format("woff"), url("../fonts/dutchlawicons.ttf") format("truetype"), url("../fonts/dutchlawicons.svg#dutchlawicons") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* Icon fonts */
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "DutchLawIcons";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0.2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: 0.2em;
}
[class*=" pe-so-"], [class^="pe-so-"] {
    display: inline-block;
    font-family: "DutchLawIcons";
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 'DutchLawIcons';
    font-size: inherit;
    text-rendering: auto;
}
.navbar-nav .sub-arrow {
    position: static;
    display: inline-block;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px dashed transparent;
    border-bottom: 4px dashed transparent;
    border-left: 4px dashed transparent;
}
.list-group-item:before {
    content: "\e804";
    display: inline-block;
    font-size: 80%;
    font-family: 'DutchLawIcons';
    left: -10px;
    top: -1px;
    position: relative;
}
.fa-user:before { content: '\e803'; }
.fa-calendar:before { content: "\e802"; }
.icon-address-book:before { color: #154273; content: "\f2b9"; }
.icon-envelope7:before { color: #154273; content: "\e800"; }
.pe-so-linkedin:before { content: "\f0e1"; }
.pe-so-twitter:before { content: "\f099"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-globe:before { content: "\e801"; }

/* Global resets and base */
#pageloader { display: none; }
html { text-size-adjust: 100%; }
body {
    font-family: 'Arial', sans-serif;
    color: #000;
    line-height: 1.8;
    font-style: normal;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
}
* {
    box-sizing: border-box;
    border-color: #f0f0f0;
    border-width: 0;
    border-style: solid;
}
img {
    max-width: 100%;
    height: auto;
}
.title { font-family: Oswald, sans-serif; }
p { font-weight: 400; }
h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; font-weight: 500; text-transform: capitalize; }
h4 { font-size: 24px; font-weight: 500; line-height: 1.7; text-transform: capitalize; }
h5 { font-size: 24px; font-weight: 500; line-height: 1.7; text-transform: capitalize; }
h6 { font-size: 16px; line-height: 28px; font-weight: 500; text-transform: capitalize; }
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 22px;
    font-family: Oswald, sans-serif;
    color: inherit;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-size: 65%;
    color: #424242;
}

/* Tables */
table.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.custom-table th, .custom-table td {
    padding: 8px;
    border: 1px dashed #cccccc;
    text-align: left;
}
.custom-table th {
    background-color: #e0e0e0;
    text-align: center;
    font-weight: bold;
    color: #333333;
}
.custom-table tbody tr:nth-child(odd) { background-color: #ffffff; }
.custom-table tbody tr:nth-child(even) { background-color: #f0f0f0; }
.custom-table tbody tr:hover { background-color: #e9e9e9; }

/* Blockquote, hr, links, lists */
blockquote .small, blockquote footer, blockquote small {
    display: block;
    font-size: 80%;
    line-height: 1.42857143;
    color: #1a1a1a;
}
hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #ccc;
    border-bottom: 0 none;
}
a, button {
    color: inherit;
    transition: all 350ms 0s ease-in-out;
    text-decoration: none;
}
a:hover { color: #000; }
ul { padding: 0; list-style: none; }
blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #757575;
}

/* Page section lists */
section.page-section .pull-right ul {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
}
section.page-section .pull-right ul li {
    padding-left: 20px;
    position: relative;
}
section.page-section .pull-right ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 6px;
    height: 6px;
    background-color: #ccc;
    border-radius: 50%;
    margin-top: -3px;
}

/* Read more links */
.read-more {
    display: block;
    text-align: right;
    color: #595959;
    text-decoration: underline dotted gray;
    font-style: italic;
    font-size: inherit;
    margin-top: -8px;
    margin-bottom: 23px;
}
.read-more:hover {
    color: black;
    text-decoration: underline solid black;
}
#body-content .body-content-hyperlink {
    display: inline;
    color: #595959;
    text-decoration: underline dotted gray;
    font-style: inherit;
    font-size: inherit;
    margin-top: 0;
    margin-bottom: 0;
}

/* Background and layout */
.bg-color { background-color: #154273; }
.page-header h1 {
    margin: 0;
    font-size: 42px;
    text-transform: capitalize;
}
.container {
    max-width: 1200px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.row:after {
    content: "";
    display: table;
    clear: both;
}
.col-sm-6 {
    flex-basis: 0;
    flex-grow: 1;
    padding: 0 15px;
}
.col-sm-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* Top bar */
#top-bar {
    height: 45px;
    margin: 0;
    padding: 0 10px;
    display: flex;
    text-align: left;
    align-items: center;
    background-color: #154273;
}
#top-bar a { color: #fff; }
#top-bar a:hover { color: #C7DCF5; }
#top-bar a > .fa-envelope { margin: 0 5px 0 0; }

/* Sticky navigation */
#sticker {
    top: 0;
    left: 0;
    position: sticky;
    z-index: 1;
    background-color: #fff;
    box-shadow: 0 0 5px rgb(0, 0, 0, 0.15);
}
#sticker a:hover { color: #154273; }
#sticker .logo-li {
    display: inline-block;
    margin-right: auto;
}
@media screen and (max-width: 768px) {
    #sticker .logo-li { display: none; }
}
#sticker .nav-logo {
    display: block;
    max-height: 70px;
    width: auto;
    padding: 0.6em 0;
}
@media screen and (max-width: 768px) {
    #sticker .navbar-header .nav-logo {
        display: block;
        float: left;
        position: relative;
    }
}
#sticker .navbar .navbar-header {
    display: none;
    height: 70px;
    background-color: #fff;
}
@media only screen and (max-width: 768px) {
    #sticker .navbar .navbar-header { display: block; }
}
#sticker .navbar .navbar-header .navbar-toggle {
    float: right;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    background: 0 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}
#sticker .navbar .navbar-header .navbar-toggle:focus { outline: none; }
#sticker .navbar .navbar-header .navbar-toggle .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
}
#sticker .navbar .navbar-header .navbar-toggle .icon-bar {
    background-color: #154273;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin-top: 4px;
}
#sticker .navbar .navbar-collapse { width: 100%; }
@media only screen and (max-width: 768px) {
    #sticker .navbar .navbar-collapse {
        position: absolute;
        left: 0;
        transition: 0.2s ease-out;
        max-height: 300px;
        overflow-y: auto;
        z-index: -1;
        box-shadow: 0 0 5px rgb(0, 0, 0, 0.15);
    }
    #sticker .navbar .navbar-collapse.collapse { max-height: 0; }
    #sticker .navbar .navbar-collapse.nav-open { max-height: 40vh; }
}
#sticker .navbar .navbar-collapse .navbar-nav {
    background-color: #fff;
    margin: 0;
    min-height: 70px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
#sticker .navbar .navbar-collapse .navbar-nav > li > a { padding: 15px; }
@media only screen and (max-width: 960px) {
    #sticker .navbar .navbar-collapse .navbar-nav { justify-content: center; }
}
@media only screen and (max-width: 768px) {
    #sticker .navbar .navbar-collapse .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }
    #sticker .navbar .navbar-collapse .navbar-nav > li {
        width: 100%;
        line-height: 40px;
    }
    #sticker .navbar .navbar-collapse .navbar-nav > li.mega-menu > a {
        margin: 1px 0;
        background-color: #f0f0f0;
    }
    #sticker .navbar .navbar-collapse .navbar-nav > li.mega-menu > a::after {
        color: #154273;
        content: "\e805";
        font-family: 'DutchLawIcons';
        font-size: 22px;
        position: absolute;
        right: 30px;
    }
    #sticker .navbar .navbar-collapse .navbar-nav > li.mega-menu > a.contract-expanded::after {
        content: "\e806";
    }
    #sticker .navbar .navbar-collapse .navbar-nav > li > a {
        display: inline-block;
        padding: 0 15px;
        width: 100%;
    }
    #sticker .navbar .navbar-collapse .navbar-nav > li > a:hover {
        background-color: #f0f0f0;
    }
}
@media only screen and (min-width: 768px) {
    #sticker .navbar .navbar-collapse .navbar-nav > li > a {
        display: block;
        line-height: 40px;
    }
    #sticker .navbar .navbar-collapse .navbar-nav > li.mega-menu:hover .dropdown-menu,
    #sticker .navbar .navbar-collapse .navbar-nav > li .dropdown-menu:hover {
        position: absolute;
        width: 100%;
        top: 70px;
        display: block;
    }
}
#sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
}
@media only screen and (max-width: 768px) {
    #sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu {
        position: relative;
        line-height: 23.4px;
        padding: 5px 18px;
    }
    #sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu.dropdown-menu-open {
        display: block;
    }
    #sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu .title {
        display: none;
    }
}
@media only screen and (min-width: 768px) {
    #sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu .row {
        margin: auto;
        background-color: #fff;
        display: flex;
        max-width: 1200px;
        border-top: 3px solid #154273;
        padding: 15px;
        box-shadow: 0 3px 6px rgb(0, 0, 0, 0.176);
    }
    #sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu .row .col-sm-3 {
        flex: 1;
        padding: 0 15px;
    }
    #sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu .row .col-sm-3 .title {
        font-size: 13px;
        margin: 0 0 8px;
        text-transform: uppercase;
        font-weight: 600;
    }
}
#sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu .page-links a {
    padding: 5px 0;
    width: 100%;
    display: inline-block;
}
#sticker .navbar .navbar-collapse .navbar-nav .dropdown-menu .page-links a:hover {
    transform: translateX(5px);
}

/* Main banner (legacy - overridden by hero on index page) */
div.mainBanner {
    position: relative;
    text-align: left;
    color: #fff;
    width: 100%;
}
div.mainBanner img {
    max-width: 100%;
    display: block;
}
div.mainBanner .mainBanner__textBlock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%,-50%);
    max-width: 650px;
    padding: 20px 40px;
    background-color: #86723c;
    color: #fff;
    font-size: 60px;
    font-family: Oswald, sans-serif;
    line-height: 80px;
}
@media only screen and (max-width: 1200px) {
    div.mainBanner .mainBanner__textBlock {
        position: relative;
        top: initial;
        left: initial;
        transform: translate(0%,0%);
        max-width: 1200px;
        padding: 20px 40px;
        background-color: #86723c;
        color: #fff;
        font-size: 34px;
        font-family: Oswald, sans-serif;
        line-height: 50px;
    }
}

/* Column layout */
@media only screen and (min-width: 768px) {
    .page-section .container .row .col-md-6 {
        width: 50%;
        float: left;
    }
}

/* Post previews and sidebar */
.post-preview-row { display: flex; }
@media only screen and (max-width: 768px) {
    .post-preview-row { flex-direction: column; }
}
.post-preview-container { flex: 75%; }
#sidebar { flex: 25%; }
.post-preview-container .row { display: flex; }
.post-preview {
    overflow: auto;
    max-width: 900px;
    margin: auto auto 4em auto;
    padding: 1em 2em 1em 0;
    border-bottom: 1px dashed #ccc;
}
.post-preview img { width: 100%; height: auto; }
.post-preview .title { margin-top: 0; line-height: 0.8; }
.recent-post { display: flex; margin-bottom: 2em; }
.recent-post .post-thumb { flex: 25%; margin-right: 1em; }
.recent-post img { border-radius: 6px; }
.recent-post .post-details { flex: 75%; }

/* Page header and breadcrumb */
.page-header {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 30px 0;
    background-color: #f0f0f0;
    margin: 0;
}
.page-header .container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.page-header .breadcrumb {
    border-radius: 0;
    background: 0 0;
    color: #424242;
    font-size: 11px;
    line-height: 18px;
    margin: 0;
    padding: 11px 0;
    list-style: none;
}
.page-header .breadcrumb .active { color: #154273; }
.page-header .breadcrumb > li { display: inline-block; }
.page-header .breadcrumb > li + li:before {
    padding: 0 5px;
    color: #424242;
    content: "/\00a0";
}

/* Page section */
.page-section {
    padding: 75px 0;
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.page-section .container { padding: 0 15px; }
.page-section .container .pull-right { float: right; }

/* Sidebar menu */
#sidebar #MainMenu a { padding: 5px 15px 5px 10px; color: #424242; }
#sidebar #MainMenu a:hover { color: #000; }
#sidebar #MainMenu .list-group-item { display: block; font-size: 13px; }
#sidebar #MainMenu .list-group-submenu {
    max-height: 0;
    transition: max-height 550ms ease-in-out;
    overflow: hidden;
    margin-left: 10px;
}
#sidebar #MainMenu .list-group-submenu-open { max-height: 20rem; }

/* Author widget */
.author-widget {
    border: #f0f0f0 solid 1px;
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
}
.author-widget img { width: 100px; clip-path: circle(50px at center); }
.author-widget .icons { text-align: center; }
.author-widget .icons > * {
    margin: 0 0.5em;
    font-size: 1.3em;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar widget */
#sidebar .widget { margin-bottom: 35px; }

/* Post meta */
.post-meta {
    font-size: 11px;
    font-style: italic;
    margin-top: 10px;
    color: #424242;
}
.post-meta .fa { color: #154273; margin: 5px 5px 0 0; }
.post-meta span { font-size: 12px; margin-right: 8px; }
.post-content { margin-bottom: 15px; }

/* Responsive columns */
@media only screen and (max-width: 768px) {
    .page-section .row { flex-direction: column; }
}
@media only screen and (max-width: 960px) {
    .sidebar { clear: both; }
}
@media only screen and (min-width: 960px) {
    .col-md-9 { width: 75%; }
    .col-md-3 { width: 25%; }
    .col-sm-6 { float: left; }
}

/* Who we are section */
#who-we-are { padding: 0; background-color: #f0f0f0; }
#who-we-are .pad-60 { padding: 60px 0; }
#who-we-are .pad-60 > * { padding: 0 60px; }
#who-we-are .row { display: flex; flex-wrap: wrap; }
#who-we-are .row > div { flex-grow: 1; flex-basis: 496px; }

/* Entry/post titles */
.entry-title, .post-title {
    font-size: 26px;
    font-weight: 400;
    margin: 0 0 17px;
}

/* Social icons */
.icons-border-black { margin-left: 15px; }
.icons-border-black a { display: block; float: left; margin-right: 5px; }
.icons-border-black a span {
    display: block;
    width: 30px;
    height: 30px;
    border: black solid 1px;
    text-align: center;
    line-height: 30px;
}
.icons-border-black a span:hover { background-color: #154273; color: #fff; }

/* Sitemap */
.sitemap li { position: relative; padding-left: 15px; }
.sitemap li a:hover { color: #154273; }
.sitemap li a::before {
    content: "\e804";
    display: inline-block;
    font-size: 0.7em;
    font-family: 'DutchLawIcons';
    left: -10px;
    top: -1px;
    position: relative;
}

/* Get quote bar */
#get-quote {
    padding: 30px 0;
    font-size: 34px;
    font-weight: 400;
    font-family: Oswald, sans-serif;
    color: #fff;
    text-align: center;
}
#get-quote a { font-weight: 500; text-decoration: underline; }
#get-quote a:hover { color: #C7DCF5; }
#get-quote:hover a { padding-left: 10px; }

/* Footer */
#footer :focus { outline: 0; }
#footer .footer-blog > li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}
#footer .footer-blog > li:nth-child(3) { border-bottom: none; }
#footer a:hover { color: #000; }
#footer .footer-widget {
    padding-top: 20px;
    background: #f0f0f0;
    line-height: 21px;
    padding: 30px 0 13px;
    color: #4F4F4F;
    font-size: 13px;
}
#footer .footer-widget .row { display: flex; flex-wrap: wrap; }
#footer .footer-widget .row > div { flex-grow: 1; flex-basis: 25%; }
@media only screen and (max-width: 960px) {
    #footer .footer-widget .row > div { flex-basis: 50%; }
}
@media only screen and (max-width: 768px) {
    #footer .footer-widget .row > div { flex-basis: 100%; }
}
#footer .footer-widget .widget .widget-title {
    border-bottom: 1px solid #ccc;
    margin: 0 0 12px;
    position: relative;
}
#footer .footer-widget .widget .widget-title .title {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0 0 12px;
}
#footer .footer-widget address {
    margin-bottom: 20px;
    font-style: normal;
    line-height: 1.42857143;
}
#footer .footer-widget .form-group { width: 100%; position: relative; }
#footer .footer-widget .form-group .form-control {
    display: block;
    background: 0 0;
    border: #f0f0f0 solid 1px;
    border-radius: 3px;
    font-size: 12px;
    min-height: 40px;
    width: 100%;
    height: 40px;
    line-height: 22px;
    margin-bottom: 22px;
    padding: 8px 12px;
    border-color: #154273;
    box-shadow: 0 1px 1px rgb(0, 0, 0, 0.075) inset;
    margin: 0;
}
#footer .footer-widget .form-group .form-control:focus {
    border-color: #154273;
    box-shadow: 0 1px 1px rgb(0, 0, 0, 0.075) inset, 0 0 6px #ce8483;
}
#footer .footer-widget .form-group .form-control-feedback {
    position: absolute;
    top: 0;
    right: 38px;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}
#footer .footer-widget .form-group .submit {
    color: #fff;
    height: 38px;
    outline: 0;
    padding: 0;
    position: absolute;
    right: 1px;
    top: 1px;
    width: 38px;
    border-radius: 0 3px 3px 0;
    border: 0;
}
#footer .footer-widget .form-group .submit.bg-color:hover { background-color: #000; }
#footer .copyright {
    background: #f0f0f0;
    color: #424242;
    border-top: 1px solid #ccc;
    font-size: 11px;
    line-height: 17px;
    padding: 21px 0 20px;
}

/* Custom dropdown */
.custom-dropdown {
    background-color: #fff;
    border: 1px solid #154273;
    color: #154273;
    padding: 10px;
    font-family: Arial, sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("https://dutch-law.com/img/dropdown.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    background-size: 30%;
}
.custom-dropdown:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(21, 66, 115, 0.5);
}

/* ==========================================================================
   PART 2: 2026 Redesign additions and overrides
   ========================================================================== */

/* --------------------------------------------------------------------------
   Z-index fix: ensure sticky header stays above all page content
   -------------------------------------------------------------------------- */
#sticker { z-index: 100; }

/* --------------------------------------------------------------------------
   Skip navigation (accessibility)
   -------------------------------------------------------------------------- */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: #154273;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
    transition: top 0.3s ease;
}
.skip-nav:focus { top: 0; }

/* --------------------------------------------------------------------------
   Scroll animations (Intersection Observer driven)
   -------------------------------------------------------------------------- */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   Content margins for mobile/tablet
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
    #main-content .container { padding-right: 28px !important; padding-left: 28px !important; }
}
@media (max-width: 768px) {
    #main-content .container { padding-right: 24px !important; padding-left: 24px !important; }
}

/* --------------------------------------------------------------------------
   Section styling
   -------------------------------------------------------------------------- */
.redesign-section {
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}
.redesign-section:last-of-type { border-bottom: none; }
.redesign-section.bg-light { background-color: #f8f9fa; }
.redesign-section.bg-white { background-color: #ffffff; }

/* --------------------------------------------------------------------------
   Column layouts
   -------------------------------------------------------------------------- */
.redesign-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.redesign-col-2 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}
.redesign-col-3 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .redesign-col-2,
    .redesign-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

/* --------------------------------------------------------------------------
   Card styling
   -------------------------------------------------------------------------- */
.redesign-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.04);
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.redesign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #154273;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.redesign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(21, 66, 115, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}
.redesign-card:hover::before { transform: scaleX(1); }
.bg-light .redesign-card { background: #ffffff; }

/* --------------------------------------------------------------------------
   Typography - matching site fonts
   -------------------------------------------------------------------------- */
.redesign-section h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
}
.redesign-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #333;
}
.redesign-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 14px;
    color: #333;
}
.redesign-section p {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Accordion styling
   -------------------------------------------------------------------------- */
.accordion-group {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
}
.accordion-item {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    position: relative;
}
.accordion-item:last-child { border-bottom: none; }
.accordion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #154273;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-item.active::before { transform: scaleY(1); }
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.accordion-header:hover { background-color: rgba(21, 66, 115, 0.03); }
.accordion-item.active .accordion-header {
    background-color: rgba(21, 66, 115, 0.04);
    padding-bottom: 14px;
}
.accordion-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    color: #1f2937;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}
.accordion-item.active .accordion-header h3 { color: #154273; }

/* Chevron icon - animated plus-to-minus */
.accordion-chevron {
    width: 28px;
    height: 28px;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
    border-radius: 50%;
    background: #f3f4f6;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-header:hover .accordion-chevron {
    background: #e5e7eb;
    transform: scale(1.1);
}
.accordion-item.active .accordion-chevron {
    background: rgba(21, 66, 115, 0.1);
    box-shadow: 0 0 0 4px rgba(21, 66, 115, 0.06);
    transform: rotate(0deg);
}
.accordion-chevron::before,
.accordion-chevron::after {
    content: '';
    position: absolute;
    background-color: #6b7280;
    border-radius: 2px;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-chevron::before {
    top: 50%;
    left: 7px;
    width: 14px;
    height: 2px;
    transform: translateY(-50%);
}
.accordion-chevron::after {
    top: 7px;
    left: 50%;
    width: 2px;
    height: 14px;
    transform: translateX(-50%);
}
.accordion-item.active .accordion-chevron::before { background-color: #154273; }
.accordion-item.active .accordion-chevron::after {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
    background-color: #154273;
}

/* Content panel - uses JS-driven height for smooth animation */
.accordion-content {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
    padding: 0 28px;
}
.accordion-item.active .accordion-content { opacity: 1; }
.accordion-content-inner {
    padding-bottom: 28px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
                opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.accordion-item.active .accordion-content-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Closing animation */
.accordion-item.closing .accordion-content-inner {
    transform: translateY(-4px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.4, 0, 1, 1),
                opacity 0.35s cubic-bezier(0.4, 0, 1, 1);
}
.accordion-item.closing .accordion-content {
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Mobile performance: simplify transitions and disable hover effects
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .redesign-card { transition: none; }
    .redesign-card::before { transition: none; }
    .redesign-card:hover {
        transform: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 10px rgba(0,0,0,0.04);
    }
    .redesign-card:hover::before { transform: scaleX(0); }
    .accordion-chevron { transition: background-color 0.3s ease, transform 0.3s ease; }
    .accordion-chevron::before,
    .accordion-chevron::after { transition: transform 0.3s ease, opacity 0.3s ease; }
    .accordion-header { transition: background-color 0.3s ease; }
    .accordion-header h3 { transition: color 0.3s ease; }
    .accordion-item::before { transition: transform 0.3s ease; }
    .accordion-content { transition: height 0.5s ease, opacity 0.4s ease 0.05s; }
    .accordion-content-inner { transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s; }
    .accordion-item.closing .accordion-content-inner { transition: transform 0.25s ease, opacity 0.2s ease; }
    .accordion-item.closing .accordion-content { transition: height 0.4s ease 0.1s, opacity 0.3s ease; }
}

/* --------------------------------------------------------------------------
   Back to top button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 50;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #154273;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(21, 66, 115, 0.3);
    opacity: 0;
    transform: translateY(24px) scale(0.85);
    pointer-events: none;
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.back-to-top:hover {
    background: #1a5296;
    box-shadow: 0 4px 20px rgba(21, 66, 115, 0.45);
    transform: translateY(-2px) scale(1);
}
.back-to-top:active { transform: translateY(0) scale(0.95); }
.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    .back-to-top {
        transition: opacity 0.1s, background-color 0.1s;
    }
}

/* ==========================================================================
   Tooltip styles (lawyer directory pages, contact page)
   ========================================================================== */
td a {
    position: relative;
    text-decoration: none;
    display: inline-block;
}
.email-tooltip {
    display: none;
    position: absolute;
    white-space: nowrap;
    background: white;
    border: 1px solid black;
    z-index: 10;
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 5px;
}
td a:hover + .email-tooltip {
    display: inline-block;
    white-space: nowrap;
}
.name-link, .lawfirm-link {
    text-decoration: none;
    position: relative;
    display: inline-block;
}
.name-tooltip {
    display: none;
    position: absolute;
    white-space: nowrap;
    background: white;
    border: 1px solid black;
    z-index: 10;
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 5px;
}
td .name-link:hover > .name-tooltip {
    display: inline-block;
    white-space: nowrap;
}
.lawfirm-tooltip {
    display: none;
    position: absolute;
    white-space: nowrap;
    background: white;
    border: 1px solid black;
    z-index: 10;
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 5px;
}
td .lawfirm-link:hover > .lawfirm-tooltip {
    display: inline-block;
    white-space: nowrap;
}

/* ==========================================================================
   Grey block with decorative corners
   ========================================================================== */
.grey-block {
    position: relative !important;
    background-color: #f9f9f9 !important;
    border: 1px dotted #ccc !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding: 20px !important;
    z-index: 0 !important;
}
.grey-block::before,
.grey-block::after {
    content: "" !important;
    position: absolute !important;
    width: 32px !important;
    height: 32px !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    z-index: 2 !important;
}
.grey-block::before {
    top: -1px !important;
    left: -1px !important;
    background-image: url("https://dutch-law.com/img/corner-left.svg") !important;
    background-position: top left !important;
}
.grey-block::after {
    bottom: -1px !important;
    right: -1px !important;
    background-image: url("https://dutch-law.com/img/corner-right.svg") !important;
    background-position: bottom right !important;
}
.grey-block-title {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-weight: normal !important;
    color: #4a4a4a !important;
}
.grey-column {
    position: relative !important;
    padding: 10px !important;
    margin: 0 !important;
}
.grey-column ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style-position: inside !important;
}
.with-vertical-line::before {
    content: "" !important;
    position: absolute !important;
    top: 10px !important;
    bottom: 10px !important;
    left: 0 !important;
    width: 1px !important;
    background-color: #ccc !important;
}
@media (max-width: 767px) {
    .with-vertical-line::before {
        content: none !important;
    }
    .grey-column:not(.with-vertical-line) {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .grey-column.with-vertical-line {
        margin-top: -10px !important;
    }
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.file-upload {
    position: relative;
    border: 2px dashed #e8e8e8;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s ease;
}
.file-upload:hover { border-color: #d14011; }
.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.file-preview-item {
    background: #f8f8f8;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.file-preview-item button {
    background: none;
    border: none;
    color: #d14011;
    cursor: pointer;
    padding: 0;
}
.contact-section {
    max-width: 848px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(209, 64, 17, 0.1);
    border: 1px solid #eee;
}
.contact-section h2.title {
    font-family: Oswald, sans-serif;
    font-size: 32px;
    color: #4a4a4a;
    margin-bottom: 2rem;
    border-bottom: 2px solid #d14011;
    padding-bottom: 0.5rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.form-group label {
    font-weight: 500;
    color: #6b6b6b;
    font-size: 0.95rem;
}
.form-input {
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f8f8;
}
.form-input:focus {
    border-color: #d14011;
    background: #fff;
    box-shadow: 0 0 8px rgba(209, 64, 17, 0.2);
}
.form-input::placeholder { color: #a0a0a0; }
.privacy-notice {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}
.privacy-notice label { font-size: 0.9rem; color: #666; }
.error-message {
    color: #c00;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}
.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    display: none;
}
.submit-btn {
    background: #d14011;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.submit-btn:hover {
    background: #a8320d;
    transform: translateY(-1px);
}
.loading-dots {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.loading-dots::after {
    content: " .";
    animation: dots 1.4s infinite;
}
@keyframes dots {
    0%, 20% { content: " ."; }
    40% { content: " .."; }
    60% { content: " ..."; }
    80%, 100% { content: " "; }
}
@media (max-width: 768px) {
    .contact-section {
        margin: 1.5rem;
        padding: 1.8rem;
    }
    .form-input { padding: 12px 15px; }
    .submit-btn { width: 100%; padding: 14px; }
}

/* ==========================================================================
   Google Maps embed
   ========================================================================== */
.google-maps {
    display: block;
    line-height: 0;
    overflow: hidden;
}
.google-maps iframe {
    display: block;
    width: 100% !important;
    height: 450px !important;
    margin: 0;
    padding: 0;
    border: 0;
}

/* ==========================================================================
   Collapsible sections
   ========================================================================== */
.collapsible {
    background-color: #f2f2f2;
    color: #424242;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: background-color 0.3s ease;
    margin-bottom: 5px;
    position: relative;
    font-family: Oswald, sans-serif;
    line-height: 1.3;
    margin: 0 0 22px;
    font-weight: 500;
    text-transform: capitalize;
    font-size: 32px;
}
.collapsible small {
    font-size: 65%;
    color: #424242;
    display: inline-block;
}
.collapsible:hover { background-color: #e2e2e2; }
.collapsible.active { background-color: #ccc; }
.collapsible::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('https://dutch-law.com/img/plus.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}
.collapsible.active::before {
    background-image: url('https://dutch-law.com/img/minus.svg');
    transform: translateY(-50%) rotate(180deg);
}
.content {
    display: none;
    padding: 10px;
    background-color: #f9f9f9;
    overflow: hidden;
    border: 1px solid #ddd;
}
.content.show { display: block; }
.content h3.title {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.3;
    font-family: Oswald, sans-serif;
    margin: 0 0 22px;
}
.content h3.title small {
    display: block;
    font-size: 65%;
    color: #424242;
    margin-top: 5px;
}
