/* Joined by the theme (includes/core/assets/css-bundle.php) from:
/wp-content/themes/nuzp/assets/css/css-components/section-categories.css:1796500037
/wp-content/themes/nuzp/assets/css/css-components/dropdown-extras.css:1796500037
/wp-content/themes/nuzp/assets/css/css-components/modal-callback.css:1796500037
/wp-content/themes/nuzp/assets/css/css-components/content-colors.css:1796500037
/wp-content/themes/nuzp/assets/css/css-components/dialog.css:1796500037
/wp-content/themes/nuzp/assets/css/css-components/form-errors.css:1796500037
/wp-content/themes/nuzp/assets/css/variables.css:1796500037
/wp-content/themes/nuzp/assets/css/layout.css:1796500037
/wp-content/themes/nuzp/assets/css/typography.css:1796500037
/wp-content/themes/nuzp/assets/css/pagination.css:1796500037
/wp-content/themes/nuzp/assets/css/search.css:1796500037
/wp-content/themes/nuzp/assets/css/floating-nav.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/footer.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/breadcrumbs.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/news-block.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/header/layout.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/header/logo.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/header/navigation.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/header/controls.css:1796500037
/wp-content/themes/nuzp/assets/css/css-blocks/header/page-header.css:1796500037
/wp-content/themes/nuzp/assets/css/css-posts/faculty-department.css:1796500037
*/

/* /wp-content/themes/nuzp/assets/css/css-components/section-categories.css */

.categories__container {
  /* The gradient with color-mix() is given only where it is supported (@supports
     at the end of the file): with var() in it, a browser without color-mix()
     (Chrome 109, the last on Windows 7, on the university's computers) took it
     anyway and dropped the background, leaving white text on white (2026-11-02).
     A plain navy stays under the gradients if even the variable is missing. */
  background: linear-gradient(180deg, var(--color-blue-200) 0%, #112048 100%);
  background-color: #16295b;
}

.categories__wrapper {
    color: var(--color-white, #fff);
    padding: 2rem 0;
}

/* The «Посилання» block (blocks/block-links.php) sits in ordinary page content
   with no navy .categories__container around it, so it carries the same
   background itself; without it its white tiles were invisible on white. */
.categories._custom-block .categories__wrapper {
    padding: 40px;
    background: linear-gradient(180deg, var(--color-blue-200) 0%, #112048 100%);
    background-color: #16295b;
}

@media (max-width: 899px) {
    .categories._custom-block .categories__wrapper {
        padding: 20px;
    }
}

/* In page text the block is one more piece of content: the padding some
   templates give every <section> (page-general.css) doubled the content
   section's own, and first in the text it needs no margin above it. */
.typography .categories._custom-block {
    padding-block: 0;
}

.typography > .categories._custom-block:first-child {
    margin-top: 0;
}

.typography > .categories._custom-block:last-child {
    margin-bottom: 0;
}

.categories__layout {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    gap: clamp(2rem, 4vw, 4rem);
}

.categories__layout .categories-list,
.faculty-categories .categories-list {
    flex: 1;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    align-content: start;
}

.categories-list__item {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    color: var(--color-white, #fff) !important;
    text-decoration: none !important;
    min-height: 85px;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-property: color, background-color, border-color, box-shadow, transform, filter;
    box-sizing: border-box;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.categories-list__title {
    font-family: "Roboto", sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
    padding-right: 15px;
}

.categories-list__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.3);
    transition: 0.3s ease;
    transition-property: color, filter;
    transform: translateX(0);
}

.categories-list__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.categories-list__inner::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.3)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: 0.3s ease;
    transition-property: transform;
    transform: translateX(0);
}

/*
 * Hover effects stay behind a hover query: on a touch screen the browser keeps
 * :hover on the last tapped element, so a card would sit lifted and glowing
 * until something else is tapped.
 */
@media (hover: hover) {
    .categories-list__item:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.4);

        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.2),
            0 0 20px rgba(255, 255, 255, 0.1);
    }

    .categories-list__item:hover .categories-list__icon {
        color: var(--color-white, #fff);
        filter: drop-shadow(0 0 8px rgba(255,255,255, 0.5));
    }

    .categories-list__item:hover .categories-list__inner::after {
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
        transform: translateX(5px);
    }
}

/* Touch gets a pressed state instead, so a tap still feels answered. */
@media (hover: none) {
    .categories-list__item:active {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.25);
    }
}

/*
 * A tile whose page is not filled in yet (empty or "#" link) is not a link, so it
 * must not look like one: no arrow, no lift or glow, a quieter title. The resets
 * repeat the base values because the hover rules above are more specific.
 */
.categories-list__item--static {
    cursor: default;
}

.categories-list__item--static .categories-list__title {
    opacity: 0.6;
}

.categories-list__item--static .categories-list__inner::after {
    display: none;
}

.categories-list__item--static:hover,
.categories-list__item--static:active {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translate3d(0, 0, 0);
}

.categories__layout .categories-logos {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    gap: 16px;
}

.categories-logos__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-property: color, background-color, border-color, opacity, transform;
    text-decoration: none !important;
    border-top: 2px solid var(--color-white);
    padding: 10px 24px;
} 

.categories-logos__btn img {
    width: 100%;
    height: 100%;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .categories-logos__btn:hover {
        z-index: 2;
    }
}

@media (max-width: 1199px) {
    .categories-list__item {
        flex: 1 1 calc(50% - 16px);
    }
}

@media (max-width: 1150px) {
    /*
     * No horizontal padding of its own here: the wrapper sits inside a
     * ._container that already insets it by --wrap, and doubling that pushed
     * the cards further from the screen edge than the neighbouring sections.
     */
    .categories__wrapper {
        padding: 2rem 0;
    }

    .categories__layout {
        flex-direction: column;
        gap: 30px;
    }

    .categories__layout .categories-logos {
        flex: none;
        width: 100%;
        display: flex;
        flex-direction: row;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-left: 0;
        padding-top: 30px;
    }
}

/*
 * Below 900px the header stylesheet zeroes .categories__container padding with
 * an !important, so the container stops insetting anything and the wrapper has
 * to carry the gutter itself. It uses the same --wrap as every other section,
 * which is the point: the cards line up with the news and events above.
 */
@media (max-width: 899px) {
    .categories__wrapper {
        padding-left: var(--wrap);
        padding-right: var(--wrap);
    }
}

@media (max-width: 599px) {
    .categories__wrapper {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .categories__layout {
        gap: 20px;
    }

    .categories__layout .categories-list,
    .faculty-categories .categories-list {
        gap: 10px;
    }
    
    .categories-list__item {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
    }

    .categories-list__item {
        min-height: 60px;
        padding: 16px 10px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        border-radius: 0;
    }

    .categories-list__title {
        font-size: 0.9rem;
        padding-right: 0;
        line-height: 1.25;
        text-align: center;
    }

    .categories-list__inner {
        justify-content: center;
    }

    .categories-list__inner::after,
    .categories-list__icon {
        display: none;
    }

    .categories__layout .categories-logos {
        flex-direction: row;
        gap: 10px;
        padding-top: 15px;
    }

    .categories-logos__btn {
        height: 65px;
        padding: 0;
        flex: 1;
        border-radius: 0;
        justify-content: center;
    }

    .categories-logos__btn img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
}

.categories-list__link {
    display: block;
    transition: transform 0.3s ease;
}

.categories-list__link img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.categories-list__logo {
    max-width: 150px;
    height: auto;
    display: block;
    background-color: var(--color-white);
    filter: var(--logo-plate-filter);
    margin: 0 auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

@supports (background: color-mix(in srgb, red 50%, blue)) {
    .categories__container {
        background-image: linear-gradient(180deg, var(--color-blue-200) 0%, color-mix(in srgb, var(--color-blue-200) 79%, #000) 100%);
    }
    .categories._custom-block .categories__wrapper {
        background-image: linear-gradient(180deg, var(--color-blue-200) 0%, color-mix(in srgb, var(--color-blue-200) 79%, #000) 100%);
    }
}


/* /wp-content/themes/nuzp/assets/css/css-components/dropdown-extras.css */

.dropdown__toggle {
  cursor: pointer;
  float: right;
  display: flex;
  align-items: center;
  gap: 10px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.dropdown-list {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  margin-left: 0 !important;
}

.dropdown-list._open {
  max-height: 1000px;
  opacity: 1;
  margin-top: 1rem;
}

.dropdown-list li {
  position: unset !important;
}

.dropdown__toggle svg {
  transition: transform 0.3s ease;
}

.dropdown__toggle._open svg {
  transform: rotate(180deg);
}



.extras {
  width: 100%;
  padding: 20px 0;
}

.extras-lists-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.extras-list {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.extras-list__item {
  flex: 0 1 400px;
  max-width: 100%;
}


/* /wp-content/themes/nuzp/assets/css/css-components/modal-callback.css */

.calendar-widget-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
}

.calendar-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    z-index: 9999;
}


@media (min-width: 450px) {
    #customCallbackModal {
        width: 450px;
        left: auto;
    }
}

#customCallbackModal .calendar-side-panel__content {
    background: var(--color-bg-secondary);
}

#customCallbackModal form input:focus,
#customCallbackModal form textarea:focus {
    border-color: var(--color-accent) !important;
    outline: none;
}

#customCallbackModal #callbackClose:hover {
    opacity: 1 !important;
}

#customCallbackModal button[type="submit"]:hover {
    background-color: var(--color-blue-100) !important;
    transition: background-color 0.2s;
}


/* /wp-content/themes/nuzp/assets/css/css-components/content-colors.css */
/*
 * Dark theme for colours typed into content by editors.
 *
 * The theme's own stylesheets follow the dark theme through the semantic
 * tokens in variables.css, but a post body can carry colours of its own: a
 * Gutenberg palette class, or an inline style="color: #16295b" picked in the
 * classic editor or pasted from Word. That is content, so it cannot be
 * rewritten to tokens, and left alone it prints navy or black text on the
 * dark page and glaring white boxes around it.
 *
 * The colours below are the ones that actually occur in published posts
 * (queried from wp_posts when the dark theme was built). Only colours that
 * belong to the page's paper are mapped: dark text becomes light text, white
 * and pale boxes become dark surfaces. Deliberate colours - a navy box with
 * white text, a green or teal callout - are left as the editor chose them.
 *
 * Everything is scoped to <main id="main">, and matches on the style
 * attribute only; the theme's templates carry no inline colours of this kind,
 * so in practice only editor content is touched. The !important is needed to
 * beat inline styles and WordPress's own `.has-*-color { … !important }`.
 */

/* Gutenberg palette classes. */
html[data-theme="dark"] #main .has-black-color {
  color: var(--color-text-primary) !important;
}

html[data-theme="dark"] #main .has-white-background-color {
  background-color: var(--color-surface-card) !important;
}

html[data-theme="dark"] #main .has-white-background-color.has-white-color {
  color: var(--color-text-primary) !important;
}

html[data-theme="dark"] #main .has-pale-cyan-blue-background-color,
html[data-theme="dark"] #main .has-light-green-cyan-background-color {
  background-color: var(--color-bg-tertiary) !important;
}

/*
 * The site's own palette (includes/core/editor/palette.php): navy and blue
 * text read as heading and link colour, white and pale blue boxes as dark
 * surfaces. Navy and blue boxes, white text on them and the red keep their colours.
 */
html[data-theme="dark"] #main .has-nuzp-navy-color:not(.has-nuzp-navy-background-color) {
  color: var(--color-text-heading) !important;
}

html[data-theme="dark"] #main .has-nuzp-blue-color:not(.has-nuzp-blue-background-color) {
  color: var(--color-link) !important;
}

html[data-theme="dark"] #main .has-nuzp-light-background-color {
  background-color: var(--color-bg-tertiary) !important;
}

html[data-theme="dark"] #main .has-nuzp-white-background-color {
  background-color: var(--color-surface-card) !important;
}

html[data-theme="dark"] #main .has-nuzp-white-background-color.has-nuzp-white-color {
  color: var(--color-text-primary) !important;
}

/* Amber is bright in either theme; it only needs dark text on top of it. */
html[data-theme="dark"] #main .has-luminous-vivid-amber-background-color {
  color: var(--color-black) !important;
}

html[data-theme="dark"] #main .has-light-gray-border-color {
  border-color: var(--color-border) !important;
}

/*
 * Inline navy text. The substring also occurs inside "background-color:
 * #16295b", and a navy box keeps its own (white) text, so those are excluded.
 */
html[data-theme="dark"] #main [style*="color: #16295b" i]:not([style*="background-color: #16295b" i]),
html[data-theme="dark"] #main [style*="color:#16295b" i]:not([style*="background-color:#16295b" i]),
html[data-theme="dark"] #main [style*="color: var(--color-blue-200"],
html[data-theme="dark"] #main [style*="color:var(--color-blue-200"] {
  color: var(--color-text-heading) !important;
}

/* Inline black and near-black body text. */
html[data-theme="dark"] #main [style*="color: #000" i],
html[data-theme="dark"] #main [style*="color:#000" i],
html[data-theme="dark"] #main [style*="color: #0d0d0d" i],
html[data-theme="dark"] #main [style*="color: #111" i],
html[data-theme="dark"] #main [style*="color: #333" i],
html[data-theme="dark"] #main [style*="color: black" i],
html[data-theme="dark"] #main [style*="color: rgb(0, 0, 0)"] {
  color: var(--color-text-primary) !important;
}

/* Inline grey secondary text. */
html[data-theme="dark"] #main [style*="color: #555" i],
html[data-theme="dark"] #main [style*="color: #777" i],
html[data-theme="dark"] #main [style*="color: #475569" i],
html[data-theme="dark"] #main [style*="color: #64748b" i],
html[data-theme="dark"] #main [style*="color: var(--color-grey-300"] {
  color: var(--color-text-secondary) !important;
}

/* Inline blue link-like text; also catches "#0000ff" after the black rule above. */
html[data-theme="dark"] #main [style*="color: #0000ff" i],
html[data-theme="dark"] #main [style*="color: #0056b3" i],
html[data-theme="dark"] #main [style*="color: #265aa6" i]:not([style*="background-color: #265aa6" i]),
html[data-theme="dark"] #main [style*="color: var(--color-blue-100"] {
  color: var(--color-link) !important;
}

/* Inline white and near-white boxes. */
html[data-theme="dark"] #main [style*="background-color: #fff" i],
html[data-theme="dark"] #main [style*="background: #fff" i],
html[data-theme="dark"] #main [style*="background-color: white" i],
html[data-theme="dark"] #main [style*="background: white" i],
html[data-theme="dark"] #main [style*="background-color: #fdfdfd" i],
html[data-theme="dark"] #main [style*="background-color: #fafafa" i],
html[data-theme="dark"] #main [style*="background-color: #f9f9f9" i],
html[data-theme="dark"] #main [style*="background-color: #f8f9fa" i],
html[data-theme="dark"] #main [style*="background-color: #f8f8f8" i],
html[data-theme="dark"] #main [style*="background-color:#f8f8f8" i],
html[data-theme="dark"] #main [style*="background: #f8f8f8" i],
html[data-theme="dark"] #main [style*="background-color: #f8fafc" i],
html[data-theme="dark"] #main [style*="background: #f8fafc" i],
html[data-theme="dark"] #main [style*="background-color: #f5f5f5" i],
html[data-theme="dark"] #main [style*="background-color: var(--color-grey-010"] {
  background-color: var(--color-surface-card) !important;
}

/* Inline pale tints: Word table headers (blue, grey) and light-blue notes. */
html[data-theme="dark"] #main [style*="background: #d9e2f3" i],
html[data-theme="dark"] #main [style*="background: #d0cece" i],
html[data-theme="dark"] #main [style*="background-color: #e6f7ff" i] {
  background: var(--color-bg-tertiary) !important;
}


/* /wp-content/themes/nuzp/assets/css/css-components/dialog.css */
/*
 * Native <dialog> windows opened by nuzp.dialog (assets/js/ui/core.js) carry
 * the class ui-dialog. The browser's own box (border, padding, background,
 * size limits) is cleared, weakly, so each window draws itself as before;
 * the window above is the top layer, so it needs no z-index. A closed one is
 * hidden even when its own rule sets a display, and the page behind an open
 * one does not scroll.
 */
:where(dialog.ui-dialog) {
    margin: 0;
    padding: 0;
    border: 0;
    max-width: none;
    max-height: none;
    background: none;
    color: inherit;
    overflow: visible;
}

:where(dialog.ui-dialog)::backdrop {
    background: transparent;
}

dialog.ui-dialog:not([open]) {
    display: none;
}

/* The page scrolls on <html>; the gutter is kept so that taking the scrollbar
   away does not slide the page sideways behind the window. */
