/*
 * Vena: structure of the widgets and parts only — layout, positioning,
 * showing and hiding. Colours, fonts, sizes and spacing are set in Elementor
 * (widget controls and Site Settings), which always win: every rule here
 * has low specificity (:where) and no !important.
 */

/* Shared */
:where(.vena-icon) { display: inline-flex; align-items: center; line-height: 1; }
:where(.vena-icon) svg { width: 1em; height: 1em; fill: currentColor; }
:where(.vena-placeholder) { padding: .75em 1em; border: 1px dashed currentColor; opacity: .6; font-size: 13px; }
:where(.vena-burger, .vena-dropdown__toggle, .vena-choices__item, .vena-search__submit, .vena-language-choice__button, .vena-share__item, .vena-save) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
/* Links take the colour of their surroundings until one is set in Elementor. */
:where(.vena-menu, .vena-links, .vena-choices, .vena-field, .vena-section-title, .vena-social, .vena-card, .vena-dropdown, .vena-image, .vena-breadcrumbs, .vena-share, .vena-link-wrap, .vena-text) a,
:where(a.vena-greeting, a.vena-logo, a.vena-save) { color: inherit; text-decoration: none; }

/* Menu */
:where(.vena-menu__list, .vena-menu__sublist) { list-style: none; margin: 0; padding: 0; }
:where(.vena-menu__list) { display: flex; }
:where(.vena-menu__link, .vena-menu__all) { display: inline-flex; align-items: center; gap: .4em; }
:where(.vena-menu__all) { font-weight: 700; }

