:root {
    --primary: #1d3a6e;
    --primary-dark: #112655;
    --primary-highlight: #3468c0;
    --accent: #4a9fff;
    --accent-icon: #2e7fd8;
    --accent-icon-dark: rgba(130, 195, 255, 0.92);
    --section-overlay: linear-gradient(155deg, rgba(4, 12, 42, 0.75) 0%, rgba(6, 18, 55, 0.72) 50%, rgba(2, 8, 30, 0.82) 100%);
    --nav-animation-speed: 380ms;
    --animation-speed: 200ms;
    --standard-opacity: 1;
    /* Type system — see TYPOGRAPHY SYSTEM block at end of file */
    --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
    --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Fraunces", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.bio {
    color: #757575;
    font-size:0.9rem;
}
.rond {
    border-radius: 200px !important;
    border: 1px solid black;
    width: 100px;
    float: left;
    padding: 3px;
    margin-top: 10px;
    margin-right: 10px;
}


h2 {
    font-size: 1.5rem !important;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.3rem !important;
    padding-bottom: 15px;
    padding-top: 15px;
}

h4 {
    font-size: 1.2rem !important;
    padding-top: 10px;
}

h5 {
    font-size: 1.1rem !important;
}
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    /* Fade edges: 0% = invisible, 100% = fully visible */
    -webkit-mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,1) 10%,
            rgba(0,0,0,1) 90%,
            rgba(0,0,0,0) 100%
    );
    mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,1) 10%,
            rgba(0,0,0,1) 90%,
            rgba(0,0,0,0) 100%
    );
}


/* Each copy of the content */
.marquee-inner {
    display: flex;
    white-space: nowrap;
    padding-right: 2rem; /* small spacing between loops */
}


.marquee-container {
    width: 100%;
    padding: 15px 0;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    will-change: transform; /* smoother */
}

.marquee-item {
    flex: 0 0 auto;
    padding: 0 20px;
    font-size: 1.2rem;
}

@keyframes marquee {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}
/* Optional: Pause animation on hover
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}
*/

.navbar {
    --bs-navbar-toggler-padding-y: 0.625rem;
    --bs-navbar-nav-link-padding-x: 1.5rem;
    --bs-navbar-brand-margin-end: 0rem;
}


/* Icon accent colors — distinct from surrounding text */
h1 i.fa-solid, h1 i.fa-regular, h1 i.fa-brands,
h2 i.fa-solid, h2 i.fa-regular,
h3 i.fa-solid, h3 i.fa-regular,
p i.fa-solid, p i.fa-regular, p i.fa-brands,
li i.fa-solid, li i.fa-regular,
.lead i.fa-solid, .lead i.fa-regular {
    color: var(--accent-icon);
}
/* Keep navbar + button icons white/inherit */
.navbar i.fa-solid, .navbar i.fa-regular, .navbar i.fa-brands { color: inherit; }
.btn i.fa-solid, .btn i.fa-regular, .btn i.fa-brands { color: inherit; }
/* Dark sections: lighter accent */
.fullWidthNoBackground i.fa-solid, .fullWidthNoBackground i.fa-regular,
.fullWidthBackground i.fa-solid, .fullWidthBackground i.fa-regular,
.fullWidthBackground2 i.fa-solid, .fullWidthBackground2 i.fa-regular,
.page-header-banner i.fa-solid, .page-header-banner i.fa-regular,
.arth-hero i.fa-solid, .arth-hero i.fa-regular,
.blog-hero i.fa-solid, .blog-hero i.fa-regular {
    color: var(--accent-icon-dark);
}
/* Preserve button icons in all dark contexts */
.fullWidthNoBackground .btn i, .fullWidthBackground .btn i,
.fullWidthBackground2 .btn i, .page-header-banner .btn i { color: inherit; }

/* Override for icons in h2 with class 'sitelogo' */
a.sitelogo i.fa-solid {
    color: #adadad; /* Light grey color for icons inside h2.sitelogo */
    padding-top:6px;
}

.logosmall {
    margin-top:10px;
}
/* Specific color for sitelogo text */
a.sitelogo {
    white-space: nowrap;
    color: #dedede;
    font-size: 1.5rem;
    font-weight: normal;
}

.darkerlogo {
    color: #a6a6a6;
}





a.sitelogo:hover {
    white-space: nowrap;
    color: #dedede;
    font-size: 1.5rem;
    font-weight: normal;
}


.table-dark {
    --bs-table-striped-bg: #6c4545 !important;
}

.navbar-meisje {
    background: linear-gradient(90deg, rgba(10, 22, 54, 0.97) 0%, rgba(18, 40, 92, 0.97) 55%, rgba(10, 22, 54, 0.97) 100%);
    border-bottom: 1px solid rgba(74, 159, 255, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
    opacity: 1;
    transition: background 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease;
}
.navbar-meisje.is-top {
    background: linear-gradient(90deg, rgba(6, 14, 40, 0.78) 0%, rgba(12, 28, 72, 0.74) 55%, rgba(6, 14, 40, 0.78) 100%);
    border-bottom-color: rgba(74, 159, 255, 0.06);
    box-shadow: none;
}

.myhover {
    cursor:pointer;
}

.helpIcon {
    float:right;
    cursor:pointer;
}
.form-check {
    margin-bottom: 0.625rem;
}

.bootstrap-dialog .btn-modal-close {
    border-radius: unset;
    box-shadow: unset;

}
.bootstrap-dialog-title  {
    width:400px;
}

.modal-header.bootstrap-dialog-header {
    padding-right:10px;
    padding-left:10px;
    padding-top:2px;
    padding-bottom:2px;
}

.bootstrap-dialog-close-button {
    width:-moz-available;
    width:-webkit-fill-available;
    text-align:end;
}
.alert {
    box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.25);
    backdrop-filter: blur(7px);
}