html:has(dialog.ui-dialog[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}


/* /wp-content/themes/nuzp/assets/css/css-components/form-errors.css */
/* What is wrong with a form field, in words under it (nuzp.fieldError() in assets/js/ui/core.js).
   --color-danger follows the theme: 4.9:1 on white, 5.8:1 on the dark theme's graphite. */
.ui-field-error {
    margin: 0.375rem 0 0;
    color: var(--color-danger);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    /* style.css makes every «form p» a centring flex box. */
    display: block;
    align-self: stretch;
}
.ui-field-error[hidden] {
    display: none;
}


/* /wp-content/themes/nuzp/assets/css/variables.css */


:root {
  --header-height: 120px;
  --header-height-1px: calc(var(--header-height) - 1px);

  --color-black--rgb: 0, 0, 0;
  --color-black: #000000;
  --color-white--rgb: 255, 255, 255;
  --color-white: #ffffff;

  --color-grey-010: #f8f8f8;
  --color-grey-020: #a0a0a0;
  --color-grey-050: #d9d9d9;
  --color-grey-100: #a4acc1;
  --color-grey-200: #ababab;
  --color-grey-300: #626570;
  --color-grey-400: #464646;
  --color-grey-500: #1d1d1f;

  --color-blue-010: #b3d4fc;
  --color-blue-020: #87ceeb;
  --color-blue-030: #4facfe;
  --color-blue-050: #347ce9;
  --color-blue-100--rgb: 38, 90, 166;
  --color-blue-100: #265aa6;
  --color-blue-200--rgb: 22, 41, 91;
  --color-blue-200: #16295b;

  --color-cyan-050: #00ffff;

  --color-green-050: #2e8431;
  --color-green-100: #436236;
  --color-green-200: #155724;

  --color-yellow-010: #ffeeba;
  --color-yellow-050: #ffff00;

  --color-orange-100: #f0ab16;
  --color-orange-200: #d24726;

  --color-brown-100: #b38600;

  /* The arms' red, one value as in the brandbook. Errors and warnings in
     text use --color-danger below, which follows the theme. */
  --color-red--rgb: 227, 3, 39;
  --color-red: #e30327;

  --color-pink-100: #d6249f;
  --color-pink-200: #bc1888;

  /* The corporate yellow of the brandbook (#FFCC00). The owner brought it back
     (2026-10-24) for accents on navy: icons, prices, marks, a department's
     PIF button; also the partners map and the Science Night sky. On paper
     accents stay blue and red. */
  --color-highlight: #ffcc00;
}

/*
 * Semantic tokens: what a colour is for, not what it looks like.
 *
 * The palette above is fixed and means the same in both themes: a navy
 * section is navy and the white text on it is white whether the page is
 * light or dark (the dark theme only mutes the two brand blues, see below). Everything that belongs to the "paper" of the page - its
 * background, cards, body text, hairlines - goes through the tokens below,
 * and only these tokens change in the dark theme. A stylesheet that needs a
 * colour to follow the theme uses a semantic token; one that needs a colour
 * to stay put uses the palette.
 */
:root {
  color-scheme: light;

  /* Page and surfaces, from the page itself up to things that float over it. */
  --color-bg-primary: #ffffff;
  --color-bg-primary--rgb: 255, 255, 255;
  --color-bg-secondary: #f8f8f8;
  --color-bg-tertiary: #f0f0f0;
  --color-surface-card: #ffffff;
  --color-surface-overlay: rgba(0, 0, 0, 0.5);

  /* Text. */
  --color-text-primary: #000000;
  --color-text-secondary: #626570;
  /* #a0a0a0 read at 2.6:1 on paper, below the 4.5:1 that text needs; this grey
     keeps the same neutral tone at 4.9:1 on white and 4.7:1 on bg-secondary. */
  --color-text-muted: #707070;
  --color-text-heading: #16295b;

  /* Interactive colour: links, active states, icons that react to the pointer. */
  --color-link: #265aa6;
  --color-link-hover: #347ce9;
  --color-accent: #265aa6;

  /* The ring around whatever the keyboard has reached (reset.css). Blue, not
     the arms' red: red reads as an error. At least 3:1 on paper and on navy. */
  --color-focus: #347ce9;

  /* Errors, required marks, warnings: the arms' red on paper, with a faint
     wash of it behind a warning box. */
  --color-danger: #e30327;
  --color-danger-bg: rgba(227, 3, 39, 0.06);

  /* Hairlines between parts of the page, and the stronger line of inputs and outlined buttons. */
  --color-border: #d9d9d9;
  --color-border-strong: #16295b;

  /*
   * Channels for translucent washes over the page: rgba(var(--color-ink--rgb), 0.05)
   * is a faint grey on a light page and a faint light veil on a dark one, and
   * the tint does the same in the brand navy.
   */
  --color-ink--rgb: 0, 0, 0;
  --color-tint--rgb: 22, 41, 91;

  /*
   * Other organisations' logos are drawn for a white page, so on the dark
   * theme they sit on white plates. The plate and the logo on it are dimmed
   * together, so a logo's own white box melts into the plate and the plates
   * do not glare on the dark page. Apply it to the element that carries the
   * plate.
   */
  --logo-plate-filter: none;
}


/*
 * Dark theme, set on <html> by includes/core/assets/theme-mode.php before the first
 * paint. It is as deep as YouTube's dark theme, but the greys lean cool - a
 * graphite with a trace of blue, as on liga.net - which sits better next to
 * the navy of the menu bar and the brand sections than a neutral grey does.
 * Text leans the other way, a warm off-white: pure white on near-black glows
 * and tires the eye on long reads. Body text is about 14:1, headings 16:1.
 * The few steps YouTube's palette does not name (muted text, input fills, the
 * stronger line of inputs) sit between those, with every text colour still
 * clearing WCAG AA on every surface.
 */
html[data-theme="dark"] {
  color-scheme: dark;

  --color-bg-primary: #161b1f;
  --color-bg-primary--rgb: 22, 27, 31;
  --color-bg-secondary: #1a2025;
  --color-bg-tertiary: #283036;
  --color-surface-card: #1f262b;
  --color-surface-overlay: rgba(0, 0, 0, 0.7);

  --color-text-primary: #ebe8e4;
  --color-text-secondary: #aeb8bd;
  --color-text-muted: #86939b;
  --color-text-heading: #f6f3ef;

  --color-link: #3ea6ff;
  --color-link-hover: #7cc2ff;
  --color-accent: #3ea6ff;

  --color-focus: #3ea6ff;

  /* #e30327 on graphite reads under 4.5:1, so text in red goes lighter. */
  --color-danger: #ff5c6c;
  --color-danger-bg: rgba(255, 92, 108, 0.1);

  --color-border: #2c353b;
  --color-border-strong: #4b565e;

  --color-ink--rgb: 255, 255, 255;
  --color-tint--rgb: 255, 255, 255;

  --logo-plate-filter: brightness(0.86);

  /*
   * The brand blues are the one part of the palette with a dark-theme
   * variant. Full-strength navy in large blocks - the menu bar, section
   * backgrounds, page heroes - glares against YouTube's neutral greys, so on
   * the dark theme it goes a step deeper while keeping its saturation: still
   * clearly the brand, no longer the brightest thing on the page. The
   * brighter blue follows it. White text on both keeps well over 7:1.
   */
  --color-blue-200: #13234d;
  --color-blue-200--rgb: 19, 35, 77;
  --color-blue-100: #224f92;
  --color-blue-100--rgb: 34, 79, 146;
}



@media (max-width: 899px) {
  :root {
    --wrap: 5vw;
    --wrap-1: 5vw;
    --wrap-2: 5vw;
    --wrap-colored: 5vw;
  }
}

/*
 * The phone's type and spacing scale. Pages grew their own sizes one by one,
 * so on a phone the same kind of text ran from 14 to 18px and a section
 * heading could be bigger than the page title above it. Apple's phone pages
 * keep a few steps and never break them: reading text at 17pt in their face
 * (about 16px in Roboto), list titles a step above, section headings clearly
 * under the page title, captions no smaller than 12px. Shared components use
 * these steps on phones; a page that needs another size says so in its own
 * stylesheet. One value here moves the whole site, which is the point.
 */
@media (max-width: 899px) {
  :root {
    --fs-title: 1.625rem;      /* page title, h1 */
    --fs-section: 1.375rem;    /* section heading under it */
    --fs-card: 1.0625rem;      /* titles of cards in lists */
    --fs-body: 1rem;           /* reading text */
    --lh-body: 1.6;
    --fs-secondary: 0.875rem;  /* descriptions, meta */
    --fs-caption: 0.75rem;     /* dates, badges: the smallest step */
    --space-section: 3rem;     /* between the big blocks of a page */
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  :root {
    --wrap: 5vw;
    --wrap-1: 5vw;
    --wrap-2: 5vw;
    --wrap-colored: 5vw;
  }
}

@media (min-width: 1200px) and (max-width: 2199px) {
  :root {
    --wrap: 2.604vw;
    --wrap-1: 15vw;
    --wrap-2: 22.708vw;
    --wrap-colored: calc(var(--wrap-1) - var(--wrap));
  }
}

@media (min-width: 2200px) {
  :root {
    --wrap: 5vw;
    --wrap-1: 15vw;
    --wrap-2: 23.437vw;
    --wrap-colored: calc(var(--wrap-1) - var(--wrap));
  }
}

/* Wider than a 2K screen (an ultrawide 3440, a 4K at 100%): the page is a
   2560px canvas in the middle of the screen, laid out exactly as on a 2560
   screen, the rest of the screen left as margins. The margins being shares
   of the screen, a 3440 screen stretched the header, cards and text past
   what still reads as one page. Up to 2560 the page fills the screen (the
   owner, 2026-12-01). The margins are frozen at their 2560 values, not grown
   with the screen: many blocks pad themselves with --wrap inside a band that
   already stands --wrap in, and a grown value squeezed their content from
   2048 to 1168px. Whatever runs past the canvas (the news row, the running
   rows of faculties) is cut at its edge by body's overflow-x: clip; the fixed
   header is centred on it in header/layout.css. */
@media (min-width: 2561px) {
  :root {
    --wrap: 128px;
    --wrap-1: 384px;
    --wrap-2: 600px;
  }

  /* html > body: a page's own «body { margin: 0 }» (About is one), loaded
     later, put the canvas back against the left edge. */
  html > body {
    max-width: 2560px;
    margin-inline: auto;
  }
}



html {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

/* Both directions: with only a width, a horizontal strip (the letters of a list, a row of tabs on a phone)
   kept the browser's thick default bar under it. */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-blue-100);
}

/* Firefox has no ::-webkit-scrollbar: the same colours from the standard properties. */
@supports not selector(::-webkit-scrollbar) {
    html { scrollbar-color: var(--color-blue-100) var(--color-bg-secondary); }
    * { scrollbar-width: thin; }
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue-200);
}

* {
  -webkit-tap-highlight-color: transparent;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

* {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
input,
textarea,
button,
select {
  font-family: "Roboto", sans-serif;
}

a {
  text-decoration: none;
}

html,
body {
  overflow-x: clip;
  height: unset !important;
  font-weight: 400;
  font-size: 1rem;
  line-height: 140%;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
}

/* A 2K screen or wider: the base size a step up, 18px instead of 16. Text
   and spacing are set in rem almost everywhere, so the whole page grows by
   one eighth and keeps its proportions; at 16px the news cards' 15px text and
   the events' 12px dates read small on a 27" screen. 2000px leaves 1920 and
   any smaller screen as they were. A percentage, so a visitor's own browser
   size still counts. After the rule above, whose 1rem would win otherwise;
   body keeps that 1rem, which is now the larger root. */
@media (min-width: 2000px) {
  html {
    font-size: 112.5%;
  }
}

html._lock,
body._lock {
  overflow: hidden;
}

/*
 * Theme switch, driven by theme-toggle.js.
 *
 * While the class is on, the page jumps straight to the new colours:
 * otherwise every component with a hover transition on its colours would
 * fade on its own schedule and the switch would look smeared. The toggle's
 * icon is the one thing that keeps animating.
 *
 * Where the browser has view transitions, the old page dissolves into the new
 * one - the calm cross-fade macOS and iOS use when the appearance changes,
 * about a third of a second on Apple's ease-in-out curve.
 */
/*
 * Light text on a dark page looks bolder than the same text dark on light,
 * and macOS's subpixel smoothing makes it worse; greyscale smoothing keeps the
 * weight as designed (Windows ignores this and needs nothing).
 */
html[data-theme="dark"] body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.theme-switching *:not(.theme-toggle__icon, .theme-toggle__icon *),
html.theme-switching *::before,
html.theme-switching *::after {
  transition: none !important;
}

html.theme-switching::view-transition-old(root),
html.theme-switching::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

/*
 * One motion for every accordion on the site: the panel unfolding, its arrow
 * turning, a fade if it has one. Each accordion keeps its own way of folding
 * (max-height, grid rows, or assets/js/ui/details.js for <details>) but reads
 * its speed and curve here, so they all open alike (2026-11-17).
 */
:root {
  --accordion-duration: 0.4s;
  --accordion-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/*
 * Visitors who asked their system for less motion get the end state of every
 * animation at once. Durations go to 1ms rather than none so transitionend and
 * animationend still fire and scripts waiting on them keep working; endless
 * loops run a single pass and stop. The accessibility panel's "no animations"
 * switch does the same for everyone else (ms-accessibility.css).
 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
  }
}


/* /wp-content/themes/nuzp/assets/css/layout.css */
._container {
  width: 100%;
  padding: 0 var(--wrap);
  margin: 0;
}

._inner__container {
  width: 100%;
  padding: 0 var(--wrap-1);
  margin: 0;
}

._inner {
  padding-top: 20px;
}

@media (min-width: 1200px) {
  section {
    margin-top: 13.875rem;
  }

  .section-faculty,
  .section-worker {
    margin-top: 2.5rem !important;
  }

  .section-categories {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .front-section {
    margin-top: 4rem;
  }

  section._grey + section:not(._grey),
  section:not(._grey) + section._grey {
    margin-top: 3.75rem;

    margin-bottom: 2rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  section {
    margin-top: 4.75rem;
  }

  section._grey + section:not(._grey),
  section:not(._grey) + section._grey {
    margin-top: 3.75rem;
  }
}

/* 80px between blocks made a phone page mostly air; the scale's step is 48px. */
@media (max-width: 899px) {
  section {
    margin-top: var(--space-section);
  }

  /* The page's first section also clears the fixed header (56px on a phone)
     with this margin, so it keeps the 80px it had: at 48px the breadcrumbs
     of the programme catalogue went under the header. :where keeps the rule
     as weak as the one above, so a page's own first-section rule still wins. */
  main > :where(section:first-of-type) {
    margin-top: 5rem;
  }

  .home section.front-section {
    margin-top: 3rem;
  }

  section._grey + section:not(._grey),
  section:not(._grey) + section._grey {
    margin-top: 1.5rem;
  }
}

section._first {
  margin-top: 13rem;
}
@media (max-width: 1279px) {
  section._first {
    margin-top: 3rem;
  }
}
/* From 900 to 1279px the header is a tablet's, about 74px, taller than the
   phone's 56px that 3rem was set for, and the first section's top (the
   breadcrumbs) slid under it. It takes the header's own height, which
   setHeaderHeight() (main.js) keeps in --header-height. (The tablet's header
   runs to 1279px since 2026-11-27, so that «Зимовий вступ» fits the desktop's.) */
@media (min-width: 900px) and (max-width: 1279px) {
  section._first {
    margin-top: var(--header-height, 4.625rem);
  }
}


.department__container {
  padding: 0 var(--wrap-1);
}

@media (min-width: 1200px) {
  ._margin-top {
    margin-top: 6.25rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  ._margin-top {
    margin-top: 5rem;
  }
}

@media (max-width: 899px) {
  ._margin-top {
    margin-top: 3.75rem;
  }
}

@media (min-width: 2200px) {
  

  section {
    margin-top: 18rem;
  }

  .section-faculty,
  .section-worker {
    margin-top: 5rem !important;
  }

  .section-categories {
    margin-top: 5rem;
    margin-bottom: 5rem;
  }

  .front-section {
    margin-top: 5rem;
  }

  section._grey + section:not(._grey),
  section:not(._grey) + section._grey {
    margin-top: 6rem;
    margin-bottom: 3.5rem;
  }

  section._first {
    margin-top: 15rem;
  }

  ._margin-top {
    margin-top: 9rem;
  }
}


.wp-block-columns {
    display: flex;
    margin-bottom: 1.75em;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 2em;
}
@media (min-width: 900px) {
    .wp-block-columns {
        flex-wrap: nowrap;
    }
}
.wp-block-column {
    flex-grow: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}
@media (max-width: 899px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100% !important;
    }
}


.section-faculty,
.section-worker {
  margin-top: 2.5rem !important;
  margin-bottom: 0 !important;
}

/*
 * Safety net for a failed aos.js download: its stylesheet has already hidden
 * every [data-aos] element, and only the script can reveal them. footer.js
 * sets this class when the library is missing, so the content shows up
 * unanimated instead of staying invisible.
 */
html.aos-unavailable [data-aos] {
  opacity: 1;
  transform: none;
}

/*
 * Phones get no scroll reveals at all (footer.js keeps AOS off there). A
 * flick of the thumb outruns a 450ms fade, so lists showed blank gaps that
 * then filled in, and until aos.js arrived on a slow connection whole sections
 * stayed invisible. Here the content is simply there, as on Apple's pages.
 */
@media (max-width: 899px) {
  html [data-aos][data-aos] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 2200px) {
  .section-faculty,
  .section-worker {
    margin-top: 4rem !important;
  }
}

/*
 * A news item or event without a cover image shows the university crest
 * (impulse_placeholder_image_url()): whole and centred on a soft plate, not
 * cropped to fill the frame like a photo.
 */
img.is-placeholder {
  object-fit: contain !important;
  padding: 14%;
  background-color: var(--color-bg-secondary);
}

/*
 * Buttons answer the moment they are pressed. The phone's own tap flash is
 * switched off site-wide (variables.css), so without this a tap on most
 * controls showed nothing until the next page loaded. The separate `scale`
 * property stacks on top of any hover transform instead of replacing it.
 */
:is(
  .btn,
  .wp-block-button__link,
  .header__buttons button,
  .header__buttons a,
  .popup__close,
  .to-top,
  .swiper-button-prev,
  .swiper-button-next,
  .button-prev,
  .button-next,
  button[type="submit"],
  input[type="submit"]
):active:not(:disabled) {
  scale: 0.97;
}

/*
 * Safari on an iPhone zooms the whole page in when a field under 16px gets
 * the focus, and leaves it zoomed after the keyboard closes: the search boxes
 * and filters set at 13-14px made the page jump on every tap. 16px is the
 * smallest size it leaves alone.
 */
@media (max-width: 899px) {
  input:is([type="text"], [type="search"], [type="email"], [type="tel"], [type="number"], [type="url"], [type="password"], :not([type])),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* «Перейти до змісту» (header.php): off screen until the Tab key reaches it,
   then it shows over the header's top-left corner. <main> takes focus from it
   with tabindex="-1", which draws no outline of its own. */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-blue-200);
  color: var(--color-white);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

#main:focus {
  outline: none;
}


/* /wp-content/themes/nuzp/assets/css/typography.css */
.typography {
  font-weight: 400;
  color: var(--color-text-primary);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.typography p {
  text-align: left;
}

/* «По ширині», chosen by the editor for a paragraph (includes/core/editor/paragraphs.php).
   Important and with .typography p, as the news text is set left with
   «.event-article__typography p {… !important}» on phones; the words are hyphenated
   (.typography), so the lines do not open wide gaps there either. */
.has-text-align-justify,
.typography p.has-text-align-justify {
  text-align: justify !important;
}

@media (min-width: 900px) {
  .typography {
    font-size: 1.125rem;
  }
}

@media (max-width: 899px) {
  .typography {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
  }
}

.typography strong {
  font-weight: bold;
}

.typography em {
  font-style: italic;
}

.typography > * + * {
  margin: 1rem 0;
}

.typography > h2 + * {
  margin-top: 1.625rem;
}

.typography ul,
.typography ol,
.typography ul.wp-block-list,
.typography ol.wp-block-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

summary + .wp-block-list,
.typography li > ol,
.typography li > ul {
  margin-top: 16px;
}

.typography li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.4;
  display: flow-root;
}

.typography ul > li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 26px;
  color: var(--color-text-heading);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.typography ol {
  counter-reset: item;
}

.typography ol > li {
  counter-increment: item;
  padding-left: 36px;
}

.typography ol > li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--color-accent);
}

.typography h2 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400 !important;
  line-height: 116%;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5625rem;
  color: var(--color-text-heading);
}

@media (min-width: 1200px) {
  .typography h2 {
    font-size: 1.375rem;
  }
}

@media (min-width: 1540px) {
  .typography h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1199px) {
  .typography h2 {
    font-size: 1.375rem;
  }
}

@media (max-width: 899px) {
  .typography h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }
}

