.elementor-kit-10{--e-global-color-primary:#646464;--e-global-color-secondary:#EEEFEA;--e-global-color-text:#000000;--e-global-color-accent:#646464;--e-global-typography-primary-font-family:"kohinoor-telugu";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"athelas";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"kohinoor-telugu";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"athelas";--e-global-typography-accent-font-weight:500;background-color:#EBEAE4;}.elementor-kit-10 e-page-transition{background-color:#EEEFEAE3;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1200px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* Site grid (design 2560: margin 60, 4 columns of 550, gutter 80).
   Margin stays fixed (aligned with logo and menu); gutter and columns scale with the viewport.
   Variables only: elements opt in by using them. */
body {
    container-type: inline-size;
    --kv-margin: 60px;
    --kv-gutter: calc(100cqw * 80 / 2560);
    --kv-col: calc((100cqw - 2 * var(--kv-margin) - 3 * var(--kv-gutter)) / 4);
    --kv-span-2: calc(2 * var(--kv-col) + var(--kv-gutter));
    --kv-span-3: calc(3 * var(--kv-col) + 2 * var(--kv-gutter));
}

/* Type scale (design 2560: sizes in pt = px). One shared factor for every size:
   exact design size at 2560, scaling down with the viewport, never below 12/13 of the design size
   (body text 12px), so the proportions between all sizes stay identical. Line height 1.2 as in the design. */
body {
    --kv-fs-display: clamp(calc(30px * 12 / 13), calc(100cqw * 30 / 2560), 30px);
    --kv-fs-menu-active: clamp(calc(17px * 12 / 13), calc(100cqw * 17 / 2560), 17px);
    --kv-fs-title: clamp(calc(16px * 12 / 13), calc(100cqw * 16 / 2560), 16px);
    --kv-fs-menu: clamp(calc(16px * 12 / 13), calc(100cqw * 16 / 2560), 16px);
    --kv-fs-subinfo: clamp(calc(15px * 12 / 13), calc(100cqw * 15 / 2560), 15px);
    --kv-fs-caption: clamp(calc(14px * 12 / 13), calc(100cqw * 14 / 2560), 14px);
    --kv-fs-body: 12px; /* 2026-11-11 (Andy): Kohinoor-tekst vast 12px, niet meer meeschalen. Was: clamp(12px, calc(100cqw * 13 / 2560), 13px) */
    --kv-fs-small: clamp(calc(10px * 12 / 13), calc(100cqw * 10 / 2560), 10px);
    --kv-lh: 1.2;
}

/* === forms === */
/* Forms (contact form + client login): one look for both (feedback 15/10).
   Typed text black, placeholder in one grey, submit buttons like the menu buttons (Athelas Regular, not bold). */
body {
    --kv-form-placeholder: #667085;
}

body:not(#kv-type) .kerstens-login-page input,
body:not(#kv-type) .elementor-26 .frm_forms input:not([type=hidden]):not([type=submit]),
body:not(#kv-type) .elementor-26 .frm_forms textarea {
    font-family: "kohinoor-telugu", sans-serif;
    font-size: var(--kv-fs-body);
    font-weight: 300;
    line-height: var(--kv-lh);
    color: #000;
}

body:not(#kv-type) .kerstens-login-page input::placeholder,
body:not(#kv-type) .elementor-26 .frm_forms input::placeholder,
body:not(#kv-type) .elementor-26 .frm_forms textarea::placeholder {
    color: var(--kv-form-placeholder);
    opacity: 1;
}

body:not(#kv-type) .kerstens-login-page button[type=submit],
body:not(#kv-type) .elementor-26 .frm_forms .frm_button_submit,
body:not(#kv-type) .elementor-26 .frm_forms button[type=submit] {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-menu);
    font-weight: 400;
    color: #000;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
}

/* secondary links on the login page (register here, I already have a code, ...) and its intro text */
body:not(#kv-type) .kerstens-login-page .kerstens-link-btn,
body:not(#kv-type) .kerstens-login-page .kl-links,
body:not(#kv-type) .kerstens-login-page .kl-intro {
    font-family: "kohinoor-telugu", sans-serif;
    font-size: var(--kv-fs-body);
    font-weight: 300;
    line-height: var(--kv-lh);
    color: #646464;
}

body:not(#kv-type) .kerstens-login-page .kerstens-link-btn:hover {
    color: #000;
}

@media (min-width: 1201px) {
    /* login form in column 4, bottom in line with the menu */
    body:not(#kv-type) .kerstens-login-page .kerstens-login-wrap {
        width: var(--kv-col);
        max-width: var(--kv-col);
        margin-left: auto;
        margin-right: 0;
    }

    body:not(#kv-type) .kerstens-login-page .kerstens-error:empty {
        display: none;
    }
}

/* Formidable sets its own sizes with !important, so these need it too */
body:not(#kv-type) .elementor-26 .frm_forms input:not([type=hidden]):not([type=submit]),
body:not(#kv-type) .elementor-26 .frm_forms textarea {
    font-size: var(--kv-fs-body) !important;
    font-weight: 300 !important;
}

body:not(#kv-type) .elementor-26 .frm_forms .frm_button_submit {
    font-family: "athelas", serif !important;
    font-size: var(--kv-fs-menu) !important;
    font-weight: 400 !important;
}

/* the form's last line ends in line with the text and the menu (Formidable adds -5px under the fieldset) */
body:not(#kv-type) .elementor-26 .frm_forms fieldset {
    margin-bottom: 0 !important;
}

/* Formidable gives the placeholder its own fixed size (11px): same size as the typed text and the login form */
body:not(#kv-type) .elementor-26 .frm_forms input::placeholder,
body:not(#kv-type) .elementor-26 .frm_forms textarea::placeholder {
    font-size: var(--kv-fs-body) !important;
    font-weight: 300 !important;
}

/* Contact form errors (client feedback): only a text message. A field with an error keeps its normal look
   (no white background, no red frame); the messages use the body text style. */
body:not(#kv-type) .elementor-26 .frm_forms .frm_blank_field input:not([type=hidden]):not([type=submit]),
body:not(#kv-type) .elementor-26 .frm_forms .frm_blank_field textarea,
body:not(#kv-type) .elementor-26 .frm_forms input:not([type=hidden]):not([type=submit])[aria-invalid=true],
body:not(#kv-type) .elementor-26 .frm_forms textarea[aria-invalid=true],
body:not(#kv-type) .frm_forms .frm_form_field input:not([type=hidden]):not([type=submit]):invalid,
body:not(#kv-type) .frm_forms .frm_form_field textarea:invalid,
body:not(#kv-type) .frm_forms .frm_form_field select:invalid {
    background: transparent !important;
    color: #000 !important;
    border-width: 0 0 1px 0 !important;
    border-style: solid !important;
    border-color: #ccc !important;
    box-shadow: none !important;
    outline: none !important;
}

/* the field being typed in keeps its grey line: no black line while typing (client feedback) */
body:not(#kv-type) .frm_forms .frm_form_field input:not([type=hidden]):not([type=submit]):focus,
body:not(#kv-type) .frm_forms .frm_form_field textarea:focus,
body:not(#kv-type) .frm_forms .frm_form_field select:focus {
    border-color: #ccc !important;
}

body:not(#kv-type) .elementor-26 .frm_forms .frm_error,
body:not(#kv-type) .elementor-26 .frm_forms .frm_error_style {
    font-family: "kohinoor-telugu", sans-serif !important;
    font-size: var(--kv-fs-body) !important;
    font-weight: 300 !important;
    line-height: var(--kv-lh) !important;
    color: #000 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

body:not(#kv-type) .elementor-26 .frm_forms .frm_error {
    margin-top: 4px !important;
}

body:not(#kv-type) .elementor-26 .frm_forms .frm_error_style {
    margin: 0 0 20px !important;
}

body:not(#kv-type) .elementor-26 .frm_forms .frm_error_style svg,
body:not(#kv-type) .elementor-26 .frm_forms .frm_error_style img {
    display: none !important;
}

/* With field errors the message above the form goes: each field shows its own message (client feedback).
   Other form messages (e.g. a failed submission) stay visible. */
body:not(#kv-type) .elementor-26 .frm_forms:has(.frm_blank_field) .frm_error_style {
    display: none !important;
}

/* === project tabs === */
/* Project pages: 'images' / 'drawings' colour follows the tab that is actually shown,
   not Elementor's scroll spy (which marked 'images' active while scrolling through the drawings on mobile, feedback 15/10) */
body.single-project:has(#images:not(.hidden-tab)):not(#kv-tabs) .elementor-nav-menu a[href="#images"],
body.single-project:has(#drawings:not(.hidden-tab)):not(#kv-tabs) .elementor-nav-menu a[href="#drawings"] {
    color: #000 !important;
}

body.single-project:has(#images:not(.hidden-tab)):not(#kv-tabs) .elementor-nav-menu a[href="#drawings"]:not(:hover),
body.single-project:has(#drawings:not(.hidden-tab)):not(#kv-tabs) .elementor-nav-menu a[href="#images"]:not(:hover) {
    color: #646464 !important;
}

/* the tab that is not selected is hidden on every project (was only set on GF residence) */
body.single-project #images.hidden-tab,
body.single-project #drawings.hidden-tab {
    display: none !important;
}

/* === scroll text === */
/* Text boxes with an internal scroll (.scrollable-text): same everywhere (collection pages used a fixed 375px, GF residence 45vh).
   The text may use the available screen height (screen minus logo, title, sub info, menu and margins);
   only longer texts scroll (the 'Scroll' custom code removes the scroll when the text fits). */
body:not(#kv-type) .scrollable-text {
    max-height: calc(100vh - 380px);
    padding-right: 12px;
}

/* text that fits: no scroll, so the full column width is used for the text */
body:not(#kv-type) .scrollable-text.no-scroll {
    padding-right: 0;
}

/* Scrollbar: the original very thin custom scrollbar (1px black line, no track) lives in
   Appearance > Customize > Additional CSS. Nothing may override it: the 'thin' setting in the page CSS
   made Chrome show its own, thicker bar. (Never write the word s-e-l-e-c-t-o-r in kit CSS: Elementor replaces it.) */
body:not(#kv-type) .scrollable-text {
    scrollbar-width: auto;
    scrollbar-color: auto;
    padding-right: 8px;
}

/* Firefox has no custom scrollbars: its thinnest one, in black */
@supports (-moz-appearance: none) {
    body:not(#kv-type) .scrollable-text {
        scrollbar-width: thin;
        scrollbar-color: #000 transparent;
    }
}

/* Phones and tablets (client feedback): never an internal scroll, the whole text is part of the page */
@media (max-width: 1024px) {
    body:not(#kv-type) .scrollable-text {
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0;
    }
}

/* === detail pages === */
/* Detail pages: every project and every collection item page (reference: GF residence).
   The outer container has the class kv-detail; everything else follows from the page structure, so a duplicated
   page, an added image or an added row of two images needs no CSS of its own.
   Structure: outer container > [ text column .sticky-column-krs > text box (title, sub info, text, menu) ]
   + [ gallery column > .photo-tab (images and rows of two images) + legal links menu ]. */

/* page-wide rules that used to sit in the elements of every detail and collection page */
:where(body:has(.kv-detail, .kv-collection)) p:first-child {
    margin-top: 0;
}

:where(body:has(.kv-detail, .kv-collection)) p {
    margin-bottom: 0;
}

:where(body:has(.kv-detail, .kv-collection)) .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li {
    position: relative;
}

:where(body:has(.kv-detail, .kv-collection)) .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li > ul {
    top: 0 !important;
    transform: translateY(calc(-100% - 20px));
}

:where(body:has(.kv-detail, .kv-collection)) .menu-item-56 {
    margin-top: 20px !important;
}

/* text box */
body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con {
    max-width: 470px;
    width: calc(100% - 50%);
}

/* project menu (images / drawings) */
body:not(#kv-type) .kv-detail .nav-projects li a:hover {
    font-weight: 800 !important;
}

body:not(#kv-type) .kv-detail .nav-projects .current-menu-item a,
body:not(#kv-type) .kv-detail .nav-projects .current_page_parent a {
    font-style: italic;
    font-weight: bold;
}

/* only the selected tab is shown */
body:not(#kv-type) .kv-detail .photo-tab.hidden-tab {
    display: none;
}

/* first image of each tab fills the screen under the header, whole image visible, against the right edge (like About) */
body:not(#kv-type) .kv-detail .photo-tab > .elementor-widget-image:first-child img {
    height: calc(100vh - 120px) !important;
    min-height: 15vh;
    object-fit: contain !important;
    object-position: right bottom !important;
}

/* exception: a first photo with the class photo-left (Advanced > CSS classes) sits against the text instead */
body:not(#kv-type) .kv-detail .photo-tab > .elementor-widget-image.photo-left:first-child img {
    object-position: left bottom !important;
}

@media (max-width: 1200px) {
    body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con {
        max-width: 470px;
        width: 100%;
    }

    body:not(#kv-type) .kv-detail .photo-tab > .elementor-widget-image:first-child img {
        height: auto !important;
        min-height: 5vh;
        margin-top: 30px;
    }
}

@media (max-width: 1024px) {
    body:not(#kv-type) .kv-detail {
        min-height: calc(100vh - 120px) !important;
    }
}

/* site grid: text box in column 2, images in columns 3 + 4, rows of two images in column 3 and column 4 */
@media (min-width: 1201px) {
    body:not(#kv-type) .kv-detail {
        --padding-left: var(--kv-margin);
        --padding-right: var(--kv-margin);
    }

    body:not(#kv-type) .kv-detail > .e-con {
        --width: var(--kv-span-2);
    }

    body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con {
        width: var(--kv-col);
        max-width: var(--kv-col);
    }

    body:not(#kv-type) .kv-detail .photo-tab > .elementor-widget-image {
        width: 100%;
        max-width: 100%;
    }

    body:not(#kv-type) .kv-detail .photo-tab > .elementor-widget-image img {
        width: 100%;
        object-position: right bottom;
    }

    body:not(#kv-type) .kv-detail .photo-tab > .e-con {
        --width: var(--kv-span-2);
        --gap: 0px var(--kv-gutter);
        --column-gap: var(--kv-gutter);
        justify-content: flex-end;
    }

    body:not(#kv-type) .kv-detail .photo-tab > .e-con > .e-con {
        --width: var(--kv-col);
        width: var(--kv-col);
        flex: 0 0 var(--kv-col);
        --padding-left: 0px;
        --padding-right: 0px;
    }
}

/* typography from the kit's type scale (--kv-fs-*) */
body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-heading .elementor-heading-title {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-title);
    font-weight: 700;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-icon-list .elementor-icon-list-text,
body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-icon-list .elementor-icon-list-item {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-subinfo);
    font-weight: 400;
    font-style: italic;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-icon-list {
    margin-top: calc(var(--kv-fs-title) * 9 / 16 - 5px);
}

body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-text-editor,
body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-text-editor p,
body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-text-editor li {
    font-family: "kohinoor-telugu", sans-serif;
    font-size: var(--kv-fs-body);
    font-weight: 300;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-text-editor p {
    margin-top: 0;
    margin-bottom: calc(var(--kv-lh) * 1em);
}

body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-nav-menu .elementor-item,
body:not(#kv-type) .kv-detail > .sticky-column-krs > .e-con > .elementor-widget-nav-menu .elementor-sub-item {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-menu);
    font-weight: 400;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

/* legal links menu under the images */
body:not(#kv-type) .kv-detail > .e-con > .elementor-widget-nav-menu .elementor-item,
body:not(#kv-type) .kv-detail > .e-con > .elementor-widget-nav-menu .elementor-sub-item {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-small);
    font-weight: 400;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

/* === collection pages === */
/* Collection pages (reference: Rift). The outer container has the class kv-collection; everything else follows
   from the page structure, so a duplicated collection or an added item needs no CSS of its own.
   Structure: outer container > [ text column .sticky-column-krs > text box (title, text) ]
   + [ items column: items (container with name, image, text), rows of two items, legal links menu ].
   Ark shows its items through a loop grid instead (also covered below). */

/* text box */
body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con {
    max-width: 600px;
    width: calc(100% - 50%);
}

/* loop grid (Ark) */
body:not(#kv-type) .kv-collection .elementor-widget-loop-grid .e-loop-item:last-child {
    justify-self: end;
}

@media (max-width: 1200px) {
    body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con {
        max-width: 600px;
        width: 100%;
    }

    /* items full width, one under the other */
    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    body:not(#kv-type) .kv-collection {
        min-height: calc(100vh - 120px) !important;
    }
}

/* site grid: text box in column 2, items in column 4 */
@media (min-width: 1201px) {
    body:not(#kv-type) .kv-collection {
        --padding-left: var(--kv-margin);
        --padding-right: var(--kv-margin);
    }

    body:not(#kv-type) .kv-collection > .e-con {
        --width: var(--kv-span-2);
    }

    body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con {
        width: var(--kv-col);
        max-width: var(--kv-col);
    }

    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) {
        --row-gap: var(--kv-gutter);
    }

    body:not(#kv-type) .kv-collection .elementor-widget-loop-grid {
        --container-widget-width: var(--kv-col);
        width: var(--kv-col);
        max-width: var(--kv-col);
        --grid-row-gap: var(--kv-gutter);
    }

    body:not(#kv-type) .kv-collection .elementor-widget-loop-grid .e-loop-item:last-child {
        justify-self: stretch;
    }
}

/* typography from the kit's type scale (--kv-fs-*) */
body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con > .elementor-widget-heading .elementor-heading-title,
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-heading .elementor-heading-title {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-title);
    font-weight: 700;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con > .elementor-widget-text-editor,
body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con > .elementor-widget-text-editor p,
body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con > .elementor-widget-text-editor li,
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-text-editor,
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-text-editor p,
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-text-editor li {
    font-family: "kohinoor-telugu", sans-serif;
    font-size: var(--kv-fs-body);
    font-weight: 300;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con > .elementor-widget-text-editor p,
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-text-editor p {
    margin-top: 0;
    margin-bottom: calc(var(--kv-lh) * 1em);
}

body:not(#kv-type) .kv-collection > .sticky-column-krs > .e-con > .elementor-widget-text-editor p:last-child,
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

/* legal links menu under the items */
body:not(#kv-type) .kv-collection > .e-con > .elementor-widget-nav-menu .elementor-item,
body:not(#kv-type) .kv-collection > .e-con > .elementor-widget-nav-menu .elementor-sub-item {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-small);
    font-weight: 400;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

/* name of a loop grid item (Ark) */
body:not(#kv-type) .kv-collection .elementor-widget-loop-grid .elementor-widget-theme-post-title .elementor-heading-title {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-caption);
    font-weight: 400;
    font-style: normal;
    line-height: var(--kv-lh);
    letter-spacing: normal;
}

/* items like the collection overview, on every width: images light and grey, name only on hover (right, under the image),
   no 'Discover' line */
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) {
    position: relative;
}

body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-image {
    order: 1;
    margin: 0;
}

/* name: caption size, right-aligned, 5px under the image; kept out of the flow so the image bottom lines up with the text */
body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-heading {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 5px 0 0 0;
    text-align: right;
}

body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-heading .elementor-heading-title {
    font-family: "athelas", serif;
    font-size: var(--kv-fs-caption);
    font-weight: 400;
    font-style: normal;
    line-height: var(--kv-lh);
    opacity: 0;
    transform: translateY(10px);
    transition: all .4s ease;
}

body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-text-editor {
    display: none;
}

body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) > .elementor-widget-image img {
    filter: grayscale(100%);
    opacity: .5;
    transition: all .4s ease;
}

body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image):hover > .elementor-widget-image img {
    filter: grayscale(0%);
    opacity: 1;
}

body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image):hover > .elementor-widget-heading .elementor-heading-title {
    opacity: 1;
    transform: translateY(0);
}

/* desktop: column 4, one item under the other */
@media (min-width: 1201px) {

    /* rows of two become one column: their items flow straight into the right column */
    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) > .e-con:not(:has(> .elementor-widget-image)),
    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) > .e-con:not(:has(> .elementor-widget-image)) > .e-con-inner {
        display: contents;
    }

    /* item: one column wide, image first, no fixed height */
    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) .e-con:has(> .elementor-widget-image) {
        --width: var(--kv-col);
        width: var(--kv-col);
        flex: 0 0 auto;
        min-height: 0;
        --min-height: 0px;
        --padding-top: 0px;
        --padding-bottom: 0px;
        --padding-left: 0px;
        --padding-right: 0px;
        --gap: 0px;
        --row-gap: 0px;
        margin: 0;
        justify-content: flex-start;
    }

    /* items one gutter apart, bottom-aligned with the text when the page is short */
    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs):not(:has(> .elementor-widget-loop-grid)) {
        min-height: calc(100vh - 20px + var(--kv-fs-small) * var(--kv-lh));
        --row-gap: var(--kv-gutter);
        --gap: var(--kv-gutter) var(--kv-gutter);
        row-gap: var(--kv-gutter);
        justify-content: flex-end;
        align-items: flex-end;
    }

    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs) > .e-con:first-child {
        margin-top: auto;
    }

    /* legal links stay 40px below the fold: last item ends 60px above the screen edge (gap + margin = 100px) */
    body:not(#kv-type) .kv-collection > .e-con:not(.sticky-column-krs):not(:has(> .elementor-widget-loop-grid)) > .elementor-widget-nav-menu {
        margin-top: calc(var(--kv-margin) + 40px - var(--kv-gutter));
        margin-bottom: 0;
    }
}

/* loop grid items (Ark), at every width: images light and grey, name only on hover */
body:not(#kv-type) .kv-collection .kv-loop {
    position: relative;
}

body:not(#kv-type) .kv-collection .kv-loop .elementor-widget-theme-post-featured-image img {
    filter: grayscale(100%);
    opacity: .5;
    transition: all .4s ease;
}

body:not(#kv-type) .kv-collection .kv-loop .elementor-widget-theme-post-title {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 5px;
    text-align: right;
}

body:not(#kv-type) .kv-collection .kv-loop .elementor-heading-title {
    opacity: 0;
    transform: translateY(10px);
    transition: all .4s ease;
    margin: 0;
}

body:not(#kv-type) .kv-collection .kv-loop:hover .elementor-widget-theme-post-featured-image img {
    filter: grayscale(0%);
    opacity: 1;
}

body:not(#kv-type) .kv-collection .kv-loop:hover .elementor-heading-title {
    opacity: 1;
    transform: translateY(0);
}

/* === news tiles === */
/* News tiles (loop item 652, on publications and exhibitions): the cover keeps the design ratio 290:387 on every
   screen. Elementor's fixed height of 250px made it wider or narrower depending on the screen (feedback 9/11). */
body:not(#kv-type) .elementor-652 .elementor-widget-theme-post-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 290 / 387;
    object-fit: cover;
}

/* === title spacing === */
/* A title followed directly by text: always 15px between the title and the text, on every page and screen,
   whatever gap the container has (feedback 9/11: contact, newsletter). Not on Home (large intro text). */
body:not(#kv-type):not(.home) [data-elementor-type="wp-page"] .elementor-widget-heading:has(+ .elementor-widget-text-editor) {
    margin-bottom: 0;
}

body:not(#kv-type):not(.home) [data-elementor-type="wp-page"] .elementor-widget-heading + .elementor-widget-text-editor {
    margin-top: calc(15px - var(--row-gap, 0px));
}

body:not(#kv-type):not(.home) [data-elementor-type="wp-page"] .elementor-widget-heading + .elementor-widget-text-editor > :first-child {
    margin-top: 0;
}/* End custom CSS */