/* Bar: dropdowns or one scrolling line, chosen per device in the widget */
:where(.vena-menu--bar) { position: relative; }
:where(.vena-menu--bar) .vena-menu__list { flex-wrap: var(--vena-menu-wrap, wrap); overflow-x: var(--vena-menu-overflow, visible); gap: 1.5em; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
:where(.vena-menu--bar) .vena-menu__list::-webkit-scrollbar { display: none; }
:where(.vena-menu--bar) .vena-menu__item { position: var(--vena-menu-anchor, relative); flex: none; }
:where(.vena-menu--bar) .vena-menu__sub { display: none; position: absolute; top: 100%; left: 0; right: var(--vena-menu-sub-right, auto); z-index: 100; min-width: var(--vena-menu-sub-min, max-content); padding: 1em; background-color: Canvas; }
:where(.vena-menu--bar) .vena-menu__item:hover > .vena-menu__sub,
:where(.vena-menu--bar) .vena-menu__item:focus-within > .vena-menu__sub { display: var(--vena-menu-sub, block); }
:where(.vena-menu--bar) .vena-menu__sublist { display: flex; flex-direction: column; gap: .5em; }
:where(.vena-menu--bar) .vena-menu__all { margin-top: 1em; }
:where(.vena-menu--bar) .vena-menu__sub--template { padding: 0; white-space: normal; }
/* A plain list (a page's subpages, such as About) opens under its own section, whatever width the templates take. */
:where(.vena-menu--bar) .vena-menu__item:has(> .vena-menu__sub:not(.vena-menu__sub--template)) { position: relative; }
:where(.vena-menu--bar) .vena-menu__sub:not(.vena-menu__sub--template) { right: auto; min-width: max-content; }
/* Site map ([vena_sitemap]): sections and their subsections in columns. */
:where(.vena-sitemap) { list-style: none; padding: 0; margin: 0; columns: 2 14rem; column-gap: 2rem; }
:where(.vena-sitemap) > li { break-inside: avoid; margin: 0 0 1.5em; }
:where(.vena-sitemap) > li > a { font-weight: 700; }
:where(.vena-sitemap) ul { list-style: none; padding: 0; margin: .5em 0 0; display: grid; gap: .35em; }
/* Contact form ([vena_contact_form]): fields one under another; colours and fonts come from the page (Elementor's Site Settings). */
:where(.vena-contact) { display: grid; gap: 1rem; max-width: 40rem; }
:where(.vena-contact) p { margin: 0; }
:where(.vena-contact__field) { display: grid; gap: .35rem; }
:where(.vena-contact__field) :is(input, select, textarea) { box-sizing: border-box; width: 100%; padding: .7rem .8rem; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font: inherit; }
:where(.vena-contact__consent) label { display: flex; gap: .6rem; align-items: flex-start; font-size: .9em; }
:where(.vena-contact__consent) input { margin-top: .25em; }
:where(.vena-contact__consent) a { color: inherit; text-decoration: underline; }
:where(.vena-contact__submit) button { padding: .8rem 2rem; border: 0; background: var(--e-global-color-primary, #111); color: #fff; font: inherit; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
:where(.vena-contact__errors) { padding: .8rem 1rem; border-left: 3px solid #b3261e; background: #fbeeee; color: #5c1310; }
:where(.vena-contact--sent) { padding: 1rem; border-left: 3px solid var(--e-global-color-accent, #8a6a43); }
.vena-contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Arrow of a section with subsections: turns over while it is open. */
:where(.vena-menu__chevron) { display: inline-flex; transition: transform .2s ease; }
:where(.vena-menu--bar) .vena-menu__chevron { display: var(--vena-menu-chevron, inline-flex); }
:where(.vena-menu--list) .vena-menu__item.is-open > .vena-menu__link .vena-menu__chevron { transform: rotate(180deg); }
/* Accent of the hovered / current section: a bar at the edge of the link (its padding sets where the band edge is). */
:where(.vena-menu--bar) .vena-menu__link { position: relative; }
:where(.vena-menu--bar) .vena-menu__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--vena-accent-size, 3px); background: var(--vena-accent-color, currentColor); opacity: 0; pointer-events: none; }
:where(.vena-menu--bar) .vena-menu__item.is-current > .vena-menu__link::after,
:where(.vena-menu--bar) .vena-menu__link:focus-visible::after { opacity: 1; }
@media (hover: hover) {
	:where(.vena-menu--bar) .vena-menu__item:hover > .vena-menu__link::after { opacity: 1; }
	:where(.vena-menu--bar) .vena-menu__item:hover > .vena-menu__link .vena-menu__chevron,
	:where(.vena-menu--bar) .vena-menu__item:focus-within > .vena-menu__link .vena-menu__chevron { transform: rotate(180deg); }
	:where(.vena-menu--list) .vena-menu__item:hover > .vena-menu__link .vena-menu__chevron { transform: rotate(180deg); }
}
/* Touch screens: a tap opens the rubric, never a dropdown. */
@media (hover: none) {
	.vena-menu--bar .vena-menu__item .vena-menu__sub,
	.vena-menu--bar .vena-menu__chevron { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	:where(.vena-menu__chevron) { transition: none; }
}

/* List (burger): sections open on hover, or on tap on touch screens */
:where(.vena-menu--list) .vena-menu__list { flex-direction: column; gap: .75em; }
:where(.vena-menu--list) .vena-menu__link { font-weight: 700; }
:where(.vena-menu--list) .vena-menu__sub { display: none; padding: .5em 0 0 1em; }
:where(.vena-menu--list) .vena-menu__item.is-open > .vena-menu__sub { display: block; }
:where(.vena-menu--open) .vena-menu__sub { display: block; } /* subsections always shown (a footer) */
@media (hover: hover) {
	:where(.vena-menu--list) .vena-menu__item:hover > .vena-menu__sub { display: block; }
}
:where(.vena-menu--list) .vena-menu__sublist { display: flex; flex-direction: column; gap: .5em; }
:where(.vena-menu--list) .vena-menu__all { margin-top: .75em; }

/* Subrubrics */
:where(.vena-links) { display: flex; flex-wrap: wrap; gap: 1em; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
:where(.vena-links)::-webkit-scrollbar { display: none; }
:where(.vena-links__item) { flex: none; }

/* Section title, fields, image, text */
:where(.vena-section-title__back) { display: inline-flex; align-items: center; gap: .5em; }
:where(.vena-section-title__name, .vena-field, .vena-image) { margin: 0; }
:where(.vena-image__img) { display: block; width: 100%; height: auto; }
:where(.vena-image__initials) { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; } /* a person without a photo; size, shape and colours from the widget */
:where(.vena-image__caption) { margin-top: .5em; }
:where(.vena-image__credit) { font-style: italic; }
:where(.vena-image) .vena-image__zoom { margin: 0; } /* the image block inside the widget that opens full screen (Vena\Elementor\Widgets\zoom()) */
:where(.vena-content) > :first-child { margin-top: 0; }
:where(.vena-content) img { max-width: 100%; height: auto; }
:where(.vena-text, .vena-link-wrap) { margin: 0; }
:where(.vena-link) { display: inline-flex; align-items: center; gap: .4em; }
:where(.vena-breadcrumbs) { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }

/*
 * Pages made of editor blocks (Vena\Seed compositions): wide parts out of the
 * text column, picture frames, the lead, numbers, cards, the team, the links
 * of «About». Fonts and colours from Elementor's Site Settings.
 */
/* Moved by left, not margin: Elementor resets the margins of pictures in its widgets. */
:where(.vena-content) .alignwide { position: relative; left: 50%; width: min(1200px, calc(100vw - 48px)); max-width: none; transform: translateX(-50%); }
:where(.vena-content) .alignfull { position: relative; left: 50%; width: 100vw; max-width: none; transform: translateX(-50%); }
:where(.vena-content) > * + * { margin-block-start: 1.5rem; }
:where(.vena-content) .wp-block-image { margin-block: 0; }
:where(.vena-content) .wp-block-image img { display: block; width: 100%; height: auto; }
:where(.vena-content) .vena-hero img { aspect-ratio: 16 / 9; object-fit: cover; }
:where(.vena-content) .vena-portrait img { aspect-ratio: 3 / 4; object-fit: cover; }
:where(.vena-content) .vena-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
:where(.vena-content) .is-style-vena-lead { font-size: 1.25em; line-height: 1.5; color: var(--e-global-color-primary, #111); }
:where(.vena-content) .wp-block-columns { gap: 2rem; margin-block: 2rem; }
:where(.vena-content) .wp-block-column > * { margin-block: 0; }
:where(.vena-content) .wp-block-column > * + * { margin-block-start: .75rem; }
:where(.vena-content) .vena-media { align-items: center; }
:where(.vena-content) .vena-role { color: var(--e-global-color-secondary, #6b6b6b); font-size: .8em; letter-spacing: .06em; text-transform: uppercase; }
:where(.vena-content) .vena-numbers { padding: 2rem 1.5rem; background: var(--e-global-color-vena_soft, #f5f3ef); }
:where(.vena-content) .vena-numbers .wp-block-columns { margin: 0; text-align: center; }
:where(.vena-content) .vena-number { font-family: var(--e-global-typography-primary-font-family, serif); font-size: 2.5em; line-height: 1.1; color: var(--e-global-color-primary, #111); }
:where(.vena-content) .vena-cards .wp-block-columns, :where(.vena-content) .vena-team .wp-block-columns { margin-block: 0 2rem; }
:where(.vena-content) .vena-cards .wp-block-column { padding: 1.5rem; border: 1px solid var(--e-global-color-vena_line, #e5e5e5); }
:where(.vena-content) .vena-page-links ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
:where(.vena-content) .vena-page-links li { margin: 0; }
:where(.vena-content) .vena-page-links a { display: block; height: 100%; padding: 1.5rem 1.25rem; border: 1px solid var(--e-global-color-vena_line, #e5e5e5); font-family: var(--e-global-typography-primary-font-family, serif); font-size: 1.25em; text-decoration: none; }
:where(.vena-content) .vena-page-links a:hover { border-color: currentColor; }
:where(.vena-content) .wp-block-quote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--e-global-color-accent, #8a6a43); font-size: 1.2em; }
:where(.vena-content) .wp-block-quote cite { display: block; margin-top: .5rem; font-size: .7em; font-style: normal; color: var(--e-global-color-secondary, #6b6b6b); }
/* An outlined button in the colour the design gives to links of the text (Elementor sets it with a stronger selector). */
:where(.vena-content) .wp-block-button__link { padding: .8rem 2rem; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
:where(.vena-content) .wp-block-button__link:hover { opacity: .7; }
@media (max-width: 781px) {
	/* The team two to a row on phones: the rows of columns dissolve into one grid (WordPress stacks columns one under another). */
	:where(.vena-content) .vena-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
	:where(.vena-content) .vena-team > .wp-block-columns { display: contents; }
}

/*
 * Credits (Vena\Media): on the photo — small italics over its bottom, on a soft shade (an image of a text, the
 * publication's image, «media & text», a cover); the frame is the size of the photo. The photos of a gallery and
 * videos: in the caption (a gallery lays its captions over the photos). The widget «Publication image» → Credit
 * restyles it in Elementor.
 */
:where(.vena-pic) { position: relative; display: block; }
:where(.vena-content .wp-block-image) > :where(.vena-pic) { width: fit-content; max-width: 100%; }
:where(.vena-content .wp-block-image.aligncenter) > :where(.vena-pic) { margin-inline: auto; }
:where(.vena-content .alignwide, .vena-content .alignfull) > :where(.vena-pic) { width: 100%; }
:where(.wp-block-media-text__media) { position: relative; }
:where(.vena-pic, .wp-block-cover, .wp-block-media-text__media) > :where(.vena-credit) { position: absolute; inset: auto 0 0; z-index: 2; padding: 2.5em .9em .6em; background: linear-gradient(to top, rgb(0 0 0 / .5), rgb(0 0 0 / 0)); color: #fff; font-size: 13px; font-style: italic; line-height: 1.3; text-align: right; pointer-events: none; }
:where(figcaption) .vena-credit { display: block; font-style: italic; opacity: .8; }
:where(.wp-lightbox-container) .vena-pic:hover + .lightbox-trigger { opacity: 1; }

/* Share and save */
:where(.vena-share) { display: flex; flex-wrap: wrap; align-items: center; gap: .75em; }
:where(.vena-share__item) { display: inline-flex; align-items: center; justify-content: center; }
:where(.vena-share__item[hidden], .vena-share__notice[hidden]) { display: none; }
:where(.vena-save) { display: inline-flex; align-items: center; gap: .4em; }
:where(.vena-save__icon) { display: inline-flex; }
:where(.vena-save) .vena-save__icon--on,
:where(.vena-save.is-saved) .vena-save__icon--off { display: none; }
:where(.vena-save.is-saved) .vena-save__icon--on { display: inline-flex; }

/* Lists of cards */
:where(.vena-feed__items) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
:where(.vena-feed__items) { scrollbar-width: none; } /* a row swiped sideways: no scrollbar */
:where(.vena-feed__items)::-webkit-scrollbar { display: none; }
:where(.vena-feed__item) { scroll-snap-align: start; min-width: 0; }
.e-con:has(> .elementor-widget-vena-feed .vena-feed--none) { display: none; } /* «hide the whole block» of an empty list: its container */
:where(.vena-feed__empty) { margin: 0; }
:where(.vena-feed__heading) { margin: 0 0 1rem; }

/* Reader account (/profile/): forms and lists; the look is set in Elementor. */
:where(.vena-account) { display: grid; gap: 2.5rem; }
:where(.vena-account__part, .vena-form) { display: grid; gap: 1rem; }
:where(.vena-account__heading, .vena-account__note, .vena-account__links, .vena-account__message) { margin: 0; }
:where(.vena-account__links) { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
:where(.vena-account__message) { padding: .75rem 1rem; border: 1px solid currentColor; }
:where(.vena-form__field) { display: grid; gap: .25rem; }
:where(.vena-form__input) { box-sizing: border-box; width: 100%; padding: .6rem .75rem; border: 1px solid currentColor; font: inherit; color: inherit; background: transparent; }
:where(.vena-form__check) { display: flex; gap: .5rem; align-items: center; }
:where(.vena-form__button, .vena-list-button) { justify-self: start; padding: .6rem 1.25rem; border: 1px solid currentColor; font: inherit; color: inherit; background: transparent; cursor: pointer; }
.vena-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:where(.vena-account__people) { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
:where(.vena-account__person) { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
:where(.vena-card--unavailable) { display: grid; gap: .5rem; opacity: .7; }
:where(.vena-avatar) { display: inline-grid; place-items: center; width: 2em; height: 2em; border: 1px solid currentColor; border-radius: 50%; font-size: .8em; line-height: 1; }
:where(.vena-pagination) ul { display: flex; flex-wrap: wrap; align-items: center; gap: .75em; list-style: none; margin: 2rem 0 0; padding: 0; }
:where(.vena-card__link) { display: flex; flex-direction: column; gap: .75em; }
:where(.vena-card__image) { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Choices in a row or in a dropdown (language, geography, search) */
:where(.vena-choices) { display: flex; flex-wrap: wrap; align-items: center; gap: .75em; }
:where(.vena-dropdown) { position: relative; display: inline-block; }
:where(.vena-dropdown__toggle) { display: inline-flex; align-items: center; gap: .4em; }
:where(.vena-dropdown__list) { display: none; position: absolute; top: 100%; right: 0; z-index: 100; flex-direction: column; align-items: flex-start; gap: .5em; min-width: max-content; padding: .75em 1em; background-color: Canvas; }
:where(.vena-dropdown.is-open) .vena-dropdown__list { display: flex; }
@media (hover: hover) {
	:where(.vena-dropdown:not(.vena-dropdown--click)):hover .vena-dropdown__list { display: flex; }
}
:where(.vena-search__form) { position: relative; display: flex; align-items: center; gap: .5em; }
:where(.vena-choices) > .vena-search__form { flex: 1 1 auto; } /* in a row, the field can take the width the design gives it */
:where(.vena-search__input) { font: inherit; min-width: 12em; }
:where(.vena-search__suggestions) { position: absolute; top: 100%; left: 0; right: 0; z-index: 101; display: flex; flex-direction: column; min-width: 16em; padding: .5em 0; background-color: Canvas; box-shadow: 0 .25em 1em rgb(0 0 0 / .15); }
:where(.vena-search__suggestions[hidden]) { display: none; }
:where(.vena-search__suggestion) { display: block; padding: .35em 1em; color: inherit; text-decoration: none; }
:where(.vena-search__suggestion[aria-selected="true"], .vena-search__suggestion:hover) { background-color: rgb(0 0 0 / .06); }
:where(.vena-search__group) { padding: .5em 1em .2em; font-size: .8em; text-transform: uppercase; opacity: .6; }
/* The search of the header (dropdown): a wide light panel with a field drawn as one line — no browser box, ring or blue cross; the line thickens while the field is in use (the focus stays visible). */
:where(.vena-search) > :where(.vena-dropdown__list) { width: min(30rem, calc(100vw - 2rem)); padding: 1.25em 1.5em 1.5em; box-shadow: 0 .75em 2em rgb(0 0 0 / .1); }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__form) { width: 100%; border-bottom: 1px solid currentColor; }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__form:focus-within) { box-shadow: 0 1px 0 currentColor; }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__input) { flex: 1 1 auto; min-width: 0; appearance: none; border: 0; border-radius: 0; background: transparent; color: inherit; }
.vena-search > .vena-dropdown__list .vena-search__input:focus { outline: none; }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__input)::placeholder { color: inherit; opacity: .45; }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__input)::-webkit-search-cancel-button { appearance: none; }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__suggestions) { top: calc(100% + 2px); left: -1.5em; right: -1.5em; padding: .5em 0 1em; box-shadow: 0 .75em 2em rgb(0 0 0 / .1); }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__suggestion) { padding-inline: 1.5em; }
:where(.vena-search > .vena-dropdown__list) :where(.vena-search__group) { padding-inline: 1.875em; } /* 1.5em of the list at its .8em size */
/* The field in a row (the search page, reached by the header's icon and focused at once): the frame of the design doubles instead of the browser's rounded ring. */
.vena-choices.vena-search .vena-search__input:focus { outline: none; box-shadow: inset 0 0 0 1px currentColor; }

/* Search filters and messages */
:where(.vena-search-filters) { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1em; }
:where(.vena-search-filters__toggle) { display: var(--vena-filters-toggle, none); align-items: center; gap: .4em; font: inherit; color: inherit; background: none; border: 1px solid currentColor; padding: .6em 1.2em; cursor: pointer; }
:where(.vena-filters-box) > .vena-search-filters { display: var(--vena-filters-body, flex); }
:where(.vena-filters-box.is-open) > .vena-search-filters { display: flex; margin-top: 1em; }
:where(.vena-search-filters__fields) { display: flex; flex-wrap: wrap; gap: 1em; }
:where(.vena-search-filters__field) { display: flex; flex-direction: column; gap: .3em; margin: 0; padding: 0; border: 0; }
:where(.vena-search-filters__group) { flex-direction: row; flex-wrap: wrap; column-gap: 1em; }
:where(.vena-search-filters__group > .vena-search-filters__label) { flex-basis: 100%; padding: 0; }
:where(.vena-search-filters__range) { flex-direction: row; gap: 1em; }
:where(.vena-search-filters__range[hidden]) { display: none; }
:where(.vena-search-filters__range label) { display: flex; flex-direction: column; gap: .3em; }
:where(.vena-search-filters__input) { font: inherit; }
:where(.vena-search-filters__option) { display: inline-flex; align-items: center; gap: .3em; }
:where(.vena-search-filters__apply) { font: inherit; cursor: pointer; }
:where(.vena-feed__advice) { margin: .5em 0; }

/* Header parts */
:where(.vena-burger) { display: inline-flex; align-items: center; justify-content: center; }
:where(.vena-greeting) { display: inline-flex; align-items: center; gap: .5em; }
:where(.vena-logo) { display: inline-block; }
/* Tap and click (html.vena-pointer, vena.js): no blue flash and no focus ring on the burger, the logo and the burger panel, where the script moves the focus; the keyboard keeps the ring. */
:where(.vena-search--link) { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
:where(.vena-burger, .vena-logo, .vena-panel, .vena-dropdown__toggle, .vena-search--link) { -webkit-tap-highlight-color: transparent; }
.vena-pointer :is(.vena-burger, .vena-logo, .vena-panel a, .vena-panel button, .vena-panel__body):focus { outline: none; }
:where(.vena-logo__image) { display: block; max-width: 100%; height: auto; }
:where(.vena-social) { display: flex; flex-wrap: wrap; gap: 1em; }

/* Burger panel: slides in from the left; its look is the "Burger menu" template */
:where(.vena-panel) { position: fixed; inset: 0; z-index: 9999; }
:where(.vena-panel[hidden]) { display: none; }
:where(.vena-panel__backdrop) { position: absolute; inset: 0; background: var(--vena-backdrop, rgb(0 0 0 / .4)); }
:where(.vena-panel__body) { position: absolute; top: 0; bottom: 0; left: 0; width: max-content; min-width: min(100vw, 320px); max-width: 100vw; overflow-y: auto; overscroll-behavior: contain; background-color: Canvas; transform: translateX(-100%); transition: transform .3s ease; }
:where(.vena-panel.is-open) .vena-panel__body { transform: none; }
:where(.vena-panel-open) body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
	:where(.vena-panel__body) { transition: none; }
}

/* First-visit language choice; its look is the "Language banner" template */
:where(.vena-banner) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; }
:where(.vena-banner[hidden]) { display: none; }
:where(.vena-language-choice) { display: flex; flex-wrap: wrap; gap: .75em; }
:where(.vena-banner > .vena-language-choice) { justify-content: center; padding: 1rem; background-color: Canvas; }
:where(.vena-language-choice__button) { padding: .6em 1.2em; border: 1px solid currentColor; }

/* Text for screen readers only */
:where(.vena-sr-only) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The note about cookies at the bottom (Vena\Analytics): one line with a cross, or «Accept / Decline». */
.vena-cookies { position: fixed; inset: auto 0 0; z-index: 9999; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding: 12px 52px 12px 16px; background: #fff; color: #111; border-top: 1px solid #e6e3de; box-shadow: 0 -2px 12px rgba(0, 0, 0, .06); font-size: 13px; line-height: 1.45; text-align: center; }
.vena-cookies[hidden] { display: none; }
.vena-cookies__text { margin: 0; max-width: 780px; }
.vena-cookies a { color: inherit; text-decoration: underline; }
.vena-cookies__close { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 4px 10px; border: 0; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.vena-cookies__button { padding: 8px 18px; border: 1px solid #111; background: #111; color: #fff; font: inherit; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.vena-cookies__button--plain { background: transparent; color: #111; }

/* An ad place with its banner (Vena\Ads): «Advertising» above, the picture at the width of the place. */
:where(.vena-ad) { display: block; max-width: 100%; margin-inline: auto; }
:where(.vena-ad__label) { display: block; margin-bottom: 6px; color: #6b6b6b; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
:where(.vena-ad__link, .vena-ad__image, .vena-ad picture) { display: block; }
:where(.vena-ad__image) { width: 100%; height: auto; }

/* Runway (Vena\Runway, as theblueprint.ru/fashion-show): the years and seasons as tabs, cards of shows (a vertical picture and the brand), the brands beside. */
:where(.vena-runway__title) { margin: 0 0 24px; text-align: center; }
:where(.vena-runway__years, .vena-runway__seasons) { display: flex; gap: 8px 28px; justify-content: safe center; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
:where(.vena-runway__years) { margin-bottom: 18px; font-size: 20px; }
:where(.vena-runway__years a) { padding-bottom: 6px; border-bottom: 2px solid transparent; color: inherit; text-decoration: none; }
:where(.vena-runway__years a[aria-current]) { border-bottom-color: currentColor; }
:where(.vena-runway__seasons) { margin-bottom: 32px; padding-bottom: 12px; border-bottom: 1px solid #e6e3de; }
:where(.vena-runway__seasons a) { color: inherit; text-decoration: none; }
:where(.vena-runway__seasons span) { color: #b5b0a8; }
:where(.vena-runway__season) { margin-bottom: 48px; scroll-margin-top: 80px; }
:where(.vena-runway__season-title) { margin: 0 0 20px; }
:where(.vena-runway__grid) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
:where(.vena-runway__card) { display: flex; flex-direction: column; gap: 10px; color: inherit; text-align: center; text-decoration: none; }
:where(.vena-runway__photo) { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: #f5f3ef; }
.vena-runway .vena-runway__image { display: block; width: 100%; height: 100%; object-fit: cover; }
:where(.vena-runway__back) { display: inline-block; margin-bottom: 16px; color: inherit; font-size: 13px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
:where(.vena-runway__about) { max-width: 720px; margin: 0 auto 32px; text-align: center; }
:where(.vena-runway-brands__search) { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #d8d4cd; border-radius: 4px; font: inherit; }
:where(.vena-runway-brands__list) { max-height: calc(100vh - 160px); margin-top: 16px; overflow-y: auto; }
:where(.vena-runway-brands__letter) { display: block; padding: 6px 10px; background: #f5f3ef; font-weight: 700; }
:where(.vena-runway-brands__list ul) { margin: 0; padding: 0; list-style: none; }
:where(.vena-runway-brands__list li) { padding: 3px 10px; border-bottom: 1px solid #eeebe6; }
:where(.vena-runway-brands__list a) { color: inherit; font-size: 14px; text-decoration: none; }
:where(.vena-runway-brands__list [aria-current]) { font-weight: 700; }
.vena-runway-brands--sticky-yes { position: sticky; top: 24px; align-self: flex-start; }
@media (max-width: 1024px) {
	:where(.vena-runway__grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	:where(.vena-runway__grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	:where(.vena-runway__years, .vena-runway__seasons) { justify-content: flex-start; }
	.vena-runway-brands--sticky-yes { position: static; }
	:where(.vena-runway-brands:not(.is-searching) .vena-runway-brands__list) { display: none; }
	:where(.vena-runway-brands__list) { max-height: 50vh; }
	:where(.vena-runway-brands) { margin-bottom: 24px; }
}