.fullWidthNoBackground {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    background-color: #040c28;
    overflow: hidden;
    /* Leave room for the marquee band, plus extra trim so the video
       sits a touch below full screen and the page breathes. */
    height: calc(100vh - 61px - 96px - 80px);
    height: calc(100svh - 61px - 96px - 80px);
    min-height: 420px;
    margin-top: 61px;
    display: flex;
    align-items: center;
}
.fullWidthNoBackground::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(4, 12, 42, 0.48) 0%,
        rgba(8, 20, 60, 0.40) 40%,
        rgba(2, 8, 28, 0.80) 100%
    );
    z-index: 1;
    pointer-events: none;
}
/* Diagonal texture over video */
.fullWidthNoBackground::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0px, transparent 60px,
        rgba(255, 255, 255, 0.012) 60px, rgba(255, 255, 255, 0.012) 61px
    );
    z-index: 1;
    pointer-events: none;
}


.fullWidthBackground {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 50px;
    background-color: #1a2e4a;
    background-image: url("../images/background1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.40);
}
.fullWidthBackground::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--section-overlay);
    z-index: 0;
    pointer-events: none;
}
.fullWidthBackground .container { position: relative; z-index: 1; }

.fullWidthBackground2 {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 50px;
    background-color: #1a2e4a;
    background-image: url("../images/background2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.40);
}
.fullWidthBackground2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--section-overlay);
    z-index: 0;
    pointer-events: none;
}
.fullWidthBackground2 .container { position: relative; z-index: 1; }

.secondaryTrBr {
    background-color:rgba(226, 226, 226, 0.3);
}
.whiteTrBg {
    background-color:rgba(255, 255, 255, 0.3);
}
.darkTrBg {
    background-color:rgba(206, 206, 206, 0.4);
    color:white;
}

.carousel-plaatje {
    padding:3px;
    border-radius: 10px;
    margin:5px;
    border: 1px solid #878787;
    cursor:pointer;
    box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.25);
}

.keeptogether {
    display: flex;
}

.keeptogether a.btn.btn-dark {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.keeptogether a.btn.btn-light {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.switchButton {
    padding:5px;
    color:white;
    margin-right:10px;
}
.oleo-script swash caps-regular {
    font-family: "Oleo Script Swash Caps", system-ui;
    font-weight: 400;
    font-style: normal;
}

.oleo-script {
    font-family: "Oleo Script Swash Caps", system-ui;
    font-weight: 700;
    font-style: normal;
}

.margin-top-fix {
    margin-top:10px;
}

.dotransition {
    animation: blinker 1s linear infinite;
}


@keyframes blinker {
    50% {
        opacity: 0.3;
    }
}
.help-block {
    color: red;
    font-weight:bold;
}
.control-label {
    margin-top:5px;
    color: #565656;
    font-weight:bold;
}
.table-bordered.table-striped {
    border:0 !important;
}
.table-bordered.table-striped th{
    border:0 !important;
}
.table-bordered.table-striped tr{
    border:0 !important;
}
.bold {
    font-weight: bold;
}

.table-bordered.table-striped td{
    border:0 !important;
}

div.empty div.alert.alert-light {
    margin-bottom:0px!important;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}
.form-control.ro {
    background-color: #f1f1f1 !important;
    color:darkgray!important;
    border:1px solid black;
}
body {
    position:relative;
}
tr.green td {
    background-color: #deebde;
}
.headerfortable {
    white-space: nowrap;
    font-weight: bold;
    background-color: #d7d7d7;
}

.nowrap {
    white-space: nowrap;
}


.ui-autocomplete-input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.table tbody tr.table-more-danger {
    background-color:red !important;
    color:white !important;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

.navbar-nav {
    max-height:300px;
}
@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:9999;
    background: rgba(0, 0, 0, 0.7);
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 40%;
    position: relative;
    overflow: auto;
    max-height: 80%;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 10px;
    border: 1px solid black;
    border-radius:5px;
    padding-left:10px;
    padding-right:10px;
    right: 20px;
    margin-bottom:5px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
}

@media screen and (max-width: 1200px){
    .popup{
        width: 90%;
    }
}


.table-bordered.table-striped tr {
    user-select: none;
}



.navbar-nav.nav li.nav-item a.nav-link {
    border-radius: 20px;
}
.site-index {
    margin-top:10px;
}
.fixed-top {
    z-index:10;
}
.navbar-nav.nav li.nav-item {
    border-radius: 8px;
    margin: 3px;
    transition: background-color var(--nav-animation-speed) ease;
}
.helvetica {
    font-family: 'Helvetica', 'Arial', sans-serif;
}
.lightlink {
    font-weight:normal;
}
.row, .table, .btn {
    opacity: var(--standard-opacity);
}

.quote {
    font-size: 20px;
    padding:20px;
    font-family: Serif;
    font-weight:bold;
    color:var(--primary);
}
h1 {
    margin-top: 25px;
    margin-bottom: 30px;
    color: black;
    font-weight:bold;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 1),-2px -2px 4px rgba(255, 255, 255, 1),0 -2px 4px rgba(255, 255, 255, 1),-2px 0 4px rgba(255, 255, 255, 1);
}
.navbar-nav.nav li.nav-item:hover {
    background-color: rgba(74, 159, 255, 0.12);
    border-radius: 8px;
    color: white;
}
.centerText {
    line-height: 40px;
    text-align: center;
}
.smallTd {
    width: 10px;
}
.bg-body-secondary {
    background-color: #efefef;
}
#overlay {
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200%;
    display: none;
}


.highlight.nav-item {
    border:1px solid white;
}
.navbar-toggler:focus {
    box-shadow:none;
    border:none;
}
a.navbar-brand {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.38);
}
.filter-pink {
    filter:invert(14%) sepia(83%) saturate(7335%) hue-rotate(317deg) brightness(90%) contrast(113%);
}
.neus {
    color: #ec0083;
    background-color:white;
    border-radius:5px;
    padding:5px;
    font-weight:bold;
}

.no-wrap {
    white-space: nowrap;
}
.bg-body-tertiary {
    background-color: #e8fdff;
}
.lineHeightFix {
    line-height: 40px;
}
.call {
    padding:5px;
    background-color: white;
    color:darkblue;
    border-radius:5px;
    border:1px solid darkred;
}
.yellow {
    padding:5px;
    color: yellow;
    border-radius:5px;
    font-weight:bold;
    background-color: black;
}
.navbar-toggler {
    box-shadow:none;
    border:none;
}