@media (min-width: 900px) {
  .typography h2 {
    margin-top: 2.5rem;
  }
}

.typography h3 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
}

@media (min-width: 1200px) {
  .typography h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 1199px) {
  .typography h3 {
    font-size: 1.125rem;
  }
}

.typography h4 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
}

/* A step under h3 at every width; at 1.3rem it outgrew h3 on wide screens. */
@media (min-width: 1200px) {
  .typography h4 {
    font-size: 1.125rem;
  }
}

@media (max-width: 1199px) {
  .typography h4 {
    font-size: 1rem;
  }
}

/*
 * Lower headings written in the editor (.wp-block-heading; designed cards keep
 * their own) take the heading colour and room above them as h2 does.
 * `.typography h3 { margin: 0 }` outweighs the spacing between blocks
 * (`.typography > * + *`), so a subheading sat flush on the list before it.
 */
.typography h3.wp-block-heading,
.typography h4.wp-block-heading {
  color: var(--color-text-heading);
}

.typography h3.wp-block-heading {
  margin-top: 2rem;
}

.typography h4.wp-block-heading {
  margin-top: 1.5rem;
}

@media (max-width: 899px) {
  .typography h3.wp-block-heading {
    margin-top: 1.5rem;
  }

  .typography h4.wp-block-heading {
    margin-top: 1.25rem;
  }
}

/* Inside columns nothing is a direct child of .typography, so the blocks
   there get the same spacing as the text itself. */
.typography .wp-block-column > * + * {
  margin-top: 1rem;
}

.typography .wp-block-column > :first-child {
  margin-top: 0;
}

.typography a {
  color: var(--color-link);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}

.typography a.file {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  padding: 12px 16px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 0 !important;
  color: var(--color-text-heading);
  font-weight: 500;
  transition: 0.2s ease;
  transition-property: color, background-color, background-size, border-color, text-decoration-color, text-underline-offset;
  margin: 4px 0;
}

.typography a.file:hover {
  background-color: var(--color-bg-tertiary);
  border-left-color: var(--color-text-heading);
}

.typography a.file > * + * {
  margin-left: 12px;
}

@media (min-width: 900px) {
  .typography a {
    text-underline-offset: 0.375rem;
  }
}

@media (max-width: 899px) {
  .typography a {
    text-underline-offset: 0.25rem;
  }
}

html:not(.v-mobile) .typography a:hover,
.typography a:focus-visible {
  text-decoration-color: var(--color-link);
}

/*
 * Links inside running text are navy in the light theme, darker than the
 * site's link blue. No global token has that pair, so the text blocks carry
 * their own: navy on light, the ordinary link blues on dark.
 */
.typography,
.article__typography,
.event-article__typography,
.faculty-info__description {
  --text-link: var(--color-blue-200);
  --text-link-hover: var(--color-blue-100);
}

html[data-theme="dark"] .typography,
html[data-theme="dark"] .article__typography,
html[data-theme="dark"] .event-article__typography,
html[data-theme="dark"] .faculty-info__description {
  --text-link: var(--color-link);
  --text-link-hover: var(--color-link-hover);
}

.typography p a:not(.file),
.typography li a:not(.file),
.article__typography p a {
  color: var(--text-link);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}

html:not(.v-mobile) .typography p a:not(.file):hover,
.typography p a:not(.file):focus-visible,
html:not(.v-mobile) .typography li a:not(.file):hover,
.typography li a:not(.file):focus-visible,
html:not(.v-mobile) .article__typography p a:hover,
.article__typography p a:focus-visible {
  color: var(--text-link-hover);
  background-size: 100% 2px;
}

.event-article__typography a:not(.file):not([class*="wp-block-"]):not([class*="btn"]):not([data-fancybox]),
.faculty-info__description a:not(.file):not([class*="wp-block-"]):not([class*="btn"]) {
  display: inline !important;
  float: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  word-wrap: break-word !important;
  max-width: 100%;
  min-width: 0;
  color: var(--text-link);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}

html:not(.v-mobile) .event-article__typography a:not(.file):not([class*="wp-block-"]):not([class*="btn"]):not([data-fancybox]):hover,
.event-article__typography a:not(.file):not([class*="wp-block-"]):not([class*="btn"]):not([data-fancybox]):focus-visible,
html:not(.v-mobile) .faculty-info__description a:not(.file):not([class*="wp-block-"]):not([class*="btn"]):hover,
.faculty-info__description a:not(.file):not([class*="wp-block-"]):not([class*="btn"]):focus-visible {
  color: var(--text-link-hover);
  background-size: 100% 2px;
}

.typography table {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0;
  font-size: 0.875rem;
  line-height: 140%;
  margin: 1.5rem 0;
  background: var(--color-bg-primary);
}

.typography table th {
  padding: 1rem;
  background-color: var(--color-blue-200);
  color: var(--color-white);
  font-weight: 700;
  text-align: left;
  border-bottom: none;
}

.typography table td {
  padding: 1rem;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  vertical-align: middle;
  font-weight: 400;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
}

/* The article text breaks inside words (break-word, hyphens) so long words never overflow a line. In a
   table that lets the browser shrink a column of short labels next to a long one down to a letter or two
   («рів/ень» on /education/iqa/). A floor keeps a short word whole; wide tables still fit, since words
   go on breaking (ten columns × 5.5rem are narrower than the text column). Phones set their own floor. */
.typography table td,
.typography table th {
  min-width: 5.5rem;
}

.typography table tbody tr:nth-child(even) td {
  background-color: var(--color-bg-secondary);
}

.typography table tbody tr:hover td {
  background-color: var(--color-bg-secondary);
}

.typography table tbody tr:last-child td {
  border-bottom: none;
}

.typography._grey table td {
  color: var(--color-text-heading);
}

.typography._grey table tbody tr:nth-child(even) td {
  background-color: var(--color-bg-secondary);
}

.typography._grey table tbody tr:hover td {
  /* The hairline grey doubles as the hovered row on this grey variant. */
  background-color: var(--color-border);
}

@media (max-width: 899px) {
  .typography table:not(.certs-table) {
    display: block;
    overflow: auto;
    font-size: 0.75rem;
    scrollbar-width: none;
  }
  .typography table:not(.certs-table)::-webkit-scrollbar {
    display: none;
  }
  .typography table:not(.certs-table) tbody,
  .typography table:not(.certs-table) tr {
    width: max-content;
  }
  .typography table:not(.certs-table) td,
  .typography table:not(.certs-table) th {
    min-width: 13.5rem;
    padding: 0.5rem var(--wrap);
  }
}

.typography.hidden-text div {
  max-height: 400px;
  overflow: hidden;
  position: relative;
}

.typography.hidden-text div:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, rgba(var(--color-bg-primary--rgb), 0) 32.29%, rgba(var(--color-bg-primary--rgb), 0.8) 100%);
}

/* In the light theme the bar is a pale wash of the brand blue with a blue
   hairline: the grey #f8f8f8 it had was about 1.07:1 on white paper, so the
   accordion read as plain text (2026-11-17, variant chosen by the owner).
   The dark theme keeps its graphite bar. */
.typography details {
  --details-bar: rgba(var(--color-blue-100--rgb), 0.06);
  --details-bar-hover: rgba(var(--color-blue-100--rgb), 0.1);
  --details-line: rgba(var(--color-blue-100--rgb), 0.2);
}

html[data-theme="dark"] .typography details {
  --details-bar: var(--color-bg-secondary);
  --details-bar-hover: var(--color-bg-tertiary);
  --details-line: var(--color-border);
}

.typography details summary {
  padding: 16px 50px 16px 20px;
  background-color: var(--details-bar);
  border: 1px solid var(--details-line);
  color: var(--color-text-heading);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

.typography details summary::-webkit-details-marker {
  display: none;
}

.typography details summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-heading);
  border-bottom: 2px solid var(--color-text-heading);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--accordion-duration) var(--accordion-ease);
}

.typography details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.typography details summary:hover {
  background-color: var(--details-bar-hover);
}

@media (max-width: 899px) {
  .typography details summary {
    padding: 12px 14px;
    font-size: 0.9rem;
    line-height: 1.35;
    word-break: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }
}

.typography details {
  margin-bottom: 16px;
}

.typography details[open] {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.typography details[open] > *:not(summary) {
  /* Removed animation to prevent flickering */
}

details[open] p {
  margin: 1.2rem 0;
}

.event-article__typography blockquote,
.event-article__typography .wp-block-quote {
  position: relative;
  display: block !important;
  width: auto !important; 
  max-width: 100% !important;
  overflow: hidden !important; 
  padding: 24px 32px 24px 64px;
  background: var(--color-bg-secondary);
  border-left: 6px solid var(--color-border-strong);
  box-sizing: border-box;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  font-style: normal;
}

.event-article__typography blockquote::before,
.event-article__typography .wp-block-quote::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 24px;
  height: 24px;
  background-color: var(--color-text-heading);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.3;
}

.event-article__typography blockquote p,
.event-article__typography .wp-block-quote p {
  margin: 0 !important;
}

.event-article__typography blockquote cite,
.event-article__typography .wp-block-quote cite,
.event-article__typography .wp-block-quote__citation {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  font-style: normal;
}

.event-article__typography blockquote.alignleft,
.event-article__typography .wp-block-quote.alignleft {
  float: left !important;
  width: 50% !important;
  margin: 8px 32px 24px 0 !important;
  overflow: visible !important;
}

.event-article__typography blockquote.alignright,
.event-article__typography .wp-block-quote.alignright {
  float: right !important;
  width: 50% !important;
  margin: 8px 0 24px 32px !important;
  overflow: visible !important;
}

.event-article__typography blockquote:not(.wp-embedded-content) p,
.event-article__typography .wp-block-quote:not(.wp-embedded-content) p {
  margin-bottom: 16px !important;
}

.event-article__typography blockquote:not(.wp-embedded-content) > *:last-child,
.event-article__typography .wp-block-quote:not(.wp-embedded-content) > *:last-child {
  margin-bottom: 0 !important;
}

.event-article__typography blockquote:not(.wp-embedded-content) cite,
.event-article__typography .wp-block-quote:not(.wp-embedded-content) cite,
.event-article__typography .wp-block-quote__citation {
  display: block;
  margin-top: 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  font-style: normal;
}

.event-article__typography blockquote:not(.wp-embedded-content) cite::before,
.event-article__typography .wp-block-quote:not(.wp-embedded-content) cite::before,
.event-article__typography .wp-block-quote__citation::before {
  content: "— ";
}

@media (max-width: 899px) {
  /* News and events read at the site's one phone size, not two steps above it. */
  .event-article__typography {
    font-size: var(--fs-body) !important;
    line-height: var(--lh-body) !important;
    padding: 0 !important;
  }

  .event-article__typography p {
    
    text-align: left !important;
    letter-spacing: -0.01em;
  }

  .event-article__typography h2,
  .event-article__typography h3,
  .event-article__typography h4 {
    margin-bottom: 20px !important;
  }

  .event-article__typography a:not(.file):not([class*="wp-block-"]):not([class*="btn"]):not([data-fancybox]) {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    display: inline !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
  }

  .event-article__typography img,
  .event-article__typography figure,
  .wp-caption {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .event-article__typography blockquote,
  .event-article__typography .wp-block-quote,
  .event-article__typography blockquote.alignleft,
  .event-article__typography .wp-block-quote.alignleft,
  .event-article__typography blockquote.alignright,
  .event-article__typography .wp-block-quote.alignright {
    float: none !important;
    width: 100% !important;
    margin: 32px 0 !important;
    padding: 20px 20px 20px 48px !important;
    font-size: 1.05rem !important;
    border-left: 4px solid var(--color-border-strong) !important;
    font-style: italic;
  }

  .event-article__typography blockquote::before,
  .event-article__typography .wp-block-quote::before {
    left: 16px !important;
    top: 20px !important;
    width: 20px !important;
    height: 20px !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    z-index: 2 !important;
  }
}

.event-article__typography p,
.article__typography p,
.faculty-typography__content p {
  display: block !important;
  overflow: visible !important;
}

.article__typography .wp-block-group.is-layout-grid {
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.article__typography .wp-block-image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article__typography .wp-container-content-5f80b302,
.article__typography .wp-block-group p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.article__typography .wp-block-group p a {
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 5px;
}

@media (max-width: 899px) {
  .article__typography .wp-block-group.is-layout-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .article__typography .wp-block-image.aligncenter {
    margin-left: auto;
    margin-right: auto;
  }
}

.wp-block-embed-youtube.wp-embed-aspect-9-16 {
  clear: both !important;
  display: flex !important;
  justify-content: center !important;
  margin: 40px auto !important;
  width: 100% !important;
}

@media (min-width: 900px) {
  .wp-block-embed-youtube.wp-embed-aspect-9-16 iframe {
    height: 85vh !important;
    height: 85svh !important;
    max-height: 800px !important;
    width: auto !important;
    aspect-ratio: 9 / 16 !important;
  }
}

@media (max-width: 899px) {
  .wp-block-embed-youtube.wp-embed-aspect-9-16 iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
  }
}

.wp-block-media-text__content p,
.wp-block-media-text {
  margin-bottom: 1em;
}

.wp-block-media-text__content p:last-child {
  margin-bottom: 0;
}

.event-article__typography .file {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  max-width: 100%;
  padding: 10px;
  border-radius: 0 !important;
}

.event-article__typography .file__label {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-article__typography .file__img {
  width: 100%;
  height: auto;
  display: block;
}

.event-article__typography .file__img__hover {
  display: none;
}

.event-article__typography .file__text {
  display: flex;
  flex-direction: column;
}



/* /wp-content/themes/nuzp/assets/css/pagination.css */
.pagination {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Only the links are pressable. The item used to show the hand over the
   current page and the «…» as well, and the «…» even rose on hover, so it
   looked like a button that did nothing. */
.pagination__item {
  display: inline-block;
}

.pagination__link.dots,
.pagination__link.active {
  cursor: default;
}

.pagination__link,
.pagination .current {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 42px;
  height: 42px;
  padding: 5px 15px;
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text-heading);
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-bg-secondary);
  transition: 0.2s ease-in-out;
  transition-property: color, background-color, border-color, transform, text-decoration-color, height, padding;
}

a.pagination__link:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-link);
  border-color: var(--color-border);
}