.navbar .nav-item .nav-link {
    color:white;
}
.myrule {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(74, 159, 255, 0.22), transparent);
    margin: 24px auto;
    width: 90%;
}

#expertise, #portfolio, #idee {
    scroll-margin-top:40px;
    overflow: initial !important;
}

.startvak {
    background: linear-gradient(0deg, rgba(195,224,224,1) 0%, rgba(255,255,255,1) 100%);
    border: 1px solid #7c7c7c;
    border-radius:10px;
    padding-top:10px;
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.25);
}

@keyframes blinker1 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    37% {
        opacity: 1;
        transform: scale(1);
    }
    40% {
        opacity: 0.6;
        transform: scale(1.15);
    }
    43% {
        opacity: 1;
        transform: scale(1);
    }
    46% {
        opacity: 0.6;
        transform: scale(1.35);
    }
    49% {
        opacity: 1;
        transform: scale(1);
    }
    52% {
        opacity: 0.6;
        transform: scale(1.5);
    }
    55% {
        opacity: 1;
        transform: scale(1);
    }
    57% {
        opacity: 0.6;
        transform: scale(1.35);
    }
    60% {
        opacity: 1;
        transform: scale(1);
    }
    63% {
        opacity: 0.6;
        transform: scale(1.15);
    }
    66% {
        opacity: 1;
        transform: scale(1);
    }

}
@keyframes blinker {
    10% {
        opacity: 0.6;
    }
}


.dofasttransition {

    animation: blinker 500ms linear infinite;
}
#actiefRow {
    font-weight: bold;
    font-size: calc(1.275rem + 0.3vw);
    line-height: 1.5;
    animation: blinker1 8s linear infinite;
}

#actiefRow td {
    background-color: #90ff90 !important;
}
html.h-100 body.d-flex.flex-column.h-100 main#main.flex-shrink-0 div.container div.nevo2023-index div#w0.grid-view.is-bs4.kv-grid-bs4.hide-resize div#w0-container.table-responsive.kv-grid-container table.kv-grid-table.table.table-hover.table-bordered.table-striped thead.kv-table-header.w0 tr#w0-filters.filters.skip-export td input#nevo2023search-voedingsmiddelnaam.form-control
.smallfont {
    font-size: 12px;
    float: right;
    margin-bottom: 0;
    margin-top: -10px;
}
form-check-input {
    clear: left;
}

.form-switch.form-switch-sm {
    margin-bottom: 0.5rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-sm .form-check-input {
    height: 1rem;
    width: calc(1rem + 0.75rem);
    border-radius: 2rem;
}


.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}
.nomargin {
    margin-bottom:0px;
}

.form-switch.form-switch-lg {
    margin-bottom: 1.5rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-lg .form-check-input {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}
.whiteBg {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius:10px;
    box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.25);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

.backgroundCarousel { z-index: -99; } /* keeps this behind all content */
.backgroundCarouselItem {
    position: fixed;
    width: 100%; height: 100%;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;

}
.backgroundOne {
    background: url(../images/background1.jpg);
    background-size: cover;
    background-position: center;
    -moz-background-size: cover;
}
.backgroundTwo {
    background: url(../images/background2.jpg);
    background-size: cover;
    background-position: center;
    -moz-background-size: cover;
}
.backgroundCarousel .active.left {
    left:0;
    opacity:0;
    z-index:2;
}
.whiteBgNoShadow {
    background-color:white;
    border-radius:10px;
    margin: -10px;
    padding: 10px;
}

.form-switch.form-switch-xl {
    margin-bottom: 2rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-xl .form-check-input {
    height: 2.5rem;
    width: calc(4rem + 0.75rem);
    border-radius: 5rem;
}
.nav-link {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 6px !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
    position: relative;
    transition: color 0.22s ease;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 70%;
}
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.10) !important;
    color: white !important;
    white-space: nowrap;
    border-radius: 8px;
}
.opsomming li {
    padding:0.8em;
    font-size:1.2em;
}
.carousel-control-prev-icon {
    filter: drop-shadow(0px 0px 2px #000000);
}
.carousel-control-next-icon {
    filter: drop-shadow(0px 0px 2px #000000);
}

.mycarousel {
    box-shadow: 13px 13px 13px 0px rgba(0,0,0,0.25);
    border:5px solid grey;
    border-radius:10px;
}

.featurette-image {
    margin-top:27px;
    margin-bottom:27px;
    box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.25);
    border-radius: 10px;
}
.rounded-image {
    border-radius: 10px;
}
.featurette-divider {
    border-top: 1px solid #6987c9;
    width:80%;
    margin: 40px auto !important;
    margin-top:50px !important;

}


.lead {
    font-weight: bold;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

div a.btn.btn-success {
    border:none;
}
.selector {
    color: white;
}
.selector:hover {
    color: white;
    border:1px white;
}

.selector:focus {
    color:white;
}
#footer {
    background: linear-gradient(90deg, #080f28 0%, #0e1e4a 50%, #080f28 100%) !important;
    border-top: 1px solid rgba(74, 159, 255, 0.12);
    color: rgba(160, 195, 255, 0.60);
}
.carousel.pointer-event {
    touch-action: pan-y pinch-zoom;
}


.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border:none;
}


.btn-primary:active {
    background-color: var(--primary)!important;
    color: #ffffff;
}

.form-check-input:checked {
    background-color: var(--primary);
    border:1px solid var(--primary);
}


.btn-primary:hover {
    background-color: var(--primary-highlight);
    color: #ffffff;
}

.btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}
.btn:active {
    transform: translateY(0) scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}


ul > li.page-item.active > a {
    background-color: var(--primary);
    border:1px solid var(--primary);
}

ul > li.page-item > a {
    color: var(--primary);
    border:1px solid var(--primary);
}
.page-link:hover {
    background-color: var(--primary-highlight);
    color:white;
    border:1px solid var(--primary);
    transition: all var(--animation-speed);

}

a {
    color: #0b3e6f;
    text-decoration:none;
    font-weight:bold;
}
div a.btn.btn-success:hover {
    background-color: var(--primary-highlight);
    transition: all var(--animation-speed);
    transform: translateY(-2px);
}


.kv-grid-table {
    border-radius: 15px;
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
}
.table-rounded {
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    font-style: normal;
    border-collapse: collapse;
    width: 100%;
    border-radius: 15px;

    /* add this */
    overflow:hidden;
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.50);
}

div button.btn.btn-success {
    border:none;
    color: #ffffff;
}

div button.btn.btn-success:hover {
    background-color: var(--primary-highlight);
    color: #ffffff;
    transition: all var(--animation-speed);
    transform: translateY(-2px);
}

.btn-danger:hover {
    transition: all var(--animation-speed);
    transform: translateY(-2px);
}


tbody tr.w0 td.w0 table.table.table-hover {
    margin-bottom: 0 !important;
    transition: all var(--animation-speed);

}


.navbar-toggler span {
    display: block;
    background-color: #ffffff;
    height: 3px;
    width: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all 0.35s ease-out;
    transform-origin: center left;
}



.navbar-toggler span:nth-child(1) {
    transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler span:nth-child(2) {
    opacity: 1;
}

.navbar-toggler span:nth-child(3) {
    transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler span:nth-child(1) {
    margin-top: 0.3em;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(15%, -33%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(15%, 33%) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   SHARED PAGE CHROME — article.php + blog.php
   ═══════════════════════════════════════════════════════════ */

/* Collapse the layout's empty header container when
   presentation=true is set with no title/buttons.           */
#main > .container:first-of-type {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
#main > .container:first-of-type .site-index {
    margin: 0 !important;
    min-height: 0 !important;
}

/* Sticky topbar: starts absolute inside a hero, fixes to the
   top (below the navbar) once the hero scrolls out of view. */
.page-topbar {
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    z-index: 20;
    background: rgba(6, 18, 52, 0.46);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(100, 160, 255, 0.10);
    transition: background 0.30s ease, box-shadow 0.30s ease;
}
.page-topbar.is-fixed {
    position: fixed;
    background: rgba(8, 22, 60, 0.96);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.48);
    border-bottom-color: rgba(100, 160, 255, 0.18);
}
.page-topbar-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 9px 0;
}
.page-topbar-navlink {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(170, 210, 255, 0.90);
    text-decoration: none;
    padding: 4px 14px 4px 0;
    border-right: 1px solid rgba(100, 160, 255, 0.22);
    margin-right: 14px;
    transition: color 0.20s ease;
}
.page-topbar-navlink:hover { color: #fff; text-decoration: none; }
.page-topbar-meta {
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(155, 200, 255, 0.78);
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-topbar-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(100, 160, 255, 0.45);
    flex-shrink: 0;
}

/* Decorative accent bar used in both article and blog heroes. */
.page-hero-accent {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, rgba(100, 170, 255, 0.9), transparent);
    border-radius: 3px;
    margin-bottom: 20px;
}


/* ── HERO ──────────────────────────────────────────────────── */
.arth-hero {
    position: relative;
    width: 100%;
    min-height: 74vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0,0,0,0.55);
    margin-top: -10px;
}
.arth-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 35%;
    will-change: transform;
}
.arth-hero-no-img { background: linear-gradient(155deg,#1a3566 0%,#0a1628 100%); }
.arth-hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            175deg,
            rgba(10,24,62,0.48)  0%,
            rgba(6,18,52,0.75)  42%,
            rgba(2,8,26,0.96)  100%
    );
}
.arth-hero-top-fade {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 130px;
    background: linear-gradient(to bottom,rgba(3,10,32,0.58) 0%,transparent 100%);
}
.arth-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 152px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 70px;
}
.arth-hero-title {
    font-family: "Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
    font-size: clamp(1.9rem,5vw,3.5rem);
    font-weight: 700;
    line-height: 1.18;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0,0,0,0.70),0 1px 6px rgba(0,0,0,0.50);
    margin: 0 0 24px;
    max-width: 840px;
}
.arth-hero-lead {
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(1rem,1.8vw,1.20rem);
    line-height: 1.75;
    color: rgba(210,228,255,0.88);
    max-width: 700px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.50);
}