.pagination .current,
.pagination__item.active .pagination__link {
  background: var(--color-blue-200);
  color: var(--color-white);
  font-weight: 700;
  border-color: var(--color-blue-200);
  pointer-events: none;
}

.pagination__item .pagination__link.active {
  background-color: var(--color-blue-200);
  color: var(--color-white);
  border-color: var(--color-blue-100);
  font-weight: 700;
}

.pagination .prev,
.pagination .next {
  font-weight: 700;
}

.menu__lang {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__lang .current-lang a {
  cursor: pointer;
}

.menu__lang .lang-item {
  display: block;
  background-color: var(--color-bg-primary);
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.menu__lang .lang-item a {
  display: flex;
  align-items: center;
  padding: 8px;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.menu__lang .lang-item img {
  width: 20px !important;
  height: auto !important;
  transition: transform 0.3s ease;
}

.menu__lang .lang-item:not(.current-lang) {
  display: block;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  pointer-events: none;
  transform: translateY(-10px);
  /* Hidden, not just transparent, so Tab does not land on a flag nobody can
     see; visibility flips only after the fade-out has finished. */
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  border-top: none;
}

.menu__lang.is-open .lang-item:not(.current-lang) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

.menu__lang .lang-item a:hover {
  background-color: var(--color-bg-secondary);
}


/* /wp-content/themes/nuzp/assets/css/search.css */
@media (min-width: 900px) {
  input,
  textarea {
    padding-bottom: 0.5rem !important;
  }
}

/*
 * Search highlights and hover washes are the link blue at low opacity. There
 * is no token for its channels, so the two search blocks carry their own:
 * the light link blue, and the dark theme's lighter one.
 */
.search-page-section,
.search-modal {
  --search-wash--rgb: var(--color-blue-100--rgb);
  --search-url: var(--color-green-100);
}

html[data-theme="dark"] .search-page-section,
html[data-theme="dark"] .search-modal {
  --search-wash--rgb: 62, 166, 255;
  --search-url: #81c995;
}

.search-page-section {
  margin-top: 14rem;
  background-color: var(--color-bg-primary);
  min-height: 80vh;
  min-height: 80svh;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .search-page-section {
    margin-top: 10rem;
  }
}

.search-header-block {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.search-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.query-text {
  color: var(--color-link);
}

.search-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 15px;
}

.search-stats {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.search-refine-form {
  flex-grow: 1;
  max-width: 400px;
}

.custom-search-form {
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.custom-search-form .search-field {
  width: 100%;
  height: 48px;
  padding: 0 12px !important;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-text-muted);
  border-radius: 0;
  font-size: 1.2rem;
  color: var(--color-text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.custom-search-form .search-field:hover {
  border-color: var(--color-grey-100);
}

.custom-search-form .search-field:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-blue-100--rgb), 0.1);
  outline: none;
}

.custom-search-form .search-field::placeholder {
  color: var(--color-text-secondary);
}

.custom-search-form .search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 48px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-primary);
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  padding: 0;
}

.custom-search-form .search-submit:hover {
  color: var(--color-link);
}

.custom-search-form .search-submit svg {
  width: 20px;
  height: 20px;
  display: block;
}

.search-list {
  display: flex;
  flex-direction: column;
}

.search-item {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
}

.search-item:first-child {
  padding-top: 1rem;
}

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

.search-item__meta {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-item__type {
  font-weight: 500;
  color: var(--color-text-primary);
}

.search-item__title {
  font-size: 1.375rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.search-item__title a {
  color: var(--color-link);
  text-decoration: none;
}

.search-item__title a:hover {
  text-decoration: underline;
  color: var(--color-text-heading);
}

.search-item__url {
  font-size: 0.85rem;
  color: var(--search-url);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}

.search-item__excerpt {
  color: var(--color-text-primary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 95%;
}

.search-item__excerpt strong {
  color: var(--color-text-primary);
  font-weight: 700;
}

.search-item__excerpt mark {
  background-color: rgba(var(--search-wash--rgb), 0.12) !important;
  color: var(--color-text-heading) !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  box-shadow: inset 0 -1px 0 rgba(var(--color-blue-100--rgb), 0.2);
}
.search-pagination {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.search-pagination .pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.search-pagination .pagination__link:not(.active):hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-text-muted);
  color: var(--color-text-primary);
}

.search-pagination .pagination__link.active {
  background: var(--color-blue-200);
  border-color: var(--color-blue-200);
  color: var(--color-white);
  font-weight: 700;
}

.search-empty-state {
  padding: 3rem 0;
}

/* What the results are for when the search changed the query: another
   keyboard layout, corrected words, or only part of the words. */
.search-notice {
  margin: 1.5rem 0 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.search-notice strong {
  color: var(--color-text-heading);
}

.search-notice a {
  margin-left: 0.25em;
  color: var(--color-link);
}

/* «Запитати ШІ-помічника» under the results and in place of them; shown by
   ask-assistant.js only where the assistant's chat is on the page. */
.search-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.search-empty-state .search-ask {
  margin-top: 1.5rem;
}

.search-ask__lead,
.live-search-ask__lead {
  margin: 0;
  color: var(--color-text-primary);
}

.search-ask[hidden],
.live-search-ask[hidden] {
  display: none;
}

.live-search-ask {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 20px 24px;
  text-align: center;
  font-size: 0.9rem;
}

.live-search-alt-notice + .live-search-ask,
.live-search-group + .live-search-ask {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.live-search-ask .js-ask-assistant.is-selected {
  outline: 2px solid var(--color-blue-100);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 899px) {
  .search-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-refine-form,
  .custom-search-form,
  .custom-search-form .search-field {
    width: 100%;
  }

  .search-refine-form {
    max-width: 100%;
  }

  .search-item__excerpt {
    max-width: 100%;
    font-size: 0.95rem;
  }
}

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: rgba(var(--color-bg-primary--rgb), 0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-property: opacity, transform, visibility;
  overflow: hidden;
  touch-action: none;
}



.search-modal._opened {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  background-color: var(--color-surface-card);
  margin-top: 100px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  /* Comes down from the header, where the search button is, not up from below. */
  transform: translateY(-16px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-modal._opened .search-modal__container {
  transform: translateY(0);
}

.search-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--color-blue-200);
  border: none;
  cursor: pointer;
  color: var(--color-white);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  z-index: 10;
}

.search-modal__close:hover {
  background-color: var(--color-black);
}

.search-modal__close svg,
.search-modal__close img {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
  display: block;
}

.search-modal__title {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: left;
}

.search-modal__form-wrapper {
  position: relative;
  width: 100%;
}

.search-modal__form-wrapper form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.search-modal__form-wrapper input[type="search"],
.search-modal__form-wrapper input[type="text"] {
  width: 100%;
  height: 80px;
  font-family: "Roboto", sans-serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: normal;
  color: var(--color-text-primary);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-text-muted);
  border-radius: 0;
  padding: 0 96px 8px 0 !important;
  margin: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.search-modal__form-wrapper input[type="search"]::-webkit-search-decoration,
.search-modal__form-wrapper input[type="search"]::-webkit-search-cancel-button,
.search-modal__form-wrapper input[type="search"]::-webkit-search-results-button,
.search-modal__form-wrapper input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.search-modal__form-wrapper input[type="search"]:focus,
.search-modal__form-wrapper input[type="text"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

.search-modal__form-wrapper input::-webkit-input-placeholder {
  color: var(--color-text-muted);
  opacity: 0.55;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: inherit;
  line-height: normal;
}

.search-modal__form-wrapper input::-moz-placeholder {
  color: var(--color-text-muted);
  opacity: 0.55;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: inherit;
  line-height: normal;
}

.search-modal__form-wrapper input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.55;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: inherit;
  line-height: normal;
}

.search-modal__form-wrapper button[type="submit"],
.search-modal__form-wrapper input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0 !important;
  bottom: 0;
  width: 50px;
  height: 100%;
  margin: 0 !important;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-heading);
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 10;
}

.search-modal__form-wrapper button[type="submit"] svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5px;
  display: block;
}

.search-modal__form-wrapper button[type="submit"]:hover {
  color: var(--color-text-primary);
}

.search-modal__clear {
  position: absolute;
  top: 0;
  right: 50px !important;
  bottom: 0;
  width: 44px;
  height: 100%;
  margin: 0 !important;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  opacity: 0.5;
  transition: opacity 0.2s ease, color 0.2s ease;
  z-index: 10;
}

.search-modal__clear svg {
  width: 20px;
  height: 20px;
  display: block;
}

.search-modal__clear:hover {
  opacity: 1;
  color: var(--color-text-primary);
}

.live-search-mark {
  background: transparent;
  color: var(--color-text-heading);
  font-weight: 700;
  padding: 0;
}

.live-search-alt-notice {
  padding: 10px 20px 8px;
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 8px;
  background-color: rgba(var(--search-wash--rgb), 0.04);
}

.live-search-alt-notice strong {
  color: var(--color-text-heading);
  font-weight: 700;
}


.live-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: var(--color-surface-card);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: opacity, transform, visibility;
  max-height: 400px;
  overflow-y: auto;
  touch-action: pan-y;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
}

.live-search-dropdown.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.live-search-group {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.live-search-group:last-child {
  border-bottom: none;
}

.live-search-group-title {
  font-size: 0.75rem;
  color: var(--color-text-primary);
  padding: 0 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.live-search-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 20px;
  color: var(--color-link);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.live-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-heading);
  opacity: 0.6;
  margin-top: 2px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.live-search-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.live-search-item:hover,
.live-search-item:focus,
.live-search-item.is-selected {
  background-color: rgba(var(--search-wash--rgb), 0.08);
  color: var(--color-text-heading);
  outline: none;
}

.live-search-item:hover .live-search-icon,
.live-search-item:focus .live-search-icon,
.live-search-item.is-selected .live-search-icon {
  color: var(--color-text-heading);
  opacity: 1;
}

.live-search-all-btn {
  display: block;
  text-align: center;
  padding: 15px;
  background: var(--color-blue-200);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.live-search-all-btn:hover,
.live-search-all-btn:focus,
.live-search-all-btn.is-selected {
  background-color: var(--color-blue-100);
  outline: none;
}

.live-search-empty {
  padding: 30px 20px;
  text-align: center;
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

.live-search-loading {
  padding: 30px;
  display: flex;
  justify-content: center;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(var(--search-wash--rgb), 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: live-search-spin 0.8s linear infinite;
}

@keyframes live-search-spin {
  to { transform: rotate(360deg); }
}

.live-search-dropdown::-webkit-scrollbar {
  width: 6px;
}

.live-search-dropdown::-webkit-scrollbar-thumb {
  background: var(--color-text-secondary);
  border-radius: 3px;
}

/* Firefox has no ::-webkit-scrollbar: the same colours from the standard properties. */
@supports not selector(::-webkit-scrollbar) {
    .live-search-dropdown {
        scrollbar-width: thin;
        scrollbar-color: var(--color-text-secondary) transparent;
    }
}

#live-search-results.is-loading {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.live-search-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.live-search-name {
  font-weight: 500;
  line-height: 1.35;
  word-break: break-word;
}

.live-search-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--color-text-secondary);
}

.live-search-type {
  font-weight: 400;
  color: var(--color-text-secondary);
  text-transform: none;
  flex-shrink: 0;
}

.live-search-sep {
  color: var(--color-text-secondary);
  opacity: 0.6;
  font-size: 0.7rem;
  user-select: none;
}

.live-search-breadcrumbs {
  font-weight: 400;
  color: var(--color-text-secondary);
  word-break: break-word;
}


@media (max-width: 899px) {
  .search-modal__container {
    padding: 40px 20px;
    max-width: 90%;
  }
  .search-modal__form-wrapper input[type="search"],
  .search-modal__form-wrapper input[type="text"] {
    font-size: 1.75rem;
    height: 60px;
    padding: 0 80px 6px 0 !important;
  }
  .search-modal__clear {
    right: 40px !important;
    width: 36px;
  }
  .search-modal__close {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 599px) {
  .search-modal {
    align-items: flex-start;
    padding-top: 0;
  }
  .search-modal__container {
    margin-top: 0;
    padding: 80px 20px 40px;
    max-width: 100%;
    height: auto;
    min-height: 25vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: none;
    transform: translateY(-100%);
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .search-modal._opened .search-modal__container {
    transform: translateY(0);
  }
  .search-modal__drag-handle {
    display: block;
    width: 40px;
    height: 4px;
    background: var(--color-border);
    margin: 20px auto 0;
  }
  .search-modal__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--color-text-primary);
  }
  .search-modal__form-wrapper input[type="search"],
  .search-modal__form-wrapper input[type="text"] {
    font-size: 1.35rem;
    height: 50px;
    padding: 0 74px 4px 0 !important;
  }
  .search-modal__clear {
    right: 36px !important;
    width: 32px;
  }

  .live-search-dropdown {
    top: calc(100% + 4px);
    max-height: 52vh;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .live-search-group {
    padding: 6px 0;
  }

  .live-search-group-title {
    padding: 0 12px;
    font-size: 0.675rem;
    margin-bottom: 4px;
  }

  .live-search-item {
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(var(--color-ink--rgb), 0.05);
    -webkit-tap-highlight-color: transparent;
  }

  .live-search-item:last-child {
    border-bottom: none;
  }

  .live-search-item:active {
    background-color: rgba(var(--search-wash--rgb), 0.1);
  }

  .live-search-icon {
    margin-top: 2px;
  }

  .live-search-icon svg {
    width: 16px;
    height: 16px;
  }

  .live-search-name {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .live-search-meta {
    margin-top: 3px;
    font-size: 0.7rem;
    line-height: 1.3;
    gap: 4px;
  }

  .live-search-type {
    font-size: 0.675rem;
  }

  .live-search-breadcrumbs {
    font-size: 0.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .live-search-all-btn {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .live-search-empty {
    padding: 22px 14px;
    font-size: 0.85rem;
  }

  .live-search-alt-notice {
    padding: 8px 12px 6px;
    font-size: 0.75rem;
  }

  .live-search-ask {
    padding: 0 14px 18px;
    font-size: 0.85rem;
  }
}





/* /wp-content/themes/nuzp/assets/css/floating-nav.css */
.floating-nav {
  position: fixed;
  z-index: 9990;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: rgba(var(--color-bg-primary--rgb), 0.95);
  border: 1px solid var(--color-border);
}

.nav-track {
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease,
    margin 0.3s ease;
  opacity: 1;
  overflow: visible;
}

.floating-nav.is-closed .nav-track {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  transition: 0.3s ease;
  transition-property: color, background-color, box-shadow, opacity, transform;
  position: relative;
  border-bottom: none !important;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: fit-content;
}

.nav-link:hover {
  color: var(--color-text-heading);
}

.nav-link.active {
  background: var(--color-blue-200);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(var(--color-blue-100--rgb), 0.25);
}

.nav-toggle {
  margin-top: 4px;
  border-top: 1px solid rgba(var(--color-ink--rgb), 0.05);
  padding-top: 4px;
  width: 100%;
  color: var(--color-text-secondary);
}

.nav-toggle:hover {
  color: var(--color-text-heading);
  background: transparent;
  transform: none !important;
}

.nav-toggle .icon-menu {
  display: none;
}

.nav-toggle .icon-close {
  display: block;
}

.floating-nav.is-closed .nav-toggle {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.floating-nav.is-closed .nav-toggle .icon-menu {
  display: block;
}

.floating-nav.is-closed .nav-toggle .icon-close {
  display: none;
}

@media (min-width: 900px) {
  .floating-nav {
    top: 50%;
    right: 15px;
    transform: translateY(-50%) translateX(150px);
    flex-direction: column;
    padding: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }

  .floating-nav.is-visible {
    transform: translateY(-50%) translateX(0);
  }

  .nav-track {
    flex-direction: column;
    gap: 4px;
    max-height: 500px;
  }

  .nav-link {
    width: 32px;
    height: 32px;
  }

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

  .nav-link::after {
    content: attr(aria-label);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--color-blue-200);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    transition-property: color, background-color, box-shadow, opacity, transform;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
  }

  .nav-toggle::after {
    display: none;
  }

  .nav-link:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 899px) {
  .floating-nav {
    top: auto;
    bottom: 120px;
    right: auto;
    transform: translateX(-150%);
    flex-direction: column-reverse;
    width: auto;
    border-left: none;
    border-right: 1px solid var(--color-border-strong);
    border-top: 1px solid var(--color-border-strong);
    border-bottom: 1px solid var(--color-border-strong);
  }

  .floating-nav.is-visible {
    transform: translateX(0);
  }

  .nav-track {
    flex-direction: column;
    gap: 4px;
    max-height: 400px;
    margin-bottom: 4px;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease,
      margin 0.3s ease;
  }

  .nav-toggle {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(var(--color-ink--rgb), 0.05);
    width: 100%;
  }

  .floating-nav.is-closed .nav-track {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    pointer-events: none;
  }

  .floating-nav.is-closed .nav-toggle {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .nav-link {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

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

  .nav-link::after,
  .nav-link::before {
    display: none;
  }
}


/* /wp-content/themes/nuzp/assets/css/css-blocks/footer.css */
.footer {
  overflow: hidden;
}

@media (min-width: 1200px) {
  .footer {
    margin-top: 1.375rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .footer {
    margin-top: 2.75rem;
  }
}

@media (max-width: 899px) {
  .footer {
    margin-top: 1.25rem;
  }
}

@media (max-width: 899px) {
  .footer__container {
    padding: unset;
  }
}

.footer-contacts__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (max-width: 899px) {
  .footer-contacts__wrapper {
    align-items: center;
  }
}

@media (max-width: 1150px) {
  .footer-contacts {
    gap: 2rem !important;
    width: 100%;
    flex-wrap: wrap;
  }
}



.footer__wrapper {
  position: relative;
  z-index: 1;
  background-color: var(--color-bg-secondary);
  padding: 20px;
}

@media (min-width: 1200px) {
  .footer__wrapper {
    padding: 1.375rem 2rem 1rem;
  }
}

.footer__wrapper > * + * {
  margin-top: 2rem;
}

.footer__header {
  position: relative;
  z-index: 1;
}

.footer__main {
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer__bottom {
  border-top: 1px solid var(--color-accent);
  padding-top: 2rem;
}

@media (max-width: 899px) {
  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 1400px) {
  .footer-socials--icons,
  .footer-socials--logos {
    height: 50px;
  }
}

.footer__bg {
  position: absolute;
  margin: 0;
  top: -50px;
  right: -75px;
  z-index: 0;
  pointer-events: none;
}

.footer-contacts__link-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-contacts__link-wrapper svg {
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .footer__bg {
    width: 100%;
  }
}

/*
 * The crest watermark is a faint shape in the light theme, but its white
 * parts light up on a dark page and sit right behind the column headings,
 * so the dark theme turns it down to a trace.
 */
.footer__bg {
  --footer-watermark-opacity: 1;
}

html[data-theme="dark"] .footer__bg {
  --footer-watermark-opacity: 0.3;
}

.footer__bg img,
.footer__bg svg {
  width: 85%;
  height: auto;
  opacity: var(--footer-watermark-opacity);
}

@media (min-width: 900px) {
  .footer__logo {
    max-width: 20.3125rem;
  }
}

@media (max-width: 899px) {
  .footer__logo {
    max-width: 13.3125rem;
  }
}

.footer__logo img {
  width: 100%;
  height: auto;
}

/* Logo twins, see site-footer.php: blue wordmark on light, white on dark. */
.footer__logo .logo-link__img--dark,
html[data-theme="dark"] .footer__logo .logo-link__img--light {
  display: none;
}

html[data-theme="dark"] .footer__logo .logo-link__img--dark {
  display: block;
}

.footer-navigation {
  font-weight: 400;
  line-height: 115.384%;
}

@media (min-width: 900px) {
  .footer-navigation {
    display: grid;
    gap: 2em;
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
    font-size: 0.75rem;
  }
}

@media (min-width: 900px) and (min-width: 1710px) {
  .footer-navigation {
    gap: 0.769em;
    font-size: 0.8125rem;
  }
}

@media (max-width: 899px) {
  .footer-navigation {
    font-size: 0.875rem;
  }
}

@media (max-width: 899px) {
  .footer-navigation > * + * {
    border-top: 1px solid var(--color-border-strong);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

.footer-navigation__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  line-height: 116%;
  font-weight: 400;
  border: unset;
  padding: unset;
  background-color: transparent;
  text-align: left;
  font-weight: 500;
  color: var(--color-link);
}

@media (min-width: 1200px) {
  .footer-navigation__title {
    font-size: 1.375rem;
  }
}

@media (min-width: 1200px) and (min-width: 1540px) {
  .footer-navigation__title {
    font-size: 1.5rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .footer-navigation__title {
    font-size: 1.375rem;
  }
}

@media (max-width: 899px) {
  .footer-navigation__title {
    font-size: 1.0625rem;
  }
}

@media (min-width: 900px) {
  .footer-navigation__title {
    cursor: default;
  }
}

@media (max-width: 899px) {
  .footer-navigation__title {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

.footer-navigation__title > * + * {
  margin-left: 2.5rem;
}

@media (min-width: 900px) {
  .footer-navigation__arrow {
    display: none;
  }
}

.footer-navigation__arrow svg {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
}

.footer-navigation__arrow svg._active {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

@media (min-width: 900px) {
  .footer-navigation__inner:not(._last) {
    margin-top: 1.75rem;
  }
}

/*
 * Phone accordion. GSAP animated the list's height while this file animated
 * its margin over a different time, both relaying out the page on every
 * frame, so opening stuttered. Now one transition of the grid row (0fr → 1fr)
 * with the margin and opacity in step; main.js only toggles _active. A closed
 * list is also hidden, so the keyboard skips its links.
 */
@media (max-width: 899px) {
  .footer-navigation__inner:not(._last) {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      grid-template-rows 0.3s ease,
      margin-top 0.3s ease,
      opacity 0.2s ease,
      visibility 0s linear 0.3s;
  }

  .footer-navigation__inner:not(._last) > * {
    min-height: 0;
    overflow: hidden;
  }

  .footer-navigation__item._active .footer-navigation__inner:not(._last) {
    grid-template-rows: 1fr;
    margin-top: 1rem;
    opacity: 1;
    visibility: visible;
    transition:
      grid-template-rows 0.3s ease,
      margin-top 0.3s ease,
      opacity 0.25s ease 0.05s,
      visibility 0s;
  }

  .footer-navigation__item._active .footer-navigation__arrow svg {
    transform: rotate(180deg);
  }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .footer-navigation__inner:not(._last),
  .footer-navigation__item._active .footer-navigation__inner:not(._last),
  .footer-navigation__arrow svg {
    transition: none;
  }
}

/* The three buttons under the lists sat 16px apart on a phone. */
@media (max-width: 899px) {
  .footer-navigation__item--last .footer-list > * + * {
    margin-top: 0.625rem;
  }
}

@media (max-width: 1084px) {
  .footer-navigation__item--last {
    grid-column: 1/-1;
  }

  .extras-list {
    justify-content: center;
  }

  .extras-list__item {
    flex: 0 1 250px !important;
  }
}

.footer-list > * + * {
  margin-top: 0.75rem;
}

.footer-list__item {
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  color: var(--color-text-primary);
  width: 100%;
}

/* The footer's link buttons keep their own lighter look (the owner's choice,
   2026-10-24): a thin light-blue line, words of normal weight in the link
   colour, the icon after them, and under the pointer the blue sliding in from
   the left. They stay .btn for size and focus; only the look differs. */
.footer-list .footer-list__item.btn {
  --btn-bg: var(--color-bg-primary);
  --btn-fg: var(--color-link);
  --btn-line: var(--color-accent);
  min-height: 0;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(var(--color-blue-100), var(--color-blue-100)) no-repeat 0 0 / 0 100%, var(--btn-bg);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.footer-list .footer-list__item.btn > span {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}

.footer-list .footer-list__item.btn svg {
  width: 24px;
  height: 24px;
}

/* The icons (the menu item's «icon» field and the feedback one) are drawn in
   lines with no colour of their own; they take the words'. */
.footer-list__item.btn svg path {
  stroke: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .footer-list .footer-list__item.btn:hover {
    --btn-bg: var(--color-bg-primary);
    --btn-fg: var(--color-white);
    --btn-line: var(--color-blue-100);
    background-size: 100% 100%, auto;
  }
}

@media (max-width: 899px) {
  .footer-list .footer-list__item.btn {
    font-size: 0.875rem;
  }

  .footer-list .footer-list__item.btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-list .footer-list__item.btn {
    transition: none;
  }
}

/*
 * The mail button split in two (site-footer.php): the new mail takes the width
 * and the button's usual look; the old webmail is a square part on its right
 * with an archive icon alone, there for whoever still needs it without drawing
 * the eye. Its words are a hint that rises above it under the pointer, on
 * keyboard focus, and on a touch screen after the first tap (footer.js adds
 * _tip there). The two parts share one line where they meet.
 */
.footer-mail {
  --mail-old-w: 70px;
  display: flex;
}

.footer-list .footer-list__item.btn.footer-mail__new {
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: 0.75rem;
  white-space: nowrap;
}

.footer-list .footer-list__item.btn.footer-mail__old {
  position: relative;
  flex: none;
  /* The width puts the archive icon at the middle of the part, right above
     the icons of the two buttons below, which end their centred words. On a
     wide screen those icons sit about 35px from the edge. */
  width: var(--mail-old-w);
  margin-left: -1px;
  padding: 0;
}

/* White words on the blue a footer button fills with under the pointer.
   It hangs from the button's right edge, flush with the column, as a hint
   centred over the icon stuck out past the buttons; its arrow points at the
   icon, half the part's width from that edge. */
.footer-list .footer-list__item.btn.footer-mail__old > .footer-mail__tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 2;
  display: block;
  padding: 0.375rem 0.75rem;
  background: var(--color-blue-100);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* The little arrow under the hint, pointing at the icon. */
.footer-mail__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: calc(var(--mail-old-w) / 2 - 6px);
  border: 6px solid transparent;
  border-top-color: var(--color-blue-100);
}

.footer-list .footer-list__item.btn.footer-mail__old:focus-visible > .footer-mail__tip,
.footer-list .footer-list__item.btn.footer-mail__old._tip > .footer-mail__tip {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-list .footer-list__item.btn.footer-mail__old:hover > .footer-mail__tip {
    opacity: 1;
    transform: none;
  }

  /* The hovered part draws its whole line over the shared one. */
  .footer-mail > .btn:hover {
    z-index: 1;
  }

  .footer-mail > .footer-mail__new:hover {
    position: relative;
  }
}

/* On a phone the buttons below are the full width and their icons sit far in
   from the edge; a part wide enough to line up with them looked too big, so
   here it is a compact square-ish part and the icons are not lined up. */
@media (max-width: 899px) {
  .footer-mail {
    --mail-old-w: 56px;
  }
}

/*
 * The footer links are small text with 12px between them, too thin a target
 * for a finger. Padding widens what can be tapped and the equal negative
 * margin gives the space back, so nothing moves; 6px each way meets the
 * neighbour's area without overlapping it.
 */
.footer-list__item:not(.btn) {
  display: inline-block;
  padding-block: 6px;
  margin-block: -6px;
}

html:not(.v-mobile) .footer-list__item:hover {
  color: var(--color-link);
}

.footer-list__item:focus-visible {
  color: var(--color-link);
}

@media (min-width: 900px) {
  .footer-contacts {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
  }
}

@media (max-width: 899px) {
  .footer-contacts > * + * {
    margin-top: 1.5rem;
  }
}

.footer-contacts__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 140%;
  width: 100%;
}

@media (min-width: 900px) {
  .footer-contacts__item {
    max-width: 320px;
  }
}

.footer-contacts__item > * + * {
  margin-left: 0.65rem;
}

.footer-contacts__label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-accent);
}

.footer-contacts__label svg,
.footer-contacts__label img {
  width: 18px;
  height: 18px;
}

.footer-contacts__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contacts__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.footer-contacts__desc {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
}

.footer-contacts__link {
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  padding: 1px 0;
  min-height: 22px;
}

html:not(.v-mobile) .footer-contacts__link:hover {
  color: var(--color-link);
}

.footer-contacts__link:focus-visible {
  color: var(--color-link);
}

.footer-contacts__link span {
  display: block;
}

.footer-socials {
  display: flex;
}

.footer-socials > * + * {
  margin-left: 1rem;
}

.footer-socials li {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.footer-socials__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 2rem;
  height: 2rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-socials__link svg,
.footer-socials__link img {
  width: 100%;
  height: auto;
}

.footer-socials__link svg path {
  /* The icons come from an ACF field with fill="black" baked in; CSS outranks the attribute. */
  fill: var(--color-text-primary);
  -webkit-transition: fill 0.3s ease;
  transition: fill 0.3s ease;
}

html:not(.v-mobile) .footer-socials__link:hover svg path {
  fill: var(--color-accent);
}

.footer-socials__link:focus-visible svg path {
  fill: var(--color-accent);
}

/*
 * Touch screens. The phone numbers and addresses were 22px-tall targets 6px
 * apart; each row is now 32px with no gap, a few pixels more per row. The
 * section headings and the social icons keep their look and get a 44px
 * target: the padding that grows it is taken back by a negative margin, so
 * nothing moves.
 */
@media (pointer: coarse) {
  .footer-contacts__content {
    gap: 0;
  }

  .footer-contacts__link {
    min-height: 32px;
  }

  /* The section headings open their lists; a 23px button in a 55px row. The
     margin takes the padding back, so the rows keep their spacing. */
  .footer-navigation__title {
    padding: 10px 0;
    margin: -10px 0;
  }

  .footer-socials__link {
    width: 44px;
    height: 44px;
    padding: 6px;
    margin: -6px;
  }
}

.footer-socials__wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 1rem;
}

.footer-socials__item--logo {
  width: 45px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.footer-socials__item--logo a {
  width: 45px;
  height: 45px;
}

.footer-socials__item--logo {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-socials__item--logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* The association logos are wide; in a 45px square they came out 45×18 on a
   phone, too small to read. There they keep their own width at 28px high. */
@media (max-width: 899px) {
  .footer-socials__item--logo,
  .footer-socials__item--logo a {
    width: auto;
    height: 28px;
  }

  .footer-socials__item--logo img {
    height: 28px;
    max-width: 120px;
  }
}

@media (max-width: 899px) {
  .footer {
    margin-top: 0;
  }
}

.footer-socials--logos {
  display: flex;
  gap: 1rem;
  margin: 0;
}

.footer-socials--logos > * {
  margin: 0 !important;
}

details[open] p {
  margin: 1.2rem 0;
}

/*
 * Reading progress bar. It is always full width and scroll.js scales it
 * along X: a transform is done by the compositor, where animating width
 * relaid out the page on every scroll step.
 */
#scrollIndicator {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background-color: var(--color-blue-100);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

@media (max-width: 480px) {
  #scrollIndicator {
    height: 3px;
    background-color: var(--color-blue-100);
  }
}

@media (min-width: 481px) and (max-width: 1199px) {
  #scrollIndicator {
    height: 4px;
    background-color: var(--color-blue-100);
  }
}

@media (min-width: 1200px) and (max-width: 1920px) {
  #scrollIndicator {
    height: 5px;
  }
}

@media (min-width: 1921px) {
  #scrollIndicator {
    height: 6px;
  }
}



@media (min-width: 900px) {
  .footer-navigation__item--contacts .footer-navigation__title {
    display: none !important;
  }
  .footer-contacts__main-wrapper {
    display: grid;
    gap: 2em;
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
    width: 100%;
  }
}

@media (max-width: 899px) {
  .footer-navigation__item--contacts .footer-navigation__title {
    display: flex !important;
  }
  .footer-contacts__main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}


/* Newspaper covers: the cover drawn for the dark theme replaces the original there
   (site-footer.php, field «Обкладинка для темної теми»). The dark one is lazy, so a
   light-theme visit never downloads it. Two classes: section-categories.css,
   loaded after this file, shows every .categories-list__logo. */
.categories-list__logo.categories-list__logo--dark,
html[data-theme="dark"] .categories-list__logo--light {
  display: none;
}

html[data-theme="dark"] .categories-list__logo--dark {
  display: block;
}

/* section-categories.css gives every cover a white ground; the dark twin is
   drawn on a transparent one and keeps it. */
.categories-list__logo.categories-list__logo--dark {
  background-color: transparent;
}


/* The ZP Space app under the newspaper covers (template-parts/layout/footer/
   app-promo.php), laid out as the owner's «download-card»: the icon on the
   left; the name, a line and the badges on the right, then a bare QR icon
   that opens the code in a popover. The badges are smaller than their 40px
   so both fit the footer column in one line. */
.footer-app {
  --footer-app-badge: 28px;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.footer-app__icon {
  flex: none;
  width: 72px;
  height: 72px;
}

.footer-app__body {
  min-width: 0;
}

.footer-app__title,
.footer-app__text {
  margin: 0;
}

.footer-app__title {
  color: var(--color-text-primary);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.1;
}

.footer-app__text {
  margin-top: 0.125rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.footer-app__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.375rem;
}

.footer-app__store {
  display: block;
  flex: none;
  line-height: 0;
}

.footer-app__badge {
  width: auto;
  height: var(--footer-app-badge);
}

/* White badges on the light theme, black on the dark one; the dark twin is
   lazy, so a light-theme visit never downloads it. */
.footer-app__badge--dark,
html[data-theme="dark"] .footer-app__badge--light {
  display: none;
}

html[data-theme="dark"] .footer-app__badge--dark {
  display: block;
}

/* Only the icon: no frame, the badges' height for an easy tap. */
.footer-app__qr-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--footer-app-badge);
  height: var(--footer-app-badge);
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-app__qr-btn:hover {
    color: var(--color-link);
  }
}

.footer-app__store:focus-visible,
.footer-app__qr-btn:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

/* The QR card: tied to the button and opening above it, its right edge on
   the button's, or below when there is no room above. Without anchor
   positioning the browser centres it on the screen, which still works. */
.footer-app__qr-btn {
  anchor-name: --footer-app-qr;
}

.footer-app__popup {
  margin: auto;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface-card);
  color: var(--color-text-primary);
  box-shadow: 0 8px 24px rgba(var(--color-ink--rgb), 0.12);
  text-align: center;
}

@supports (position-area: top) {
  .footer-app__popup {
    position-anchor: --footer-app-qr;
    position-area: top span-left;
    position-try-fallbacks: flip-block, flip-inline;
    inset: auto;
    margin: 0 0 0.5rem;
  }
}

.footer-app__popup::backdrop {
  background: none;
}

/* The two stores' codes side by side, each named under its picture; the
   hint under both. */
.footer-app__qr-list {
  display: flex;
  gap: 0.75rem;
}

.footer-app__qr {
  margin: 0;
}

/* Navy on white in both themes: a camera reads dark on light. Smaller on a
   narrow phone, so the two codes still fit side by side in the window. */
.footer-app__qr-code {
  --footer-app-qr-size: 148px;
  display: block;
  box-sizing: content-box;
  width: var(--footer-app-qr-size);
  height: var(--footer-app-qr-size);
  margin: 0 auto;
  padding: 0.5rem;
  background-color: var(--color-white);
}

/* Which store the code leads to, in the text colour above the hint. */
.footer-app__popup-text strong {
  color: var(--color-text-primary);
  font-weight: 500;
}

.footer-app__popup-text {
  margin: 0.5rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

@media (max-width: 1084px) {
  .footer-app {
    --footer-app-badge: 34px;
    justify-content: center;
  }
}

@media (max-width: 419px) {
  .footer-app__qr-code {
    --footer-app-qr-size: 120px;
  }
}

/* On a phone (the owner, 2026-12-01) the footer's column is centred, and the
   app's name and line came out centred beside a left icon, while the badges
   (34px, for a finger) and the QR button, 259px together, did not fit the
   221px beside the icon and the QR fell to a line of its own. Now the icon
   and the name with its line make the first row, set left, and the badges
   with the QR the second, across the whole width. */
@media (max-width: 899px) {
  .footer-app {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
    row-gap: 0.75rem;
    align-items: center;
    justify-content: start;
    text-align: left;
  }

  .footer-app__body {
    display: contents;
  }

  .footer-app__icon {
    grid-row: 1;
    grid-column: 1;
    width: 56px;
    height: 56px;
  }

  .footer-app__title,
  .footer-app__text {
    grid-column: 2;
  }

  .footer-app__title {
    grid-row: 1;
    align-self: start;
    margin-top: 0.375rem;
  }

  .footer-app__text {
    grid-row: 1;
    align-self: end;
    margin-bottom: 0.375rem;
  }

  .footer-app__stores {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 0;
  }

  /* The contacts: the icon on the left and the words beside it set left, not
     centred like the rest of the column. */
  .footer-contacts__item {
    text-align: left;
  }
}


/* /wp-content/themes/nuzp/assets/css/css-blocks/breadcrumbs.css */
.breadcrumbs {
  display: block;

  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-secondary);

  font-size: clamp(0.75rem, 2vw, 0.875rem);
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.breadcrumbs > span:first-child:last-child {
  display: contents;
}

.breadcrumbs a {
  display: inline;
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--color-link), var(--color-link));
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: color 0.3s ease, background-size 0.3s ease;
}

html:not(.v-mobile) .breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--color-link);
  background-size: 100% 1px;
  outline: none;
}

.breadcrumbs span {
  color: var(--color-text-secondary);
}

.breadcrumbs .breadcrumb_last {
  color: var(--color-text-secondary);
  font-weight: 500;
  display: inline;
}

/*
 * Touch screens. A crumb is a 12px word, a 14px-tall target. Vertical padding
 * on an inline link widens what a finger can hit without moving the line; the
 * hover underline is drawn in the content box, so it stays under the word.
 */
@media (pointer: coarse) {
  .breadcrumbs a {
    padding: 12px 0;
    background-origin: content-box;
    background-clip: content-box;
  }
}

@media (max-width: 899px) {
  .breadcrumbs {
    line-height: 1.6;
  }
  .breadcrumbs span {
    white-space: normal;
    word-break: break-word;
  }
}

/* Other paths of a teacher or a staff member (impulse_breadcrumb_more_*() in
   includes/acf/acf-blocks.php): «+N» in the link colour at the end of the
   trail, and under it more lines of the same crumbs. */
/* Kept a little apart from the name, so it does not read as part of it. */
.breadcrumbs__more-toggle {
  display: inline;
  margin: 0 0 0 0.9em;
  padding: 0;
  border: 0;
  font: inherit;
  font-weight: 500;
  color: var(--color-link);
  cursor: pointer;
  background-color: transparent;
  background-image: linear-gradient(var(--color-link), var(--color-link));
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: color 0.3s ease, background-size 0.3s ease;
}

html:not(.v-mobile) .breadcrumbs__more-toggle:hover,
.breadcrumbs__more-toggle:focus-visible {
  color: var(--color-link-hover);
  background-size: 100% 1px;
  outline: none;
}

/* Clips the lines while breadcrumbs-more.js slides them open or shut. */
.breadcrumbs__more {
  overflow: hidden;
}

.breadcrumbs__trail {
  display: block;
  margin-top: 0.35em;
}


/* /wp-content/themes/nuzp/assets/css/css-blocks/news-block.css */
/* Several page stylesheets restyle bare h2/h3/p with !important inside their
   own .typography wrappers (page-trust-box.css, page-sdg-strategy.css,
   page-hi-rise.css). An !important declaration only loses to another
   !important one, so the card states its own layout the same way; the block's
   three-class selectors outrank those page rules. */
.news-custom-block {
  display: flex !important;
  background-color: var(--color-surface-card) !important;
  border: 2px solid var(--color-border) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 4px 6px rgba(var(--color-black--rgb), 0.05) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;
  margin-bottom: 30px !important;
  max-width: 100% !important;
  font-family: "Roboto", sans-serif !important;
  box-sizing: border-box !important;
  position: relative !important;
  cursor: pointer !important;
}

.news-custom-block *,
.news-custom-block *::before,
.news-custom-block *::after {
  box-sizing: border-box !important;
}

.news-custom-block:hover {
  box-shadow: 0 12px 20px rgba(var(--color-black--rgb), 0.1) !important;
  border-color: var(--color-border-strong) !important;
}

.events-custom-block:hover {
  border-color: var(--color-accent) !important;
}

.news-custom-block .news-image {
  flex: 0 0 280px !important;
  width: 280px !important;
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  background-color: var(--color-bg-secondary) !important;
  padding: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.news-custom-block .news-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.news-custom-block .news-content {
  padding: 22px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 16px !important;
  flex: 1 !important;
}

/* The block ships globally and early, so page stylesheets that restyle h3/p
   would otherwise win on source order. Every text property the block relies on
   is declared here on its own classes, scoped to the block root. */
.news-custom-block.news-custom-block .news-content .news-block-title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  line-height: 116% !important;
  letter-spacing: normal !important;
  text-align: left !important;
  text-transform: none !important;
  color: var(--color-text-heading) !important;
}

/* Heading sizes follow typography.css so the card reads like page text */
@media (min-width: 1200px) {
  .news-custom-block.news-custom-block .news-content .news-block-title--h2 {
    font-size: 1.375rem !important;
  }
  .news-custom-block.news-custom-block .news-content .news-block-title--h3 {
    font-size: 1.25rem !important;
  }
  .news-custom-block.news-custom-block .news-content .news-block-title--h4 {
    font-size: 1.3rem !important;
  }
}

@media (min-width: 1540px) {
  .news-custom-block.news-custom-block .news-content .news-block-title--h2 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 1199px) {
  .news-custom-block.news-custom-block .news-content .news-block-title--h2 {
    font-size: 1.375rem !important;
  }
  .news-custom-block.news-custom-block .news-content .news-block-title--h3 {
    font-size: 1.125rem !important;
  }
  .news-custom-block.news-custom-block .news-content .news-block-title--h4 {
    font-size: 1rem !important;
  }
}

@media (max-width: 899px) {
  .news-custom-block.news-custom-block .news-content .news-block-title--h2 {
    font-size: 1.25rem !important;
  }
}

.news-custom-block.news-custom-block .news-content .news-block-title::before,
.news-custom-block.news-custom-block .news-content .news-block-title::after,
.news-custom-block.news-custom-block .news-content .news-block-excerpt::before,
.news-custom-block.news-custom-block .news-content .news-block-excerpt::after {
  content: none !important;
}

.news-custom-block.news-custom-block .news-content .news-block-title .news-block-title-link {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
  background: none !important;
  transition: color 0.2s ease !important;
}

.news-custom-block.news-custom-block .news-content .news-block-title .news-block-title-link:hover {
  color: var(--color-link) !important;
}

.news-custom-block.news-custom-block .news-content .news-block-excerpt {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  overflow-wrap: break-word !important;
  letter-spacing: normal !important;
  text-align: left !important;
  text-transform: none !important;
  text-indent: 0 !important;
  color: var(--color-text-primary) !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Without a cover the content column simply takes the whole card */
.news-custom-block--no-image .news-content {
  flex: 1 1 100% !important;
  width: 100% !important;
}

.news-custom-block.news-custom-block .news-content .news-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 24px !important;
  background-color: var(--color-blue-100) !important;
  color: var(--color-white) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  align-self: flex-start !important;
  font-size: 0.875rem !important;
  min-height: 38px !important;
  user-select: none !important;
}

.news-custom-block.news-custom-block:hover .news-content .news-link {
  transition: 0.3s background-color ease-in !important;
  background-color: var(--color-blue-200) !important;
  font-weight: 700 !important;
}

/* Navy on the light brand blue in both themes: the button does not sit on the page. */
.events-custom-block.events-custom-block:hover .news-content .events-link {
  transition: 0.3s background-color ease-in !important;
  background-color: var(--color-highlight) !important;
  color: var(--color-blue-200) !important;
  font-weight: 700 !important;
}

/* The title link is stretched over the whole card: one anchor per card keeps
   the anchor text meaningful and gives keyboard users a single stop */
.news-custom-block.news-custom-block .news-content .news-block-title .news-block-title-link::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

.news-custom-block.news-custom-block .news-content .news-block-title .news-block-title-link:focus-visible::after {
  outline: 3px solid var(--color-link) !important;
  outline-offset: -3px !important;
}

/* Meta line: what this card is, and how fresh it is */
/* Flex, not block: as a block the paragraph keeps a line-height strut from the
   inherited page font size, and the taller strut showed up as a gap above the
   date. The row also carries the date's own font size for the same reason. */
.news-custom-block.news-custom-block .news-content .news-block-meta {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 0.875rem !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-indent: 0 !important;
}

.news-custom-block.news-custom-block .news-content .news-block-date {
  font-family: "Roboto", sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: var(--color-text-secondary) !important;
}

/* Without a cover the card keeps a colour cue instead of looking unfinished */
.news-custom-block--no-image {
  border-left-width: 6px !important;
  border-left-color: var(--color-accent) !important;
}

.news-custom-block--no-image.events-custom-block {
  border-left-color: var(--color-accent) !important;
}

@media (prefers-reduced-motion: reduce) {
  .news-custom-block,
  .news-custom-block:hover {
    transition: none !important;
    transform: none !important;
  }
}

/* Editor & Placeholder Styles */
.news-custom-block--placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px 20px !important;
  background-color: var(--color-bg-secondary) !important;
  border: 2px dashed var(--color-border) !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.news-custom-block--placeholder:hover {
  transform: none !important;
  border-color: var(--color-accent) !important;
}

.news-custom-block--placeholder .news-block-placeholder-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

.news-custom-block--placeholder .dashicons {
  font-size: 36px !important;
  width: 36px !important;
  height: 36px !important;
  color: var(--color-accent) !important;
}

.events-custom-block.news-custom-block--placeholder .dashicons {
  color: var(--color-accent) !important;
}

.news-custom-block--placeholder .news-block-placeholder-title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--color-text-heading) !important;
  margin: 0 !important;
}

.news-custom-block--placeholder .news-block-placeholder-desc {
  font-size: 0.875rem !important;
  color: var(--color-text-secondary) !important;
  margin: 0 !important;
}

/* Gutenberg Editor Compatibility. Typography is not repeated here any more -
   the rules above already carry it into the editor. */
.editor-styles-wrapper .news-custom-block {
  margin-top: 15px !important;
  margin-bottom: 25px !important;
}

.editor-styles-wrapper .news-custom-block a {
  text-decoration: none !important;
}

/* The stretched overlay would swallow the click that selects the block */
.editor-styles-wrapper .news-custom-block.news-custom-block .news-content .news-block-title .news-block-title-link::after {
  content: none !important;
}

@media (max-width: 899px) {
  .news-custom-block {
    flex-direction: column !important;
  }

  .news-custom-block .news-image {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .news-custom-block .news-content {
    padding: 18px 18px !important;
    gap: 12px !important;
  }

  .news-custom-block.news-custom-block .news-content .news-block-title {
    font-size: 1.125rem !important;
    line-height: 116% !important;
  }

  .news-custom-block.news-custom-block .news-content .news-block-excerpt {
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
    -webkit-line-clamp: 3 !important;
  }

  .news-custom-block--no-image {
    border-left-width: 2px !important;
    border-top-width: 6px !important;
    border-top-color: var(--color-accent) !important;
  }

  .news-custom-block--no-image.events-custom-block {
    border-left-color: var(--color-border) !important;
    border-top-color: var(--color-accent) !important;
  }

  .news-custom-block.news-custom-block .news-content .news-link {
    width: 100% !important;
    text-align: center !important;
    padding: 10px 20px !important;
    font-size: 0.8125rem !important;
    min-height: 44px !important; /* thumb-sized target on touch */
  }
}


/* /wp-content/themes/nuzp/assets/css/css-blocks/header/layout.css */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--color-bg-primary);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header._scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Wider than 2560 the page is a 2560px canvas in the middle (variables.css);
   being fixed, the header is placed by the window, not by the page, so it is
   centred on the canvas here. Its navy bar, when scrolled, still runs to the
   window's edges (.header-bottom::before, 100vw). */
@media (min-width: 2561px) {
  .header {
    right: 0;
    max-width: 2560px;
    margin-inline: auto;
  }
}

/*
 * On a wide screen the header shrinks by 16px when scrolled (.header-top's
 * padding below) and grows back over 0.35s. The page is laid out under the
 * full header, so flung back to the top it arrived before the header had
 * grown, and for that moment the white of the page showed between the
 * header's bar and a navy page header. The page header now starts 17px
 * higher, tucked under the full header, with a transparent top border of
 * the same depth that its own background shows through: at rest the header
 * covers it, and while the header grows it is the page header itself that
 * shows, not white. Its content stays where it was. Only a .page-hero (and
 * the alumni opening) that comes first and follows the general rule for the
 * first section; a page whose own CSS places its first section otherwise
 * keeps that.
 */
@media (min-width: 1280px) {
  main > section.page-hero:first-of-type,
  main > section.alumni-intro:first-of-type {
    margin-top: calc(var(--header-height-1px) - 17px);
    border-top: 17px solid transparent;
    background-origin: border-box;
  }
}

.header-top {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-bg-primary);
  padding: 1rem 0;
  transition: padding 0.35s ease-in-out;
  color: var(--color-text-secondary);
}

.header._scrolled .header-top {
  padding: 0.5rem 0;
}

.header-top__item {
  position: relative;
  z-index: 1;
}

.header-top__item:nth-child(1) {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blue-200);
  color: var(--color-white);
}

.header-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100vw;
  height: 100%;
  background-color: var(--color-blue-200);
  transition: transform 0.35s ease-in-out;
  z-index: -1;
  transform-origin: center;
}