/* ── BODY ──────────────────────────────────────────────────── */
.arth-body-section {
    background: #fff;
    padding: 58px 0 48px;
}
.arth-body-section + .arth-body-section {
    padding-top: 44px;
}
.arth-body-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 28px;
    font-family: Georgia,"Times New Roman",serif;
    font-size: 1.07rem;
    line-height: 1.88;
    color: #1c1c2e;
}
.arth-body-wrap p   { margin-bottom: 1.4em; }
.arth-body-wrap img { max-width:100%; border-radius:10px; box-shadow:0 4px 20px rgba(10,28,90,0.16); margin:1.5em 0; }
.arth-body-wrap h2,
.arth-body-wrap h3,
.arth-body-wrap h4 {
    font-family: "Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
    color: #162d62;
    margin-top: 2em;
    text-shadow: none;
}
.arth-body-wrap a {
    color: #244e6c;
    border-bottom: 1px solid rgba(36,78,108,0.28);
    text-decoration: none;
    font-weight: bold;
}
.arth-body-wrap a:hover { color:#0b3e6f; border-bottom-color:rgba(11,62,111,0.60); }

/* ── INLINE IMAGE BREAK ────────────────────────────────────── */
.arth-img-break {
    background: #0a1830;
    padding: 36px 24px;
    position: relative;
}
/* Alternating dark shades for visual rhythm */
.arth-img-break:nth-of-type(even) { background: #0e2040; }

.arth-img-break-figure {
    max-width: 940px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 60px rgba(0,0,0,0.60), 0 2px 10px rgba(0,0,0,0.35);
    position: relative;
    cursor: zoom-in;
}
.arth-img-break-figure img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.60s cubic-bezier(0.22,0.61,0.36,1);
    will-change: transform;
}
.arth-img-break-figure:hover img { transform: scale(1.04); }

.arth-img-break-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(175deg,transparent 45%,rgba(4,12,36,0.42) 100%);
    pointer-events: none;
    transition: background 0.38s ease;
}
.arth-img-break-figure:hover .arth-img-break-overlay {
    background: linear-gradient(175deg,rgba(14,32,80,0.10) 0%,rgba(4,12,36,0.58) 100%);
}
.arth-img-break-expand {
    position: absolute;
    bottom: 14px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(8,22,60,0.56);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(100,160,255,0.24);
    display: flex; align-items: center; justify-content: center;
    color: rgba(180,215,255,0.85);
    font-size: 0.72rem;
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.arth-img-break-figure:hover .arth-img-break-expand { opacity:1; transform:scale(1); }

/* ── LIGHTBOX ──────────────────────────────────────────────── */
.arth-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(2,6,20,0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.arth-lightbox.open { display: flex; }
.arth-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 28px 90px rgba(0,0,0,0.85);
    cursor: default;
}
.arth-lightbox-close {
    position: absolute;
    top: 20px; right: 26px;
    color: rgba(180,210,255,0.8);
    font-size: 1.6rem;
    cursor: pointer;
    background: none; border: none;
    line-height: 1;
    transition: color 0.2s;
}
.arth-lightbox-close:hover { color: #fff; }

/* ── BIO ───────────────────────────────────────────────────── */
.arth-bio-section {
    background: #f4f6fb;
    border-top: 1px solid rgba(36,78,108,0.10);
    padding: 52px 0 58px;
}
.arth-bio-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 28px;
}
.arth-bio-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 34px;
}
.arth-bio-photo {
    width: 76px; height: 76px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(36,78,108,0.22);
    box-shadow: 0 3px 14px rgba(10,28,90,0.18);
}
.arth-bio-caption {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.13em; text-transform: uppercase;
    color: rgba(36,78,108,0.60);
    margin-bottom: 3px;
}
.arth-bio-name {
    font-family: "Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
    font-size: 1.05rem; font-weight: 700;
    color: #162d62;
    margin-bottom: 8px;
}
.arth-bio-text {
    font-family: Georgia,"Times New Roman",serif;
    font-size: 0.86rem;
    line-height: 1.68;
    color: #555;
}
.arth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem; font-weight: 700;
    letter-spacing: 0.11em; text-transform: uppercase;
    color: #244e6c;
    border: 1.5px solid rgba(36,78,108,0.32);
    border-bottom: 1.5px solid rgba(36,78,108,0.32) !important;
    padding: 9px 20px;
    border-radius: 24px;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.arth-back-link:hover {
    background: #244e6c; color: #fff;
    border-color: #244e6c;
    transform: translateY(-2px);
}

@media (max-width: 680px) {
    .arth-hero { min-height: 62vh; }
    .arth-hero-title { font-size: 1.75rem; }
    .arth-img-break-figure img { height: 260px; }
    .arth-img-break { padding: 20px 12px; }
    .arth-bio-card { flex-direction: column; gap: 14px; }
}


/* ── BLOG HERO ───────────────────────────────────────────── */
.blog-hero {
    position: relative;
    width: 100%;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    margin-top: -10px;
    box-shadow: 0 6px 40px rgba(0,0,0,0.45);
    background: linear-gradient(148deg, #1d3660 0%, #0f2244 45%, #060e22 100%);
}
/* Subtle diagonal line texture */
.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
            45deg,
            transparent 0px, transparent 44px,
            rgba(255,255,255,0.013) 44px, rgba(255,255,255,0.013) 45px
    );
    pointer-events: none;
}
/* Top-left shimmer */
.blog-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(100,165,255,0.07) 0%, transparent 52%);
    pointer-events: none;
}

/* ── HERO CONTENT ────────────────────────────────────────── */
.blog-hero-body {
    position: relative;
    z-index: 2;
    padding: 0 0 56px;
}
.blog-hero-title {
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0,0,0,0.55), 0 1px 6px rgba(0,0,0,0.40);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.blog-hero-sub {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
    line-height: 1.6;
    color: rgba(200,222,255,0.80);
    max-width: 560px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.40);
}
.blog-hero-page {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(140,190,255,0.80);
    background: rgba(15,35,80,0.52);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(100,160,255,0.20);
    padding: 5px 13px;
    border-radius: 20px;
}

/* ── SECTION SPACING ─────────────────────────────────────── */
.blog-section {
    padding: 40px 0 10px;
}
.blog-section-bg {
    padding: 30px 0 20px;
}

/* ── PAGINATION ──────────────────────────────────────────── */
.blog-pager {
    padding: 28px 0 40px;
    display: flex;
    justify-content: center;
}

@media (max-width: 680px) {
    .blog-hero { min-height: 34vh; }
    .blog-hero-title { font-size: 2.2rem; }
    .blog-hero-body { padding-bottom: 36px; }
}