.header._scrolled .header-bottom::before {
  transform: translateX(-50%) scaleX(1);
}

.header-bottom__item {
  position: relative;
  width: 100%;
}

.header-bottom__item a {
  padding: 1.1rem 0;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

@media (min-width: 1280px) {
  .header-top {
    font-size: 1rem;
  }
  .header-top__item:nth-child(2) {
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }
  .header-bottom {
    font-size: 1rem;
    font-weight: 500;
  }
}

/* No larger size of the menu's own: 18-19px at 1920 read as oversized beside other sites (the owner,
   2026-12-02). From 2000px the root itself grows (variables.css), so the menu's 1rem is 18px there. */

@media (max-width: 1279px) {
  .header._scrolled {
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.05),
      0 12px 32px rgba(0, 0, 0, 0.1);

    background-color: rgba(var(--color-bg-primary--rgb), 0.98);
  }

  .header-top__item:nth-child(3) {
    max-width: 90%;
    width: 100%;
  }
  .header-bottom {
    display: none;
  }
}

/*
 * Small screens: the controls take only their own width and the logo gets
 * the rest of the bar, shrinking its wordmark instead of overflowing
 * (logo.css).
 */
@media (max-width: 899px) {
  .header-top__item:nth-child(1) {
    flex-shrink: 1;
    min-width: 0;
  }

  .header-top__item:nth-child(3) {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 899px) {
  .header-top {
    padding: 0.5rem 0;
  }
  .categories__container {
    padding: 0 !important;
  }
}



/* /wp-content/themes/nuzp/assets/css/css-blocks/header/logo.css */
.logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  will-change: transform;
}