/* ── ARTICLE CARD GRID ───────────────────────────────────── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 8px 0;
    width: 100%;
}
@media (max-width: 1100px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .article-grid { grid-template-columns: 1fr; }
}

.art-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 340px;
    box-shadow:
        0 4px 24px rgba(10, 28, 70, 0.55),
        0 1px 4px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(120, 170, 255, 0.12);
    border: 1px solid rgba(80, 130, 220, 0.15);
    transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.art-card:hover {
    transform: translateY(-7px) scale(1.018);
    box-shadow:
        0 18px 52px rgba(10, 28, 70, 0.7),
        0 4px 14px rgba(36, 78, 140, 0.45),
        inset 0 1px 0 rgba(140, 190, 255, 0.18);
}
.art-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.art-card:hover .art-card-bg {
    transform: scale(1.09);
}
.art-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        175deg,
        rgba(18, 40, 88, 0.62)  0%,
        rgba(10, 28, 68, 0.85)  48%,
        rgba(4, 14, 38, 0.97)  100%
    );
    transition: background 0.38s ease;
}
.art-card:hover .art-card-overlay {
    background: linear-gradient(
        175deg,
        rgba(28, 58, 118, 0.58) 0%,
        rgba(18, 44, 96, 0.80)  48%,
        rgba(6, 18, 48, 0.96)   100%
    );
}
.art-card-no-img {
    background: linear-gradient(145deg, #162d62 0%, #091a40 100%);
}
.art-card-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(110, 170, 255, 0.07) 0%, transparent 55%);
    pointer-events: none;
}
.art-card-link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 20px 18px;
    color: #fff;
    text-decoration: none;
    z-index: 2;
}
.art-card-link:hover { color: #fff; text-decoration: none; }
.art-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(170, 210, 255, 0.9);
    background: rgba(8, 24, 60, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 10px 4px;
    border-radius: 20px;
    border: 1px solid rgba(110, 170, 255, 0.22);
    z-index: 2;
}
.art-card-accent {
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, rgba(110, 170, 255, 0.9), transparent);
    border-radius: 2px;
    margin-bottom: 9px;
    transition: width 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.art-card:hover .art-card-accent {
    width: 52px;
}
.art-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 7px;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.65);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.art-card-lead {
    font-size: 0.79rem;
    line-height: 1.55;
    color: rgba(190, 215, 255, 0.82);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 11px;
}
.art-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(140, 190, 255, 1);
    transition: color 0.25s ease, gap 0.25s ease;
}
.art-card:hover .art-card-cta {
    color: #fff;
    gap: 9px;
}

/* ── LAYOUT UTILITIES ────────────────────────────────────── */
.main-container-presentation {
    padding: 37px 15px 20px;
}
.main-container-default {
    padding: 70px 15px 20px;
}
.main-container-with-header {
    padding: 28px 15px 20px;
}
.site-index-blog {
    margin-top: 50px;
}
#video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.video-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    /* let Bootstrap .container keep its own horizontal gutter */
}
.art-grid-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px 0 10px;
    gap: 12px;
}
.art-grid-cta::before,
.art-grid-cta::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(74, 159, 255, 0.20));
}
.art-grid-cta::after {
    background: linear-gradient(to left, transparent, rgba(74, 159, 255, 0.20));
}
.art-grid-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-icon);
    border: 1.5px solid rgba(46, 127, 216, 0.28);
    padding: 10px 26px;
    border-radius: 28px;
    text-decoration: none !important;
    transition: background 0.24s ease, color 0.24s ease,
                border-color 0.24s ease, transform 0.24s ease,
                box-shadow 0.24s ease;
    white-space: nowrap;
}
.art-grid-cta-link i { color: inherit; }
.art-grid-cta-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(29, 58, 110, 0.28);
}

/* ── PAGE HEADER BANNER ──────────────────────────────────── */
.page-header-banner {
    position: relative;
    width: 100%;
    padding-top: 56px; /* clear fixed navbar */
    background: linear-gradient(148deg, #1d3660 0%, #0f2244 45%, #060e22 100%);
    box-shadow: 0 6px 48px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}
/* Diagonal line texture */
.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0px, transparent 44px,
        rgba(255, 255, 255, 0.016) 44px, rgba(255, 255, 255, 0.016) 45px
    );
    pointer-events: none;
}
/* Bottom edge fade to page bg */
.page-header-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(2, 8, 26, 0.18));
    pointer-events: none;
}
/* Top-left shimmer accent */
.page-header-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(100, 165, 255, 0.09) 0%, transparent 52%);
    pointer-events: none;
    z-index: 1;
}
.page-header-inner {
    position: relative;
    z-index: 2;
    padding: 44px 0 48px;
}
.page-header-title {
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.18;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.60), 0 1px 6px rgba(0, 0, 0, 0.40);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
/* Neutralise the default h1 text-shadow and colour set for light backgrounds */
.page-header-banner h1.page-header-title {
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.60), 0 1px 6px rgba(0, 0, 0, 0.40);
}
.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.page-header-actions .btn {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border-radius: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.page-header-actions .btn:hover {
    transform: translateY(-2px) scale(1.00);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.page-header-actions .btn-primary {
    background: rgba(36, 100, 180, 0.82);
    border: 1px solid rgba(110, 170, 255, 0.38);
    color: #fff;
}
.page-header-actions .btn-primary:hover {
    background: rgba(50, 120, 210, 0.96);
    border-color: rgba(140, 190, 255, 0.55);
    color: #fff;
}
.page-header-actions .btn-success {
    background: rgba(22, 120, 80, 0.82);
    border: 1px solid rgba(60, 200, 130, 0.35);
    color: #fff;
}
.page-header-actions .btn-success:hover {
    background: rgba(28, 145, 98, 0.96);
    border-color: rgba(80, 220, 155, 0.50);
    color: #fff;
}
.page-header-actions .btn-danger {
    background: rgba(160, 30, 30, 0.82);
    border: 1px solid rgba(255, 100, 100, 0.32);
    color: #fff;
}
.page-header-actions .btn-danger:hover {
    background: rgba(190, 40, 40, 0.96);
    color: #fff;
}
.page-header-actions .btn-secondary {
    background: rgba(80, 100, 140, 0.65);
    border: 1px solid rgba(140, 170, 220, 0.30);
    color: rgba(200, 220, 255, 0.90);
}
.page-header-actions .btn-secondary:hover {
    background: rgba(100, 125, 170, 0.88);
    color: #fff;
}

@media (max-width: 680px) {
    .page-header-inner { padding: 32px 0 36px; }
    .page-header-title { font-size: 1.7rem; }
    .page-header-actions { gap: 8px; }
    .page-header-actions .btn { padding: 9px 18px; font-size: 0.83rem; }
}

/* ══════════════════════════════════════════════════════════
   VIDEO HERO — index.php
   ══════════════════════════════════════════════════════════ */
.video-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-icon-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.video-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.video-hero-brand {
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 36px rgba(0, 0, 0, 0.65), 0 2px 10px rgba(0, 0, 0, 0.45);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.08;
}
.video-hero-tagline {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 2.4vw, 1.55rem);
    color: rgba(200, 225, 255, 0.85);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.50);
    margin: 0 0 34px;
    font-weight: 400;
    line-height: 1.45;
    max-width: 580px;
}
.video-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
/* Hero CTA buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 58, 110, 0.80);
    border: 1px solid rgba(74, 159, 255, 0.44);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    padding: 12px 28px;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.btn-hero-primary:hover {
    background: rgba(42, 82, 165, 0.95);
    border-color: rgba(100, 180, 255, 0.68);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(20, 70, 200, 0.38);
}
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(215, 235, 255, 0.90);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    padding: 12px 28px;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.50);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

/* ══════════════════════════════════════════════════════════
   DARK SECTION TEXT & CONTENT OVERRIDES
   ══════════════════════════════════════════════════════════ */
.fullWidthBackground h1, .fullWidthBackground2 h1 {
    color: #fff;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.58);
}
.fullWidthBackground p, .fullWidthBackground2 p {
    color: rgba(210, 230, 255, 0.88);
}
.fullWidthBackground .lead, .fullWidthBackground2 .lead {
    color: rgba(200, 225, 255, 0.82);
}
/* Alerts restyled for dark backgrounds */
.fullWidthBackground .alert-secondary,
.fullWidthBackground2 .alert-secondary {
    background: rgba(14, 32, 85, 0.55);
    border: 1px solid rgba(74, 159, 255, 0.22);
    color: rgba(210, 232, 255, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}
/* Container light sections - subtle gradient tint */
main .container > .row > [class*="col"] > h1:first-child {
    padding-top: 10px;
}

/* ══════════════════════════════════════════════════════════
   MARQUEE SECTION
   ══════════════════════════════════════════════════════════ */
/* Dark marquee band — continuous with the video hero above it so the
   two read as a single full-screen unit. */
.marquee-section {
    background: linear-gradient(180deg, #05102c 0%, #081634 100%);
    border-top: 1px solid rgba(74, 159, 255, 0.12);
    border-bottom: 1px solid rgba(74, 159, 255, 0.12);
    padding: 8px 0;
    box-shadow: inset 0 18px 30px -22px rgba(0, 0, 0, 0.9);
    scroll-margin-top: 61px;
}
.marquee-item {
    flex: 0 0 auto;
    padding: 0 26px;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.22s ease;
}
.marquee-item:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   GLOBAL FLOATING BACK-TO-TOP
   ══════════════════════════════════════════════════════════ */
.global-back-top {
    position: fixed;
    bottom: 30px;
    right: 26px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(12, 28, 72, 0.52);
    border: 1px solid rgba(74, 159, 255, 0.22);
    color: rgba(150, 200, 255, 0.75);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 490;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.30s ease, transform 0.30s ease, background 0.22s ease, color 0.22s ease;
    text-decoration: none !important;
}
.global-back-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.global-back-top:hover {
    background: rgba(22, 52, 138, 0.78);
    color: #fff;
    border-color: rgba(100, 170, 255, 0.48);
    transform: translateY(-2px) !important;
}
/* Inline back-to-top button (index.php expertise section) */
.btn-back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(29, 58, 110, 0.45);
    border: 1px solid rgba(74, 159, 255, 0.40);
    color: rgba(220, 237, 255, 0.90);
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
    text-decoration: none !important;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    float: right;
}
.btn-back-top:hover {
    background: rgba(42, 80, 160, 0.68);
    color: #fff;
    border-color: rgba(100, 170, 255, 0.48);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   WHITEBG PANEL IMPROVEMENTS
   ══════════════════════════════════════════════════════════ */
.whiteBg {
    background: linear-gradient(145deg, rgba(255,255,255,0.72) 0%, rgba(240,246,255,0.68) 100%);
    border: 1px solid rgba(74, 159, 255, 0.10);
    border-radius: 14px;
    box-shadow: 0 4px 28px rgba(10, 30, 80, 0.10), 0 1px 6px rgba(0,0,0,0.06);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 18px 20px;
    backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════════════════════════
   CAROUSEL IMPROVEMENTS
   ══════════════════════════════════════════════════════════ */
.mycarousel {
    box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.20);
    border: 3px solid rgba(74, 159, 255, 0.18);
    border-radius: 16px;
    overflow: hidden;
}
.featurette-image {
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(10, 28, 90, 0.18);
}

/* ══════════════════════════════════════════════════════════
   MOBILE IMPROVEMENTS
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .fullWidthNoBackground {
        height: calc(100vh - 56px);
        min-height: 480px;
        align-items: flex-end;
        padding-bottom: 48px;
    }
    .video-hero-brand { font-size: 2.4rem; }
    .video-hero-tagline { font-size: 1.05rem; margin-bottom: 24px; }
    .video-hero-actions { gap: 10px; }
    .btn-hero-primary, .btn-hero-outline { padding: 10px 20px; font-size: 0.88rem; }
    .fullWidthBackground, .fullWidthBackground2 {
        background-attachment: scroll;
        padding-top: 32px;
        padding-bottom: 40px;
    }
    .marquee-item { padding: 0 14px; font-size: 1rem; }
    .global-back-top { bottom: 20px; right: 16px; }
    .navbar .nav-link::after { display: none; }
    /* Mobile menu: full-width items */
    .navbar-collapse .nav-item { border-radius: 6px !important; margin: 2px 0 !important; }
}
@media (max-width: 480px) {
    .fullWidthNoBackground { height: calc(100vh - 56px); min-height: 440px; }
}

/* ── Language switcher ─────────────────────────────────────── */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    align-self: center;
    margin-left: 16px;
    padding: 3px 4px 3px 9px;
    border: 1px solid rgba(74, 159, 255, 0.28);
    border-radius: 999px;
    background: rgba(8, 20, 55, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.lang-switch-icon {
    font-size: 0.74rem;
    color: #fff;
    margin-right: 3px;
    opacity: 0.9;
}
.lang-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    color: rgba(214, 230, 255, 0.6);
    text-decoration: none;
    transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.lang-opt:hover {
    color: #fff;
    background: rgba(74, 159, 255, 0.16);
}
.lang-opt.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--accent) 100%);
    box-shadow: 0 2px 10px rgba(74, 159, 255, 0.4);
    cursor: default;
}
.lang-opt:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
@media (max-width: 1199.98px) {
    /* Collapsed mobile menu: give the switcher its own row, left-aligned */
    .lang-switch {
        align-self: flex-start;
        margin: 10px 0 4px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lang-opt { transition: none; }
}

/* ══════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM  (v75)
   Two voices for a studio that both builds and writes:
   · Display — Space Grotesk: engineered, geometric. The brand /
     "build" voice: wordmark, headings, eyebrows, labels, UI.
   · Serif   — Fraunces (optical): the editorial / "written by us"
     voice, reserved for the blog, long-form articles & taglines.
   · Body    — Hanken Grotesk: warm grotesque for running text & UI.
   This block lives last so it intentionally overrides the older
   per-component font stacks above at equal specificity.
   ══════════════════════════════════════════════════════════ */
body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.006em;
}