.logo-link__label {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  transition: 0.5s ease-in-out;
  transition-property: transform;
}

.logo-link__text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  width: auto;
  height: auto;
  max-width: 260px;
  margin-left: 12px;
  opacity: 1;
  transform: translateX(0);
  transform-origin: left center;
  transition: 0.5s ease-in-out;
  transition-property: max-width, margin-left, opacity, transform;
}

.logo-link__text img {
  width: auto;
  height: 32px;
}

/* Wordmark twins, see site-header.php: blue letters on light, white on dark. */
.logo-link__text .logo-link__img--dark,
html[data-theme="dark"] .logo-link__text .logo-link__img--light {
  display: none;
}

html[data-theme="dark"] .logo-link__text .logo-link__img--dark {
  display: block;
}

.header._scrolled .logo-link__text {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  transform: translateX(-15px);
}

.header._scrolled .logo-link__label {
  transform: scale(0.85);
}

@media (min-width: 1600px) {
  .logo-link__label {
    width: 64px;
    height: 64px;
  }
  .logo-link__text {
    max-width: 340px;
    margin-left: 16px;
  }
  .logo-link__text img {
    height: 40px;
  }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .logo-link__label {
    width: 56px;
    height: 56px;
  }
  .logo-link__text {
    max-width: 280px;
    margin-left: 14px;
  }
  .logo-link__text img {
    height: 36px;
  }
}