/* Product / marketing headings + labels → display grotesk */
h1, h2, h3, h4, h5,
.video-hero-eyebrow,
.page-topbar-navlink, .page-topbar-meta,
.art-card-badge, .art-card-cta, .art-grid-cta-link,
.blog-hero-page, .arth-bio-caption,
.sitelogo, a.sitelogo, a.sitelogo:hover {
    font-family: var(--font-display);
}

h1 {
    font-weight: 600;
    letter-spacing: -0.022em;
    /* Retire the dated multi-layer white glow for a single clean lift */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
h2, h3, h4, h5 { letter-spacing: -0.015em; }

/* Dark-section headings keep their existing white treatment, just
   re-asserted here so the softened h1 shadow above doesn't bleed in. */
.fullWidthBackground h1, .fullWidthBackground2 h1 {
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.58);
}

/* Buttons & nav → body grotesk with engineered tracking */
.btn, .nav-link, .navbar-brand,
.btn-hero-primary, .btn-hero-outline,
.lang-opt, .arth-back-link {
    font-family: var(--font-body);
}
.btn { letter-spacing: 0.012em; }

/* Brand wordmark → display, oversized & tightly tracked, with an
   electric-blue ".nl" so it reads as a logo rather than plain text. */
.video-hero-brand {
    font-family: var(--font-display) !important;
    font-weight: 700;
    font-size: clamp(2.8rem, 8.5vw, 6.2rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    text-shadow: 0 6px 44px rgba(0, 0, 0, 0.55);
}
.vh-name { color: #fff; }
.vh-tld {
    background: linear-gradient(118deg, var(--accent) 0%, #8fc9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
}
/* Tagline → clean body grotesk (the editorial serif read as "strange" here) */
.video-hero-tagline {
    font-family: var(--font-body) !important;
    font-weight: 400;
    letter-spacing: -0.004em;
}
.page-header-title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* Editorial voice → Fraunces serif (blog + articles + hero tagline) */
.arth-hero-title, .blog-hero-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.018em;
}
.arth-hero-lead, .blog-hero-sub,
.arth-body-wrap, .arth-bio-text {
    font-family: var(--font-serif);
}
.arth-body-wrap h2, .arth-body-wrap h3, .arth-body-wrap h4 {
    font-family: var(--font-serif);
    font-weight: 600;
}
.arth-bio-name { font-family: var(--font-serif); }

/* Optical-size hint so Fraunces sets display titles vs. body text right */
.arth-hero-title, .blog-hero-title, .page-header-title {
    font-optical-sizing: auto;
}

/* ══════════════════════════════════════════════════════════
   HERO SCROLL CUE — points down to the marquee band
   ══════════════════════════════════════════════════════════ */
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(180, 210, 255, 0.68);
    text-decoration: none !important;
    transition: color 0.25s ease;
}
.hero-scroll-cue:hover { color: #fff; }
.hero-scroll-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}
.hero-scroll-cue i {
    font-size: 0.8rem;
    animation: heroCueBounce 2.4s ease-in-out infinite;
}
@keyframes heroCueBounce {
    0%, 100% { transform: translateY(0);   opacity: 0.55; }
    50%      { transform: translateY(5px); opacity: 1; }
}
@media (max-width: 768px) { .hero-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue i { animation: none; } }

/* ══════════════════════════════════════════════════════════
   BUTTON HARMONY — fold the amber CTA into the palette
   ══════════════════════════════════════════════════════════ */
.btn-warning {
    background: linear-gradient(135deg, #f5b133 0%, #e88c0c 100%);
    border: none;
    color: #1c1305;
    box-shadow: 0 4px 18px rgba(232, 140, 12, 0.28);
}
.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, #ffc24d 0%, #f59413 100%);
    color: #1c1305;
}
.btn-warning:active { background: linear-gradient(135deg, #e8a52b 0%, #d6810a 100%) !important; color:#1c1305; }
.btn-lg { border-radius: 30px; padding: 12px 30px; }

/* ══════════════════════════════════════════════════════════
   FOOTER — brand + quick links, dark to match the chrome
   ══════════════════════════════════════════════════════════ */
#footer {
    background: linear-gradient(90deg, #060c20 0%, #0c1838 55%, #060c20 100%) !important;
    border-top: 1px solid rgba(74, 159, 255, 0.14);
    color: rgba(170, 200, 255, 0.62);
    padding: 0 !important;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 32px 15px 24px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: #fff;
}
.footer-tld {
    background: linear-gradient(118deg, var(--accent) 0%, #8fc9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-tagline {
    margin: 5px 0 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: rgba(150, 185, 240, 0.62);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.footer-links a {
    color: rgba(185, 212, 255, 0.78);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-base {
    border-top: 1px solid rgba(74, 159, 255, 0.08);
    padding: 13px 0;
    font-family: var(--font-body);
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-align: center;
    color: rgba(140, 175, 225, 0.5);
}

/* ══════════════════════════════════════════════════════════
   ERROR PAGE — a composed state, not a bare alert
   ══════════════════════════════════════════════════════════ */
.error-page {
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 60px;
}
.error-page-inner { max-width: 580px; text-align: center; }
.error-page-code {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 16vw, 8.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
.error-page-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #16213a;
    text-shadow: none;
    margin: 0 0 16px;
}
.error-page-msg {
    color: #5a6275;
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 6px;
}
.error-page-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}