@media (min-width: 1280px) and (max-width: 1279px) {
  .logo-link__label {
    width: 48px;
    height: 48px;
  }
  .logo-link__text {
    margin-left: 10px;
  }
  .logo-link__text img {
    height: 30px;
  }
}

@media (max-width: 1279px) {
  .logo-link__label {
    width: 42px;
    height: 42px;
  }
}

/*
 * Small screens. All five controls stay in the bar at their full spacing,
 * so the wordmark gives way instead: below 768px it takes whatever room the
 * controls leave, up to 200px, and scales with it.
 */
@media (max-width: 899px) {
  .logo-link__text {
    flex-shrink: 1;
    min-width: 0;
    max-width: 200px;
    margin-left: 8px;
  }

  .logo-link__text img {
    width: 100%;
    height: auto;
  }
}

/*
 * Phones. Beside five icons the wordmark would shrink to an unreadable
 * 15px strip and crowd the bar, so the shield stands alone, a size larger;
 * its alt text still names the university.
 */
@media (max-width: 480px) {
  .logo-link__label {
    width: 40px;
    height: 40px;
  }

  .logo-link__text {
    display: none;
  }
}


/* /wp-content/themes/nuzp/assets/css/css-blocks/header/navigation.css */
.menu {
  width: 100%;
}

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

.menu__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.menu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
}

.menu-arrow svg {
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

@media (min-width: 1280px) {
  .menu.menu__mobile {
    display: none;
  }

  .menu__list {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .menu.menu__top .menu__list {
    justify-content: flex-end;
  }

  .menu.menu__bottom .menu__list {
    padding: 0 var(--wrap);
    justify-content: space-between;
  }

  .menu__list > .menu-item > .menu-row > .menu-arrow {
    display: none !important;
  }

  .menu-item {
    position: relative;
  }

  .menu-row {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .menu-arrow {
    margin-left: 6px;
    pointer-events: none;
  }

  .menu.menu__top .menu-item:hover .menu__link {
    color: var(--color-text-primary);
  }

  .menu-item:hover > .menu-row .menu-arrow svg,
  .menu-item:has(:focus-visible) > .menu-row .menu-arrow svg,
  .menu-item._kb-open > .menu-row .menu-arrow svg {
    transform: rotate(180deg);
  }

  .menu__link span {
    position: relative;
    text-align: center;
  }

  .menu__link span::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .menu-item:hover > .menu-row .menu__link span::before {
    transform: scaleX(1);
  }


  .sub-menu {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    /* Drops from the menu item it belongs to rather than rising towards it. */
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s;
    position: absolute;
    min-width: 320px;
    background: var(--color-surface-card);
    border: 1px solid rgba(var(--color-ink--rgb), 0.05);
    padding: 0;
    z-index: 100;
    flex-direction: column;
    box-shadow: none;
    top: 100%;
    left: 0;
  }

  /* The item's row is as tall as the bar, so its dropdown hangs right from
     the bar's edge with no gap to bridge. The items used to reach 15px past
     the bar for that, and the invisible strip took the clicks meant for what
     lies just under the header (the tab of the section bar). */
  .menu__list > .menu-item > .sub-menu {
    top: 100%;
  }

  .menu__bottom .sub-menu {
    background: var(--color-blue-200);
    color: var(--color-white);
    left: 0;
    right: auto;
    border: none;
  }

  /* Items on the right side of the menu should open dropdowns to the left */
  .menu__list > .menu-item:nth-last-child(-n+3) > .sub-menu {
    right: 0;
    left: auto;
  }

  /* A keyboard user tabbing into a section opens its submenu the same way the
     pointer does; :focus-visible keeps a mouse click from pinning it open.
     ._kb-open (header.js) holds it open while the focus moves from one of its
     items to the next: between the two the item has no focus for an instant,
     the submenu would hide and the link taking the focus would drop it. */
  .menu-item:hover > .sub-menu,
  .menu-item:has(:focus-visible) > .sub-menu,
  .menu-item._kb-open > .sub-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sub-menu .menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(var(--color-ink--rgb), 0.05);
    position: relative;
  }
  
  .sub-menu .menu-item:hover {
    background-color: rgba(var(--color-ink--rgb), 0.04);
  }

  .menu__bottom .sub-menu .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sub-menu .menu-item:last-child {
    border-bottom: none;
  }

  .sub-menu .menu-row {
    width: 100%;
    padding: 0;
  }

  .sub-menu .menu__link {
    font-size: 0.9rem;
    flex-grow: 1;
    padding: 5px 15px;
    width: auto;
    color: inherit;
  }

  .sub-menu .menu__link span {
    text-align: left;
    display: block;
  }

  .sub-menu .menu-arrow {
    margin-left: auto;
    padding-right: 15px;
  }

  .sub-menu .sub-menu {
    top: 0 !important;
    bottom: auto !important;
    left: 100%;
    right: auto;
    overflow-y: auto;
    max-height: calc(100vh - 40px);
    overscroll-behavior: contain;
    background-color: var(--color-bg-secondary);
    transition: top 0.2s ease-out;
  }
  
  .menu__bottom .sub-menu .sub-menu {
    background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08));
    background-color: var(--color-blue-200);
  }

  /* 3rd level sub-menus on the right side of the screen should open to the left */
  .menu__list > .menu-item:nth-last-child(-n+3) .sub-menu .sub-menu {
    right: 100%;
    left: auto;
  }


}

@media (max-width: 1279px) {
  .menu.menu__top,
  .menu.menu__bottom {
    display: none;
  }

  .menu.menu__mobile {
    color: var(--color-white);
    font-size: 1.1rem;
    line-height: 1.4;
    display: block;
    width: 100%;
    overflow-x: hidden;
    margin-top: 0;
  }

  .menu__mobile .menu-item-has-children > a::after,
  .menu__mobile .menu-item-has-children > a::before {
    content: none !important;
    display: none !important;
  }

  .menu__mobile .menu-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu__mobile .menu-row {
    display: flex;
    width: 100%;
    min-height: 50px;
    background: transparent;
    position: relative;
    z-index: 2;
    align-items: stretch;
    transition: background-color 0.3s ease;
  }

  .menu__mobile .menu__link {
    flex: 1;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    word-break: break-word;
    hyphens: auto;
  }

  .menu__mobile .menu__link span {
    display: block;
    width: 100%;
  }

  .menu__mobile .menu-arrow {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background: transparent;
  }

  .menu__mobile .menu-item._open > .menu-row {
    background: rgba(255, 255, 255, 0.05);
  }

  .menu__mobile .menu-item._open > .menu-row .menu-arrow svg {
    transform: rotate(180deg);
  }

  .menu__mobile .sub-menu {
    display: none;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 !important;
  }

  .menu__mobile .menu-item._open > .sub-menu {
    display: block;
    animation: mobileSlideDownFade 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  
  @keyframes mobileSlideDownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .menu__mobile .sub-menu .menu-row {
    min-height: 40px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .menu__mobile .sub-menu .menu__link {
    padding: 12px 15px 12px 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 0;
    transition: background 0.2s, color 0.2s, padding-left 0.3s ease;
  }
  
  .menu__mobile .sub-menu .menu__link:hover,
  .menu__mobile .sub-menu .menu__link:active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 25px;
  }

  .menu__mobile .sub-menu .sub-menu {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0 !important;
    margin-top: 0;
  }

  .menu__mobile .sub-menu .sub-menu .menu-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  .menu__mobile .sub-menu .sub-menu .menu-item:last-child .menu-row {
    border-bottom: none;
  }

  .menu__mobile .sub-menu .sub-menu .menu__link {
    padding: 10px 15px 10px 25px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 0;
  }
  
  .menu__mobile .sub-menu .sub-menu .menu__link:hover,
  .menu__mobile .sub-menu .sub-menu .menu__link:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    padding-left: 30px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*
 * «Зимовий вступ» in the top menu (the owner, 2026-11-27): the first item, as the others (no colour or decoration
 * of its own), parted from the menu by the same hairline as the controls. The desktop header starts at 1280px for it
 * (under that the tablet's header with the burger, where the item is a quick link); at 1280-1365px the top menu is
 * 14px and closer, at 1366-1535px 15px, so that it fits beside the logo.
 */
@media (min-width: 1280px) {
  .menu__top .menu__sep {
    flex: 0 0 auto;
    width: 1px;
    height: 1.25rem;
    background-color: var(--color-border);
  }

  .menu__link--winter {
    white-space: nowrap;
  }
}

@media (min-width: 1280px) and (max-width: 1365px) {
  .menu.menu__top .menu__list {
    gap: 10px;
    font-size: 0.875rem;
  }
}

@media (min-width: 1366px) and (max-width: 1535px) {
  .menu.menu__top .menu__list {
    gap: 12px;
    font-size: 0.9375rem;
  }
}


/* /wp-content/themes/nuzp/assets/css/css-blocks/header/controls.css */
/*
 * The header controls - language, theme, accessibility, search, burger - are
 * all 24px icons in a row, spaced by one gap. The accessibility button comes
 * from the ms-accessibility plugin as a 40px box (its 24px icon plus an 8px
 * padding that its round hover highlight needs); the negative margin takes
 * that padding back out of the row, so its icon lines up at the same gap.
 */
.header__buttons {
  --header-btn-gap: 1.5rem;

  display: flex;
  align-items: center;
  gap: var(--header-btn-gap);
  margin-left: 20px;
}

.header__buttons #accessibility-toggle-btn.header-style {
  margin: 0 -8px;
}

/*
 * The theme's lighter icon for the button (filters.php) is drawn with lines;
 * the plugin paints its own glyph with fill, which would flood the ring.
 */
.header__buttons #accessibility-toggle-btn.header-style .header-a11y-icon {
  fill: none;
}


/*
 * The language flag keeps its 8px padding as a touch area (pagination.css),
 * and the negative margin takes that padding back out of the row, so the
 * flag itself lines up at the same gap as the icons. The current language
 * sits on the bar with no plate of its own; only the dropdown gets one.
 */
.header__buttons .menu__lang {
  margin: 0 -8px;
}

.header__buttons .menu__lang .current-lang {
  background-color: transparent;
}

.header__buttons .menu__lang .lang-item:not(.current-lang) {
  background-color: var(--color-surface-card);
}

@media (min-width: 1280px) {
  .header__buttons {
    justify-content: space-between;
    margin-left: var(--header-btn-gap);
  }

  /*
   * On desktop the top menu links sit right before the controls; a short
   * hairline, spaced like the icons, keeps the two groups apart. Phones have
   * no top menu, so no line either.
   */
  .header__buttons::before {
    content: "";
    flex: 0 0 auto;
    width: 1px;
    height: 1.25rem;
    background-color: var(--color-border);
  }
}
@media (max-width: 1279px) {
  .header__buttons {
    justify-content: flex-end;
  }
}

.header__btn__search {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  padding: 0;
  background-color: transparent;
  color: var(--color-text-primary);
  justify-content: center;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.header__btn__search svg {
  width: 100%;
  height: auto;
}

.header__btn__search svg path,
.header__btn__search svg circle {
  transition: stroke 0.3s ease;
}

html:not(.v-mobile) .header__btn__search:hover svg > * {
  stroke: var(--color-accent);
}

.menu-burger {
  position: relative;
  display: block;

  flex: 0 0 1.5625rem;
  width: 1.5625rem;

  height: 1.125rem;
  border: unset;
  padding: unset;
  background-color: transparent;
  transition: transform 0.3s ease;

  min-width: 1.5625rem;
}

.menu-burger._opened {
  transform: rotate(225deg);
}

.menu-burger::before,
.menu-burger::after,
.menu-burger span {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 0.125rem;
  background-color: var(--color-text-primary);
}

.menu-burger span {
  top: 50%;
  transition:
    color 0.3s ease,
    transform 0.3s;
}
.menu-burger._opened span {
  transform: scale(0);
}

.menu-burger::before {
  top: 0;
  transition:
    color 0.3s ease,
    transform 0.2s;
}
.menu-burger._opened::before {
  transform: translate(0, 9px);
}

.menu-burger::after {
  top: 100%;
  transition:
    color 0.3s ease,
    transform 0.2s;
}
.menu-burger._opened::after {
  transform: translate(0, -9px) rotate(90deg);
}

.menu-burger:focus-visible::before,
.menu-burger:focus-visible::after,
.menu-burger:focus-visible span {
  background-color: var(--color-accent);
}

html:not(.v-mobile) .menu-burger:hover span,
html:not(.v-mobile) .menu-burger:hover::before,
html:not(.v-mobile) .menu-burger:hover::after {
  background-color: var(--color-accent);
}

@media (min-width: 1280px) {
  .menu-burger {
    display: none;
  }
}

.menu__lang {
  position: relative;
}

.menu__lang ul {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  padding-top: 0.3125rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu__lang:hover ul,
.menu__lang:focus-visible ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu__lang .lang-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 0.9375rem;
  color: var(--color-text-secondary);
  filter: brightness(1.1);
}

.menu__lang .lang-item > * + * {
  margin-left: 0.5em;
}

.menu__lang .lang-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu__lang .lang-item a img {
  width: 100%;
  height: auto;
}

.menu__lang .lang-item svg {
  width: 0.375rem;
  height: auto;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu__lang:hover svg,
.menu__lang:focus-visible svg {
  transform: rotate(180deg);
}

.menu__lang .lang-item-current img {
  max-width: 1.4375rem;
  width: 100%;
  height: auto;
}


/* Light / dark switch; markup in template-parts/ui/controls/theme-toggle.php. */
.theme-toggle {
  display: flex;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  padding: 0;
  background-color: transparent;
  color: var(--color-text-primary);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.theme-toggle__icon {
  width: 100%;
  height: auto;
  overflow: visible;
}

/*
 * The icon shows the theme the button switches to, as on YouTube and GitHub:
 * a moon on the light theme, a sun on the dark one. On a switch one fades
 * out while the other fades in with a slight turn and scale - quiet, in step
 * with the page's cross-fade.
 */
.theme-toggle__moon,
.theme-toggle__sun {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.35s cubic-bezier(0.42, 0, 0.58, 1),
    transform 0.35s cubic-bezier(0.42, 0, 0.58, 1);
}

.theme-toggle__sun {
  opacity: 0;
  transform: rotate(-30deg) scale(0.8);
}

html[data-theme="dark"] .theme-toggle__moon {
  opacity: 0;
  transform: rotate(30deg) scale(0.8);
}

html[data-theme="dark"] .theme-toggle__sun {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle__icon * {
    transition: none !important;
  }
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Only where there is a pointer to hover with: a tap on a phone would leave it stuck blue. */
@media (hover: hover) {
  html:not(.v-mobile) .theme-toggle:hover {
    color: var(--color-accent);
  }
}

/*
 * Phones. Beside a 40px shield the desktop icons read heavy: 24px with a 2px
 * line and a thick burger. Here the icons are 22px drawn with a 1.5px line
 * and the burger's bars thin to match, so the row reads as one quiet set.
 * The gap stays the desktop 24px: it is also the width of each icon's touch
 * area (below), and a narrower one made a finger land on the wrong icon.
 */
@media (max-width: 899px) {
  .theme-toggle,
  .header__btn__search {
    width: 22px;
    height: 22px;
  }

  .theme-toggle__icon,
  .header__btn__search svg {
    stroke-width: 1.4;
  }

  /* The plugin's 40px box shrinks with its icon, so its 8px margin still evens out. */
  .header__buttons #accessibility-toggle-btn.header-style {
    width: 38px;
    height: 38px;
  }

  .header__buttons #accessibility-toggle-btn.header-style svg {
    width: 22px;
    height: 22px;
  }

  .menu-burger {
    flex-basis: 22px;
    width: 22px;
    min-width: 22px;
  }

  .menu-burger::before,
  .menu-burger::after,
  .menu-burger span {
    height: 1.5px;
  }
}

/*
 * Touch screens. The icons are 24px, well under the 44px a finger needs, so
 * each control gets an invisible touch area around it: 44px tall, and as wide
 * as the middle of the gap on either side, so neighbours never overlap. The
 * icons themselves do not move. The burger draws its lines with ::before and
 * ::after, so it grows by a transparent border instead, which its negative
 * margin takes back out of the row; the border is even on both sides so the
 * burger still turns into a cross around its own centre.
 */
@media (pointer: coarse) {
  .header__buttons #accessibility-toggle-btn.header-style,
  .header__buttons .theme-toggle,
  .header__buttons .header__btn__search,
  .header__buttons .menu__lang .current-lang > a {
    position: relative;
  }

  .header__buttons #accessibility-toggle-btn.header-style::after,
  .header__buttons .theme-toggle::after,
  .header__buttons .header__btn__search::after {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: calc(var(--header-btn-gap) / -2);
    right: calc(var(--header-btn-gap) / -2);
  }

  .header__buttons .menu__lang .current-lang > a::after {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 0;
    right: 0;
  }

  .header__buttons .menu-burger {
    box-sizing: content-box;
    border: solid transparent;
    border-width: 13px calc(var(--header-btn-gap) / 2);
    margin: -13px calc(var(--header-btn-gap) / -2);
    background-clip: padding-box;
  }
}


/* /wp-content/themes/nuzp/assets/css/css-blocks/header/page-header.css */
._inner-header {
  margin-bottom: 1.25rem;
}

._inner-header > * + * {
  margin-top: 1.25rem;
}

._inner-header__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  color: var(--color-text-heading);
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

._inner-header__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

._inner-header__info > * + * {
  margin-left: 14px;
}

._inner-header__info .share {
  display: flex;
  align-items: center;
  font-weight: 700;
  line-height: 140%;
  color: var(--color-text-heading);
  transition: 0.3s ease;
}

._inner-header__info .share:hover {
  color: var(--color-text-primary);
}

._inner-header__info .share > * + * {
  margin-left: 8px;
}

._inner-header__date {
  display: block;
  font-weight: 700;
  line-height: 140%;
  color: var(--color-text-heading);
  text-transform: lowercase;
}

@media (min-width: 900px) {
  ._inner-header__title__container {
    max-width: 100%;
  }
  ._inner-header__title {
    font-size: 3rem;
  }
  ._inner-header__info .share,
  ._inner-header__date {
    font-size: 1rem;
  }
}

@media (max-width: 899px) {
  ._inner-header__title {
    font-size: var(--fs-title);
  }
  ._inner-header__info .share,
  ._inner-header__date {
    font-size: 0.875rem;
  }
}


/* /wp-content/themes/nuzp/assets/css/css-posts/faculty-department.css */
.faculty-info {
  margin-bottom: 2rem;
}

.faculty-info__wrapper {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .faculty-info__wrapper {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 4rem;
  }
}

.faculty-info__left {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .faculty-info__left {
    margin: 0;
    position: sticky;
    top: calc(var(--header-height-1px) + 2rem);
  }
}

.faculty-info__logo {
  width: 100%;
}

/* At 200px the emblem took half of a phone's first screen before a word of text. */
@media (max-width: 899px) {
  .faculty-info__logo {
    max-width: 120px;
    margin: 0 auto;
  }
}

@media (min-width: 900px) {
  .faculty-info__logo {
    max-width: 300px;
    margin: 0 auto;
  }
}

.faculty-info__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 899px) {
  .faculty-info__left {
    max-width: unset;
  }
}

.faculty-buttons-scroll {
  width: calc(100% + 24px);
  margin-left: -12px;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 12px 16px 12px 12px; /* Space for shadows and scrollbar */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 164px; /* 140px + 24px padding */
  overflow-y: auto;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  .faculty-buttons-scroll {
    margin-top: 2.25rem;
    margin-bottom: 2rem;
  }
}

/* Beautiful neat scrollbar */
.faculty-buttons-scroll::-webkit-scrollbar {
  width: 4px;
}
.faculty-buttons-scroll::-webkit-scrollbar-track {
  background: rgba(var(--color-blue-100--rgb), 0.05);
  border-radius: 4px;
  margin: 12px 0; /* Don't overlap padding */
}
.faculty-buttons-scroll::-webkit-scrollbar-thumb {
  background: rgba(var(--color-blue-100--rgb), 0.3);
  border-radius: 4px;
}

/* Firefox has no ::-webkit-scrollbar: the same colours from the standard properties. */
@supports not selector(::-webkit-scrollbar) {
    .faculty-buttons-scroll {
        scrollbar-width: thin;
        scrollbar-color: rgba(var(--color-blue-100--rgb), 0.3) rgba(var(--color-blue-100--rgb), 0.05);
    }
}
.faculty-buttons-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--color-blue-100--rgb), 0.5);
}

.faculty-presentation-strip {
  width: 100%;
  flex-shrink: 0;
}

.fps-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 1rem;
  text-decoration: none !important;
  color: var(--color-text-heading);
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border-strong);
  border-radius: 0;
  transition: 0.3s ease;
  transition-property: background-color, border-color, box-shadow, opacity, transform;
  gap: 0.75rem;
}

@media (hover: hover) {
  .fps-link:hover {
    background-color: var(--color-bg-primary);
    box-shadow: 0 4px 10px rgba(var(--color-blue-100--rgb), 0.12);
  }
}

.fps-link:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(var(--color-blue-100--rgb), 0.1);
  background-color: rgba(var(--color-blue-100--rgb), 0.03);
  transition: 0.1s ease;
  transition-property: background-color, border-color, box-shadow, opacity, transform;
}

.fps-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.fps-label,
.fps-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(var(--color-blue-100--rgb), 0.3);
  padding-right: 0.75rem;
  color: inherit;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

@media (hover: hover) {
  .fps-link:hover .fps-label,
  .fps-link:hover .fps-icon-wrapper {
    border-right-color: var(--color-border-strong);
  }
}

.fps-label {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.fps-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  display: block;
}

.fps-icon--mask {
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  width: 20px;
  height: 20px;
  display: inline-block;
}

@media (hover: hover) {
  .fps-link:hover .fps-icon {
    opacity: 1;
  }
}

.fps-title {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: inherit;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fps-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-heading);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (hover: hover) {
  .fps-link:hover .fps-arrow {
    transform: translateX(5px);
  }
}

@media (max-width: 899px) {
  .fps-title {
    font-size: 0.85rem;
  }
}

.faculty-info__description {
  width: 100%;
}

@media (min-width: 900px) {
  .faculty-info__description {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
}

.faculty-history-text {
  max-height: 250px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

@media (max-width: 899px) {
  .faculty-history-text h2 {
    margin-top: 0rem !important;
  }
}

.faculty-history-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(var(--color-bg-primary--rgb), 0), var(--color-bg-primary));
  transition: opacity 0.3s ease;
}

.faculty-history-text._expanded {
  max-height: 10000px;
  transition: max-height 0.8s ease-in-out;
}

.faculty-history-text._expanded::after {
  opacity: 0;
  pointer-events: none;
}

.faculty-history-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--color-text-heading);
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 1.5rem 0 0 0;
  margin: 0;
  transition: color 0.3s ease;
}

.faculty-history-toggle:hover {
  color: var(--color-link);
}

.faculty-history-toggle._expanded svg {
  transform: rotate(180deg);
}

.faculty-compound__title__container {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.875rem;
}

.faculty-compound__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  color: var(--color-text-heading);
}

.faculty-compound-list {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.875rem;
}

.faculty-compound-list > .faculty-compound-list__item * .faculty-compound-list__item {
  border-top: 1px solid var(--color-border);
  padding-top: 1.875rem;
}

/* A department shows its first three rows of staff and the rest behind
   «Дивитися більше»: three people in one column, six in two (see the
   two-column rule below). Only the head was shown before, which hid
   almost the whole staff. The button goes when nothing is hidden. */
.faculty-compound-list._department:not(._active) .faculty-compound-list__item:nth-child(n+4) {
  display: none;
}

.faculty-compound-list._department:not(:has(> .faculty-compound-list__item:nth-child(4))) + .faculty-compound-list__more {
  display: none;
}

/* Under the list, not in its grid, so the list can fold above it (nuzp.fold);
   the gap is the list's own row gap. */
.faculty-compound-list__more {
  margin-top: 1.875rem;
  width: fit-content;
}

.faculty-compound-list__more:not(._active) .less,
.faculty-compound-list__more._active .more {
  display: none;
}

.faculty-worker {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  line-height: 140%;
  color: var(--color-text-secondary);
}

.faculty-worker.ai-center {
  align-items: center;
}

.faculty-worker__img {
  position: relative;
  display: block;
  width: 5rem;
  flex-shrink: 0;
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
  overflow: hidden;
}

.faculty-worker__img__container {
  display: block;
  padding-top: 100%;
}

.faculty-worker__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-worker__info {
  flex: 1;
  min-width: 0;
  width: auto;
}

.faculty-worker__info > * + * {
  margin-top: 0.625rem;
}

.faculty-worker__link {
  position: relative;
  display: block;
  color: var(--color-text-heading);
}

.faculty-worker__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  text-decoration-color: var(--color-text-heading);
  text-underline-offset: 0.375rem;
}

html:not(.v-mobile) .faculty-worker__link:hover .faculty-worker__title,
.faculty-worker__link:focus-visible .faculty-worker__title {
  text-decoration: underline;
}

.faculty-worker__description {
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 0;
  width: 100%;
}

.faculty-worker-details {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faculty-worker-details__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faculty-worker-details__item > * + * {
  margin-left: 0.625rem;
}

.faculty-worker-details__name {
  width: 100%;
  max-width: 4.5rem;
  flex-shrink: 0;
}

.faculty-structure__container {
  padding: 0 var(--wrap-1);
}

/* The value may shrink below its longest word, which then breaks: at 320px
   (a phone, or 400% zoom) «Університетська» was wider than the column left
   beside the label and pushed the card past the screen's edge (WCAG 1.4.10). */
.faculty-worker-details__value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faculty-worker-details__value > * + * {
  margin-top: 0.5em;
}

/* Two phones or e-mails are separate links with nothing between them, so they
   ran together («…7641519+380…»). As in the editor (admin-blocks.css): a «;»
   after each but the last, one per line, and in a row from 1700px. */
.faculty-worker-details__value > *::after {
  content: ";";
  margin-left: -0.15em;
}

.faculty-worker-details__value > *:last-child::after {
  display: none;
}

.faculty-worker-details__value > a {
  display: block;
  width: fit-content;
  color: inherit;
  word-break: break-word;

  text-underline-offset: 0.1875rem;
}

html:not(.v-mobile) .faculty-worker-details__value > a:hover,
.faculty-worker-details__value > a:focus-visible {
  text-decoration: underline;
}

.faculty-structure._grey .faculty-structure__container {
  padding: 0 var(--wrap);
}

.faculty-structure__container.col_2 {
  display: grid;
  gap: 3.25rem;
}

.faculty-structure._grey .faculty-structure__wrapper {
  background-color: var(--color-bg-secondary);
}

.faculty-structure__image {
  width: 100%;
  height: 100%;
  max-height: 90px;
  object-fit: cover;
}

.faculty-structure__title__container {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.275rem;
}

.faculty-structure__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  color: var(--color-text-heading);
}

.faculty-structure-list__item > * + * {
  margin-top: 0.625rem;
}

.faculty-structure-list__link {
  color: var(--color-text-heading);
}

.faculty-structure-list__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  color: inherit;
  text-decoration-color: var(--color-text-heading);
  text-underline-offset: 0.375rem;
}

html:not(.v-mobile) .faculty-structure-list__link:hover .faculty-structure-list__title,
.faculty-structure-list__link:focus-visible .faculty-structure-list__title {
  text-decoration: underline;
}

.faculty-structure-list__additional {
  font-weight: 400;
  line-height: 140%;
  color: var(--color-text-secondary);
}

.faculty-structure-list__additional > * + * {
  margin-top: 0.625rem;
}

.faculty-structure .typography table {
  width: 100%;
  margin: 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.partners-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  padding: 10px;
  background-color: var(--color-bg-primary);
  border: 1px solid transparent;
  transition: 0.3s ease;
  transition-property: color, background-color, border-color;
}

.partners-grid__item:hover {
  border-color: var(--color-border);
  background-color: var(--color-bg-secondary);
}

.partners-grid__item img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
  display: block;
}

.partners-grid__item a {
  color: var(--color-text-heading);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.3;
  padding: 15px;
  transition: color 0.3s ease;
}

.partners-grid__item a:hover {
  color: var(--color-link);
}

/* A partner entered as a name only, without a logo or a link. */
.partners-grid__name {
  color: var(--color-text-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  hyphens: auto;
  padding: 15px;
}

@media (max-width: 899px) {
  .faculty-info__wrapper > * + * {
    margin-top: 2rem;
  }
  .faculty-compound__title {
    font-size: var(--fs-section);
  }
  /* The people's cards were set at 12px, a step under the scale's smallest. */
  .faculty-worker {
    font-size: var(--fs-secondary);
  }
  .faculty-worker > * + * {
    margin-left: 1.5rem;
  }
  .faculty-worker__img {
    max-width: 5rem;
  }
  .faculty-worker__title {
    font-size: 1rem;
  }
  .faculty-structure._grey .faculty-structure__wrapper {
    padding: 1.5rem var(--wrap-colored);
  }
  .faculty-structure__title {
    font-size: var(--fs-section);
  }
  .faculty-structure-list > * + * {
    margin-top: 1.25rem;
  }
  .faculty-structure-list__title {
    font-size: 1rem;
  }
  .faculty-structure-list__additional {
    padding-left: 1.5rem;
    font-size: var(--fs-secondary);
  }
  .faculty-structure-list__description > * + * {
    margin-top: 0.5em;
  }
}

@media (max-width: 1199px) {
  .faculty-structure._grey .faculty-structure__container {
    padding: 0;
  }
}

@media (min-width: 900px) {
  .faculty-worker {
    font-size: 0.875rem;
  }
  .faculty-worker > * + * {
    margin-left: 2rem;
  }
  .faculty-structure__container.col_2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  .faculty-structure._grey .faculty-structure__wrapper {
    padding: 2.5rem var(--wrap-colored);
  }
  .faculty-structure-list {
    max-width: 26.25rem;
  }
  .faculty-structure-list > * + * {
    margin-top: 1.625rem;
  }
  .faculty-structure-list__additional {
    padding-left: 2rem;
    font-size: 1rem;
  }
  .faculty-structure-list__description > * + * {
    margin-top: 0.25em;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .faculty-compound__title {
    font-size: 1.375rem;
  }
  .faculty-worker__img {
    width: 7.5rem;
    max-width: 7.5rem;
  }
  .faculty-worker__title {
    font-size: 1rem;
  }
  .faculty-structure__title {
    font-size: 1.375rem;
  }
  .faculty-structure-list__title {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .faculty-compound__title {
    font-size: 1.375rem;
  }
  .faculty-worker__img {
    width: 7.5rem;
    max-width: 7.5rem;
  }
  .faculty-worker__title {
    font-size: 1.125rem;
  }
  .faculty-structure__title {
    font-size: 1.375rem;
  }
  .faculty-structure-list__title {
    font-size: 1.125rem;
  }
}

@media (min-width: 1200px) and (min-width: 1350px) {
  .faculty-compound-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-compound-list > .faculty-compound-list__item + .faculty-compound-list__item:nth-child(2) {
    border-top: unset;
    padding-top: unset;
  }
  .faculty-compound-list._department:not(._active) .faculty-compound-list__item:nth-child(-n+6) {
    display: block;
  }
  .faculty-compound-list._department:has(> .faculty-compound-list__item:nth-child(4)):not(:has(> .faculty-compound-list__item:nth-child(7))) + .faculty-compound-list__more {
    display: none;
  }
}

@media (min-width: 1200px) and (min-width: 1540px) {
  .faculty-compound__title {
    font-size: 1.5rem;
  }
  .faculty-structure__title {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) and (max-width: 1620px) {
  .faculty-compound-list {
    column-gap: 2.625rem;
  }
}

@media (min-width: 1200px) and (min-width: 1620px) {
  .faculty-compound-list__item {
    margin-right: 4.0625rem;
  }
  .faculty-worker__img {
    width: 10rem;
    max-width: 10rem;
  }
}

@media (min-width: 1200px) and (min-width: 1700px) {
  .faculty-worker-details__value > a {
    display: inline;
  }
  .faculty-worker-details__value > * + * {
    margin-top: unset;
    margin-left: 0.25em;
  }
}

@media (min-width: 2000px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
  }
  .partners-grid__item {
    min-height: 180px;
    padding: 20px;
  }
  .partners-grid__item img {
    max-height: 160px;
  }
  .partners-grid__item a {
    font-size: 1.75rem;
  }
}

@media (max-width: 1199px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 899px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }
  .partners-grid__item {
    min-height: 100px;
  }
  .partners-grid__item a {
    font-size: 1rem;
    padding: 10px;
  }
  .partners-grid__item img {
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .partners-grid__item a {
    font-size: 0.9rem;
  }
}

.specialities-table td {
  vertical-align: top !important;
}

.specialities-table .dropdown-list {
  border-left: 2px solid var(--color-border-strong);
  padding-left: 1.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 0;
  margin-left: 0.5rem !important;
}

.specialities-table .dropdown-list._open {
  margin-top: 1rem !important;
  margin-bottom: 0.5rem;
}

.specialities-table .dropdown-list li {
  position: relative !important;
  margin-bottom: 0.75rem !important;
  padding-left: 0 !important;
  line-height: 1.4;
}

.specialities-table .dropdown-list li:last-child {
  margin-bottom: 0 !important;
}

.specialities-table .dropdown-list li::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background-color: var(--color-border-strong);
  border-radius: 0 2px 2px 0;
  transition: width 0.3s ease;
}

.specialities-table .dropdown-list li:hover::before {
  width: 16px;
  background-color: var(--color-accent);
}

.specialities-table .dropdown-list li a {
  font-size: 0.9em;
  color: var(--color-text-heading);
}

.specialities-table .dropdown-list li span {
  font-size: 0.9em;
  color: inherit;
}
