
@layer reset, components, base;
/* Cascade layers: lowest → highest priority */
/* --------------------------------------------------------- */
/* 1) RESET – browser defaults (you create reset.css)        */
/* --------------------------------------------------------- */
@layer reset{

/* https://piccalil.li/blog/a-more-modern-css-reset/ */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}
}
/* Put your modern reset here (e.g. Andy Bell style). */
/* --------------------------------------------------------- */
/* 2) COMPONENTS – Drupal-ish UI bits, starterkit copies     */
/*    (lower priority than your base design system)          */
/* --------------------------------------------------------- */
@layer components{

/**
 * @file
 * Styles for link buttons and action links.
 */

.action-links {
  margin: 1em 0;
  padding: 0;
  list-style: none;
}
[dir="rtl"] .action-links {
  /* This is required to win over specificity of [dir="rtl"] ul */
  margin-right: 0;
}
.action-links li {
  display: inline-block;
  margin: 0 0.3em;
}
.action-links li:first-child {
  margin-left: 0; /* LTR */
}
[dir="rtl"] .action-links li:first-child {
  margin-right: 0;
  margin-left: 0.3em;
}
.button-action {
  display: inline-block;
  padding: 0.2em 0.5em 0.3em;
  text-decoration: none;
  line-height: 160%;
}
.button-action::before {
  margin-left: -0.1em; /* LTR */
  padding-right: 0.2em; /* LTR */
  content: "+";
  font-weight: 900;
}
[dir="rtl"] .button-action::before {
  margin-right: -0.1em;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0.2em;
}
}
@layer components{

/**
 * @file
 * Styles for breadcrumbs.
 */

.breadcrumb {
  padding-bottom: 0.5em;
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
[dir="rtl"] .breadcrumb ol {
  /* This is required to win over specificity of [dir="rtl"] ol */
  margin-right: 0;
}
.breadcrumb li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
/* IE8 does not support :not() and :last-child. */
.breadcrumb li::before {
  content: " \BB ";
}
.breadcrumb li:first-child::before {
  content: none;
}
}
@layer components{

/**
 * @file
 * Visual styles for buttons.
 */

.button,
.image-button {
  margin-right: 1em;
  margin-left: 1em;
}
.button:first-child,
.image-button:first-child {
  margin-right: 0;
  margin-left: 0;
}
}
@layer components{

/**
 * @file
 * Inline items.
 */

.container-inline label::after,
.container-inline .label::after {
  content: ":";
}
.form-type-radios .container-inline label::after,
.form-type-checkboxes .container-inline label::after {
  content: "";
}
.form-type-radios .container-inline .form-type-radio,
.form-type-checkboxes .container-inline .form-type-checkbox {
  margin: 0 1em;
}
.container-inline .form-actions,
.container-inline.form-actions {
  margin-top: 0;
  margin-bottom: 0;
}
}
@layer components{

/**
 * @file
 * Collapsible details.
 *
 * @see collapse.js
 * @see http://nicolasgallagher.com/css-background-image-hacks/
 */

details {
  margin-top: 1em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
}
details > .details-wrapper {
  padding: 0.5em 1.5em;
}
summary {
  padding: 0.2em 0.5em;
  cursor: pointer;
}
}
@layer components{

/**
 * @file
 * Visual styles for exposed filters.
 */

.exposed-filters .filters {
  float: left; /* LTR */
  margin-right: 1em; /* LTR */
}
[dir="rtl"] .exposed-filters .filters {
  float: right;
  margin-right: 0;
  margin-left: 1em;
}
.exposed-filters .form-item {
  margin: 0 0 0.1em 0;
  padding: 0;
}
.exposed-filters .form-item label {
  float: left; /* LTR */
  width: 10em;
  font-weight: normal;
}
[dir="rtl"] .exposed-filters .form-item label {
  float: right;
}
.exposed-filters .form-select {
  width: 14em;
}
/* Current filters */
.exposed-filters .current-filters {
  margin-bottom: 1em;
}
.exposed-filters .current-filters .placeholder {
  font-weight: bold;
  font-style: normal;
}
.exposed-filters .additional-filters {
  float: left; /* LTR */
  margin-right: 1em; /* LTR */
}
[dir="rtl"] .exposed-filters .additional-filters {
  float: right;
  margin-right: 0;
  margin-left: 1em;
}
}
@layer components{

/**
 * @file
 * Visual styles for fields.
 */

.field__label {
  font-weight: bold;
}
.field--label-inline .field__label,
.field--label-inline .field__items {
  float: left; /* LTR */
}
.field--label-inline .field__label,
.field--label-inline > .field__item,
.field--label-inline .field__items {
  padding-right: 0.5em;
}
[dir="rtl"] .field--label-inline .field__label,
[dir="rtl"] .field--label-inline .field__items {
  padding-right: 0;
  padding-left: 0.5em;
}
.field--label-inline .field__label::after {
  content: ":";
}
}
@layer components{

/**
 * @file
 * Visual styles for form components.
 */

form .field-multiple-table {
  margin: 0;
}
form .field-multiple-table .field-multiple-drag {
  width: 30px;
  padding-right: 0; /* LTR */
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag {
  padding-left: 0;
}
form .field-multiple-table .field-multiple-drag .tabledrag-handle {
  padding-right: 0.5em; /* LTR */
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle {
  padding-right: 0;
  padding-left: 0.5em;
}
form .field-add-more-submit {
  margin: 0.5em 0 0;
}

/**
 * Markup generated by Form API.
 */
.form-item,
.form-actions {
  margin-top: 1em;
  margin-bottom: 1em;
}
tr.odd .form-item,
tr.even .form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.form-composite > .fieldset-wrapper > .description,
.form-item .description {
  font-size: 0.85em;
}
label.option {
  display: inline;
  font-weight: normal;
}
.form-composite > legend,
.label {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: bold;
}
.form-checkboxes .form-item,
.form-radios .form-item {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 2.4em; /* LTR */
}
[dir="rtl"] .form-type-radio .description,
[dir="rtl"] .form-type-checkbox .description {
  margin-right: 2.4em;
  margin-left: 0;
}
.marker {
  color: #e00;
}
.form-required::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.3em;
  content: "";
  vertical-align: super;
  /* Use a background image to prevent screen readers from announcing the text. */
  background-image: url(../../images/icons/required.svg);
  background-repeat: no-repeat;
  background-size: 6px 6px;
}
abbr.tabledrag-changed,
abbr.ajax-changed {
  border-bottom: none;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 2px solid red;
}

/* Inline error messages. */
.form-item--error-message::before {
  display: inline-block;
  width: 14px;
  height: 14px;
  content: "";
  vertical-align: sub;
  background: url(../../images/icons/error.svg) no-repeat;
  background-size: contain;
}
}
@layer components{

/**
 * @file
 * Visual styles for icons.
 */

.icon-help {
  padding: 1px 0 1px 20px; /* LTR */
  background: url(../../images/icons/help.png) 0 50% no-repeat; /* LTR */
}
[dir="rtl"] .icon-help {
  padding: 1px 20px 1px 0;
  background-position: 100% 50%;
}
.feed-icon {
  display: block;
  overflow: hidden;
  width: 16px;
  height: 16px;
  text-indent: -9999px;
  background: url(../../images/icons/feed.svg) no-repeat;
}
}
@layer components{

/**
 * @file
 * Visual styles for inline forms.
 */

.form--inline .form-item {
  float: left; /* LTR */
  margin-right: 0.5em; /* LTR */
}
[dir="rtl"] .form--inline .form-item {
  float: right;
  margin-right: 0;
  margin-left: 0.5em;
}
/* This is required to win over specificity of [dir="rtl"] .form--inline .form-item */
[dir="rtl"] .views-filterable-options-controls .form-item {
  margin-right: 2%;
}
.form--inline .form-item-separator {
  margin-top: 2.3em;
  margin-right: 1em; /* LTR */
  margin-left: 0.5em; /* LTR */
}
[dir="rtl"] .form--inline .form-item-separator {
  margin-right: 0.5em;
  margin-left: 1em;
}
.form--inline .form-actions {
  clear: left; /* LTR */
}
[dir="rtl"] .form--inline .form-actions {
  clear: right;
}
}
@layer components{

/**
 * @file
 * Visual styles for item list.
 */

.item-list .title {
  font-weight: bold;
}
.item-list ul {
  margin: 0;
  padding: 0;
}
.item-list li {
  margin: 0; /* LTR */
  padding: 0;
}
[dir="rtl"] .item-list li {
  margin: 0 1.5em 0.25em 0;
}

/**
 * Comma separated lists.
 */
.item-list--comma-list {
  display: inline;
}
.item-list--comma-list .item-list__comma-list,
.item-list__comma-list li,
[dir="rtl"] .item-list--comma-list .item-list__comma-list,
[dir="rtl"] .item-list__comma-list li {
  margin: 0;
}
}
@layer components{

/**
 * @file
 * Style another element as a link.
 */

button.link {
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 1em;
}
label button.link {
  font-weight: bold;
}
}
@layer components{

/**
 * @file
 * Visual styles for links.
 */

ul.inline,
ul.links.inline {
  display: inline;
  padding-left: 0; /* LTR */
}
[dir="rtl"] ul.inline,
[dir="rtl"] ul.links.inline {
  padding-right: 0;
  padding-left: 15px;
}
ul.inline li {
  display: inline;
  padding: 0 0.5em;
  list-style-type: none;
}
ul.links a.is-active {
  color: #000;
}
}
@layer components{

/**
 * @file
 * Visual styles for menu.
 */

ul.menu {
  padding: 0;
  margin: 0;
  list-style: none outside;
  text-align: left; /* LTR */
}
[dir="rtl"] ul.menu {
  margin-right: 1em;
  margin-left: 0;
  text-align: right;
}
.menu-item--expanded {
  list-style-type: circle;
  list-style-image: url(../../images/icons/menu-expanded.png);
}
.menu-item--collapsed {
  list-style-type: disc;
  list-style-image: url(../../images/icons/menu-collapsed.png); /* LTR */
}
[dir="rtl"] .menu-item--collapsed {
  list-style-image: url(../../images/icons/menu-collapsed-rtl.png);
}
.menu-item {
  margin: 0;
}
ul.menu a.is-active {
  color: #000;
}
}
@layer components{

/**
 * @file
 * Markup generated by #type 'more_link'.
 */

.more-link {
  display: block;
  text-align: right; /* LTR */
}
[dir="rtl"] .more-link {
  text-align: left;
}
}
@layer components{

/**
 * @file
 * Visual styles for pager.
 */

.pager__items {
  clear: both;
  text-align: center;
}
.pager__item {
  display: inline;
  padding: 0.5em;
}
.pager__item.is-active {
  font-weight: bold;
}
}
@layer components{

/**
 * @file
 * Visual styles for table drag.
 */

tr.drag {
  background-color: #fffff0;
}
tr.drag-previous {
  background-color: #ffd;
}
body div.tabledrag-changed-warning {
  margin-bottom: 0.5em;
}
}
@layer components{

/**
 * @file
 * Table select behavior.
 *
 * @see tableselect.js
 */

tr.selected td {
  background: #ffc;
}
td.checkbox,
th.checkbox {
  text-align: center;
}
[dir="rtl"] td.checkbox,
[dir="rtl"] th.checkbox {
  /* This is required to win over specificity of [dir="rtl"] td */
  text-align: center;
}
}
@layer components{

/**
 * @file
 * Table sort indicator.
 */

th.is-active img {
  display: inline;
}
td.is-active {
  background-color: #ddd;
}
}
@layer components{

/**
 * @file
 * Visual styles for tabs.
 */

div.tabs {
  margin: 1em 0;
}
ul.tabs {
  margin: 0 0 0.5em;
  padding: 0;
  list-style: none;
}
.tabs > li {
  display: inline-block;
  margin-right: 0.3em; /* LTR */
}
[dir="rtl"] .tabs > li {
  margin-right: 0;
  margin-left: 0.3em;
}
.tabs a {
  display: block;
  padding: 0.2em 1em;
  text-decoration: none;
}
.tabs a.is-active {
  background-color: #eee;
}
.tabs a:focus,
.tabs a:hover {
  background-color: #f5f5f5;
}
}
@layer components{

/**
 * @file
 * Visual styles for a resizable textarea.
 */

.form-textarea-wrapper textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}
}
@layer components{

/**
 * @file
 * Styles for modal windows.
 */

.ui-dialog--narrow {
  max-width: 500px;
}

@media screen and (max-width: 600px) {
  .ui-dialog--narrow {
    min-width: 95%;
    max-width: 95%;
  }
}
}
@layer components{

/**
 * @file
 * Presentational styles for Drupal dialogs.
 */

.ui-dialog {
  position: absolute;
  z-index: 1260;
  overflow: visible;
  padding: 0;
  color: #000;
  border: solid 1px #ccc;
  background: #fff;
}

@media all and (max-width: 48em) {
  /* 768px */
  .ui-dialog {
    width: 92% !important;
  }
}
.ui-dialog .ui-dialog-titlebar {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #ccc;
  border-radius: 0;
  background: #f3f4ee;
  font-weight: bold;
}
.ui-dialog .ui-dialog-titlebar-close {
  border: 0;
  background: none;
}
.ui-dialog .ui-dialog-buttonpane {
  margin-top: 0;
  padding: 0.3em 1em;
  border-width: 1px 0 0 0;
  border-color: #ccc;
  background: #f3f4ee;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  margin: 0;
  padding: 0;
}
.ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
  padding: 0;
}

/* Form action buttons are moved in dialogs. Remove empty space. */
.ui-dialog .ui-dialog-content .form-actions {
  margin: 0;
  padding: 0;
}
.ui-dialog .ajax-progress-throbber {
  position: fixed;
  z-index: 1000;
  top: 48.5%;
  /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  left: 49%;
  width: 24px;
  height: 24px;
  padding: 4px;
  opacity: 0.9;
  border-radius: 7px;
  background-color: #232323;
  background-image: url(../../images/icons/loading-small.svg);
  background-repeat: no-repeat;
  background-position: center center;
}
.ui-dialog .ajax-progress-throbber .throbber,
.ui-dialog .ajax-progress-throbber .message {
  display: none;
}
}
@layer components{

/**
 * @file
 * General styles for dropbuttons.
 */

.js .dropbutton-widget {
  border: 1px solid #ccc;
  background-color: white;
}
.js .dropbutton-widget:hover {
  border-color: #b8b8b8;
}
.dropbutton .dropbutton-action > * {
  padding: 0.1em 0.5em;
  white-space: nowrap;
}
.dropbutton .secondary-action {
  border-top: 1px solid #e8e8e8;
}
.dropbutton-multiple .dropbutton {
  border-right: 1px solid #e8e8e8; /* LTR */
}
[dir="rtl"] .dropbutton-multiple .dropbutton {
  border-right: 0 none;
  border-left: 1px solid #e8e8e8;
}
.dropbutton-multiple .dropbutton .dropbutton-action > * {
  margin-right: 0.25em; /* LTR */
}
[dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
  margin-right: 0;
  margin-left: 0.25em;
}
}
@layer components{

/**
 * @file
 * Default style for file module.
 */

/* File icons. */

.file {
  display: inline-block;
  min-height: 16px;
  padding-left: 20px; /* LTR */
  background-repeat: no-repeat;
  background-position: left center; /* LTR */
}
[dir="rtl"] .file {
  padding-right: 20px;
  padding-left: inherit;
  background-position: right center;
}
.file--general,
.file--application-octet-stream {
  background-image: url(../../images/icons/application-octet-stream.png);
}
.file--package-x-generic {
  background-image: url(../../images/icons/package-x-generic.png);
}
.file--x-office-spreadsheet {
  background-image: url(../../images/icons/x-office-spreadsheet.png);
}
.file--x-office-document {
  background-image: url(../../images/icons/x-office-document.png);
}
.file--x-office-presentation {
  background-image: url(../../images/icons/x-office-presentation.png);
}
.file--text-x-script {
  background-image: url(../../images/icons/text-x-script.png);
}
.file--text-html {
  background-image: url(../../images/icons/text-html.png);
}
.file--text-plain {
  background-image: url(../../images/icons/text-plain.png);
}
.file--application-pdf {
  background-image: url(../../images/icons/application-pdf.png);
}
.file--application-x-executable {
  background-image: url(../../images/icons/application-x-executable.png);
}
.file--audio {
  background-image: url(../../images/icons/audio-x-generic.png);
}
.file--video {
  background-image: url(../../images/icons/video-x-generic.png);
}
.file--text {
  background-image: url(../../images/icons/text-x-generic.png);
}
.file--image {
  background-image: url(../../images/icons/image-x-generic.png);
}
}
@layer components{

/**
 * @file
 * Image upload widget.
 */

.image-preview {
  float: left; /* LTR */
  padding: 0 10px 10px 0; /* LTR */
}
[dir="rtl"] .image-preview {
  float: right;
  padding: 0 0 10px 10px;
}
.image-widget-data {
  float: left; /* LTR */
}
[dir="rtl"] .image-widget-data {
  float: right;
}
.image-widget-data .text-field {
  width: auto;
}
}
@layer components{

/**
 * @file
 * Basic styling for comment module.
 */

/**
 * Indent threaded comments.
 */
.indented {
  margin-left: 25px; /* LTR */
}
[dir="rtl"] .indented {
  margin-right: 25px;
  margin-left: 0;
}
}
@layer components{

/**
 * @file
 * Styles for system messages.
 */

.messages {
  padding: 15px 20px 15px 35px; /* LTR */
  word-wrap: break-word;
  border: 1px solid;
  border-width: 1px 1px 1px 0; /* LTR */
  border-radius: 2px;
  background: no-repeat 10px 17px; /* LTR */
  overflow-wrap: break-word;
}
[dir="rtl"] .messages {
  padding-right: 35px;
  padding-left: 20px;
  text-align: right;
  border-width: 1px 0 1px 1px;
  background-position: right 10px top 17px;
}
.messages + .messages {
  margin-top: 1.538em;
}
.messages__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.messages__item + .messages__item {
  margin-top: 0.769em;
}
.messages--status {
  color: #325e1c;
  border-color: #c9e1bd #c9e1bd #c9e1bd transparent; /* LTR */
  background-color: #f3faef;
  background-image: url(../../images/icons/check.svg);
  box-shadow: -8px 0 0 #77b259; /* LTR */
}
[dir="rtl"] .messages--status {
  margin-left: 0;
  border-color: #c9e1bd transparent #c9e1bd #c9e1bd;
  box-shadow: 8px 0 0 #77b259;
}
.messages--warning {
  color: #734c00;
  border-color: #f4daa6 #f4daa6 #f4daa6 transparent; /* LTR */
  background-color: #fdf8ed;
  background-image: url(../../images/icons/warning.svg);
  box-shadow: -8px 0 0 #e09600; /* LTR */
}
[dir="rtl"] .messages--warning {
  border-color: #f4daa6 transparent #f4daa6 #f4daa6;
  box-shadow: 8px 0 0 #e09600;
}
.messages--error {
  color: #a51b00;
  border-color: #f9c9bf #f9c9bf #f9c9bf transparent; /* LTR */
  background-color: #fcf4f2;
  background-image: url(../../images/icons/error.svg);
  box-shadow: -8px 0 0 #e62600; /* LTR */
}
[dir="rtl"] .messages--error {
  border-color: #f9c9bf transparent #f9c9bf #f9c9bf;
  box-shadow: 8px 0 0 #e62600;
}
.messages--error p.error {
  color: #a51b00;
}
}
@layer components{

/**
 * @file
 * Visual styles for nodes.
 */

.node--unpublished {
  background-color: #fff4f4;
}
}
@layer components{

/**
 * @file
 * Visual styles for progress bar.
 *
 * @see progress.js
 */

.progress__track {
  border-color: #b3b3b3;
  border-radius: 10em;
  background-color: #f2f1eb;
  background-image: linear-gradient(#e7e7df, #f0f0f0);
  box-shadow: inset 0 1px 3px hsl(0, 0%, 0%, 0.16);
}
.progress__bar {
  height: 16px;
  margin-top: -1px;
  margin-left: -1px; /* LTR */
  padding: 0 1px;
  transition: width 0.5s ease-out;
  -webkit-animation: animate-stripes 3s linear infinite;
  border: 1px #07629a solid;
  border-radius: 10em;
  background: #057ec9;
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0.15)), linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
  background-size: 40px 40px;
}
[dir="rtl"] .progress__bar {
  margin-right: -1px;
  margin-left: 0;
  animation-direction: reverse;
}

@media screen and (prefers-reduced-motion: reduce) {
  .progress__bar {
    transition: none;
    -webkit-animation: none;
  }
}

/**
 * Progress bar animations.
 */
@keyframes animate-stripes {
  0% {
    background-position:
      0 0,
      0 0;
  }
  100% {
    background-position:
      0 0,
      -80px 0;
  }
}
}
@layer components{

/**
 * @file
 * Stylesheet for results generated by the Search module.
 */

.search-results {
  list-style: none;
}
}
@layer components{

/**
 * @file
 * Theme styling for user module.
 */

/* Visual styling for the Password strength indicator */
.password-strength__meter {
  margin-top: 0.5em;
  background-color: #ebeae4;
}
.password-strength__indicator {
  transition: width 0.5s ease-out;
  background-color: #77b259;
}
.password-strength__indicator.is-weak {
  background-color: #e62600;
}
.password-strength__indicator.is-fair {
  background-color: #e09600;
}
.password-strength__indicator.is-good {
  background-color: #0074bd;
}
.password-strength__indicator.is-strong {
  background-color: #77b259;
}

.password-confirm,
.password-field,
.password-strength,
.password-confirm-match,
.password-confirm-message {
  width: 55%;
}

.password-suggestions {
  max-width: 34.7em;
  margin: 0.7em 0;
  padding: 0.2em 0.5em;
  border: 1px solid #b4b4b4;
}
.password-suggestions ul {
  margin-bottom: 0;
}

.confirm-parent,
.password-parent {
  clear: left; /* LTR */
  overflow: hidden;
  max-width: 33em;
  margin: 0;
}
[dir="rtl"] .confirm-parent,
[dir="rtl"] .password-parent {
  clear: right;
}

/* Styling for the status indicator of the passwords match test.  */
.password-confirm .ok {
  color: #325e1c;
  font-weight: bold;
}
.password-confirm .error {
  color: #a51b00;
  font-weight: bold;
}
}
/* --------------------------------------------------------- */
/* 3) BASE – YOUR DESIGN SYSTEM (highest priority)           */
/*    tokens, typography, layout, header/filter/content etc. */
/* --------------------------------------------------------- */
@layer base{

/**
 * @file
 * Fonts
 */

@font-face {
    font-family: "ABCROM";
    src: url("../../fonts/ABCROM/ABCROM-Regular.woff2") format("woff2"),
         url("../../fonts/ABCROM/ABCROM-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
  }


  html {
    /* Sets 1rem to be 20px, without overriding the user's browser default */
    font-size: 125%;
  }
  
  body {
    font-family: "ABCROM", sans-serif;
    font-size: 1rem; /* 1rem = 20px */
    font-weight: 400;
    line-height: var(--lh-base);
  }

  a {
    color: var(--color-black) !important;
    text-decoration: none;
  }

  a.is-active {
    text-decoration: underline !important;
    text-underline-offset: 0.15em;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    font-weight: 400;
    margin: 0;
  }


  *:where(p:first-child) {
    margin-top: 0;
  }
}
@layer base{

/**
 * @file
 * CSS Variables
 */

:root {
  /* Define brand colors */
  --color-adocs-primary: #fff467;
  --color-black: #000;
  --color-canvas: #fff;
  --color-gray-lighter: rgba(248, 248, 248, 1);
  --color-gray-light: rgba(241, 241, 241, 1);
  --color-gray-mid: rgba(226, 223, 223, 1);
  --color-gray-dark: rgba(176, 176, 176, 1);

  --stroke-thin: 1px;
  --stroke-medium: 2px;
  --stroke-thick: 3px;

  /* Typography */
  /* 1px = 0.05rem */

  --font-2xs: 0.5rem;
  --font-xs: 0.6rem;
  --font-sm-1: 0.65rem;
  --font-sm: 0.7rem;
  --font-m: 0.8rem;
  --font-base: 1rem;
  --font-lg: 1.1rem;
  --font-xl: 1.4rem;

  /* Line Height */

  --lh-xs: 1.1;
  --lh-sm: 1.15;
  --lh-m: 1.2;
  --lh-base: 1.35;
  --lh-lg: 1.375; /* mobile m_text2, probably deleting in favour of lg */
  --lh-xl: 1.438;

  --letter-spacing-1: 0.05rem;
  /* Spacing */


  --space-xs-6: 0.2rem;
  --space-xs-4: 0.35rem;
  --space-xs-2: 0.5rem;
    --space-sm:   0.75rem;  
    --space-base: 1rem;
    --space-lg:   2rem;     
    --space-xl:   4rem; 

  --border-grid: var(--stroke-thick) solid var(--color-gray-light);

  --footer-min-height: 6.4rem;

  /* Special */
  --catalog-teaser-ratio: 4 / 5;
  --padding-button: calc(var(--space-xs-2) + 0.1rem) var(--space-base) calc(var(--space-xs-2) - 0.1rem) var(--space-base);

}
}
@layer base{

 /**
 * @file
 * Styles for layout and grid.
 */

 body {
  margin: 0;
}

.layout-container {
/* padding: 1rem; */
}



/* doppelt, auch in misc-datei! */
.language-switcher-language-url .is-active {
  /* display: none; */
}

.menu--main .menu-item {
  padding-right: calc(var(--space-base) * 0.9);
}



header[role="banner"] {
  padding-bottom: var(--space-lg);
}













/* Wozu gehhört folgender Code inhaltlich? */


  .view.view-id-catalog.view-display-id-page_standard ul.catalog-teasers {
    visibility: hidden;
  }
  
  .view.view-id-catalog.view-display-id-page_standard ul.catalog-teasers.is-fillers-ready {
    visibility: visible;
  }


  

  .view-display-id-page_standard .view-content {
    min-height: 60vh !important; /* adjust: 40–70vh depending on your layout */
  }

.view-display-id-page_standard {
    overflow-anchor: none;
  }

  .view.view-id-catalog.view-display-id-page_standard .ajax-progress {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .view.view-id-catalog.view-display-id-page_standard {
    position: relative;
  }



  .view.view-id-catalog.view-display-id-page_standard .ajax-progress {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
  }
  
  .view.view-id-catalog.view-display-id-page_standard {
    position: relative;
  }

  /* Noch Ort suchen, ist für das grundlegende layout der seite mit sticky footer */
  /* PAGE-LEVEL STICKY FOOTER LAYOUT */
html {
  height: 100%;
  scrollbar-gutter: stable;
}

.layout-container {
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* gap: var(--stroke-thick); */
  /* gray shine-through grid color */
  /* background-color: var(--color-gray-light); */
}

.layout-container > * {
  /* background color for all direct children, overlaying grid color */
  background-color: var(--color-canvas);
  }


/* HEADER */
body > header,
.region-header {
  flex-shrink: 0;
}

/* MAIN CONTENT AREA */
/* .layout-container, */
main {
  flex: 1;
}

.layout-content,
.region-content  {
  height: 100%;
}

.layout-content {
  border-top: var(--border-grid);
}





/* Toggle button */
.filter-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 0;
  padding-left: var(--space-base);
  font: inherit;
  text-transform: uppercase;
  font-size: var(--font-m);
  letter-spacing: var( --letter-spacing-1);
  cursor: pointer;
}

.filter-toggle__icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* Sliding panel (the views exposed block) */
#block-adocs-exp-filters-catalog-standard {
  overflow: hidden;
  transition: max-height 220ms ease;
  max-height: none; /* JS will set a px value when animating */
}

@media (prefers-reduced-motion: reduce) {
  #block-adocs-exp-filters-catalog-standard {
    transition: none;
  }
}


.region-filter {
  border-top: var(--border-grid);
}


/* Catalog Filter Toggles */
/* Region = one row */
/* Region = horizontal layout */

.region-filter-display-toggles {
  display: flex;
  align-items: center;
  width: 100%;
  line-height: 0;
}

.region-filter-display-toggles > .block-adocs-filter-toggle-block {
  margin-right: auto;
}

/* spacing between the two right icons */
.region-filter-display-toggles > .block-view-toggle-block {
  margin-left: var(--space-sm);
  padding-right: var(--space-base);
}






/* Toggle Buttons for Catalog View */

.block-view-random-order-block a,
.block-view-toggle-block a {
display: inline-flex;
align-items: center;
justify-content: center;
}



/* Hintergrundfarben, wichtig für Grid-Appearence */
/* noch in die korrekten Selectoren wegsortieren */


.layout-container > .region-filter-display-toggles {
  box-sizing: content-box;
border-top: var(--border-grid);
/* border-bottom: var(--border-grid); */
}
}
@layer base{



.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--font-m) 1rem;
}



/* Blocks inside header regions: no top/bottom margins */



/* header[role="banner"] .menu, */
header[role="banner"] ul.menu,
header[role="banner"] .block {
  /* margin: 0;
  margin-left: 0 !important;
  padding: 0; */
}



/* Main Menu */

.menu--main ul,
.language-switcher ul {
  font-size: var(--font-m);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-1);
}




/* Header Tools */

.header_tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.region-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* tweak spacing */
}




/* --------------------------------------------------------- */
/* SEARCH TOGGLE + EXPANDING SEARCH BAR (SPRITE VERSION)     */
/* --------------------------------------------------------- */

.header-search {
  position: relative;
  display: inline-block;
}

/* Button containing SVG sprite icon */
.header-search__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}



.header-search__toggle .picto--search {
  /* position: relative;
  top: -2px; */
}

.header_tools svg.picto {
  display: block;
}

.picto--search,
.picto--shopping,
.picto--account {
  vertical-align: middle;
}



/* Collapsed search form */
.header-search__form {
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    width 0.25s ease,
    opacity 0.25s ease;
  white-space: nowrap;
}

/* Expanded state */
.header-search.header-search_open .header-search__form {
  width: 240px; /* adjust for your design */
  opacity: 1;
}

/* Input styling */
.header-search__form input[type="search"] {
  width: 100%;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
}





/* language switcher */
.language-switcher ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}


















/* FILTER -> refactor! */
/* Global for the filter region */

.region-filter .form-item,
.region-filter .form-actions {
  margin: 0 !important;
}

.region-filter-display-toggles {
min-height: 1.8rem ;
}
/* Design tokens */
:root {


  --cell-padding: 1rem;

  --font-left: 1rem;       /* topic, series */
  --font-right: 0.75rem;   /* format, misc */

  --gap-x: 1em;
  --gap-y: 0.25em;
}

/* --------------------------------------------------------- */
/* 2×2 GRID LAYOUT */
/* --------------------------------------------------------- */

.region-filter .form--inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  grid-template-rows: auto auto;
  grid-template-areas:
    "topic  format"
    "series misc";
    background-color: var(--color-gray-light);
    gap: var(--stroke-thick);
}

/* kill BEF floats inside this form */
.region-filter .form--inline > div {
  /* float: none;
  margin-right: 0; */
  background-color: var(--color-canvas);
}

/* map cells to areas */
.region-filter .form--inline .form-item-topic  { grid-area: topic; }
.region-filter .form--inline .form-item-series { grid-area: series; }
.region-filter .form--inline .form-item-format { grid-area: format; }
.region-filter .filters-misc-group  { grid-area: misc; }

/* --------------------------------------------------------- */
/* CELL BOX + BORDERS */
/* --------------------------------------------------------- */


.region-filter > * {
  line-height: 0;
}

.region-filter .form-item {
  /* Padding Container */
  /* das muss für die misc-group noch zurückgenommen werden! */
  padding: var(--space-xs-4) 0;
}

.region-filter .filters-misc-group .form-item {
  padding-top: 0;
}

/* slight global optical shift: a bit more padding on top */
.region-filter .form--inline .form-item-format {
  padding-bottom: 0.5rem !important;
}
.region-filter .filters-misc-group > * {
  padding-bottom: 0.25rem !important;
}



/* keep line-height under control */
.region-filter .form--inline .form-item .bef-links,
.region-filter .form--inline .form-item .bef-links * {
  line-height: var(--lh-lg);
}

/* --------------------------------------------------------- */
/* HORIZONTAL FILTER ITEMS */
/* --------------------------------------------------------- */




/* --------------------------------------------------------- */
/* FONT SIZES PER COLUMN */
/* --------------------------------------------------------- */

.region-filter .form--inline .form-item-topic,
.region-filter .form--inline .form-item-series {
  font-size: var(--font-m);
}

.region-filter .form--inline .form-item-format,
.region-filter .filters-misc-group {
  font-size: var(--font-sm-1);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}






/* ALL filter groups: topic, series, format, misc */
.region-filter .form-item-topic ul,
.region-filter .form-item-series ul,
.region-filter .form-item-format ul,
.region-filter .filters-misc-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;           
  list-style: none;
  margin: 0;
  padding-left: var(--space-base) !important;
  align-items: center;
}






.region-filter .form--inline .form-item-format {
  display: flex;
  align-items: center;
}

.region-filter .form--inline .form-item-format .bef-links {
  display: flex;
  align-items: center;
  min-height: 100%;
}







/* START special misc treatment */
/* All BEF links horizontal, no wrap */
.filters-misc-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;  /* ZERO gap between groups */
  justify-content: flex-start !important;  /* Left align */
  align-items: center;
  overflow-x: auto;
}
/* Each filter's links horizontal inside */
.filters-misc-group .bef-links ul {
  flex-wrap: nowrap !important;
  padding-left: 0 !important;

}

.filters-misc-group > div:first-child .bef-links ul {
  padding-left: var(--font-m) !important;

}

/* END special misc treatment */





















.region-filter .form-item-topic ul li,
.region-filter .form-item-series ul li,
.region-filter .form-item-format ul li,
.region-filter .filters-misc-group ul li {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* Links as “chips”: spacing via padding, NOT via line-height */
.region-filter .form-item-topic ul li a,
.region-filter .form-item-series ul li a,
.region-filter .form-item-format ul li a,
.filters-misc-group ul li a {
  display: inline-flex;        /* so icons/pseudos center nicely */
  display: inline;       /* inline works best when we want no vertical space */
  padding: 0;
  align-items: center;
  line-height: 1;              /* ✅ no extra top/bottom leading */
   /* vertical breathing room */
   /* padding-block: 0.15rem;    */
  /* optional: padding-inline if you want more hit area */
}

/* Hide topic[All], series[All], format[All], misc[All], … */
.region-filter li:has(a[name$="[All]"]) {
  display: none;
}

/* BEF links */
.region-filter a.bef-link:hover,
.region-filter a.bef-link--selected {
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.region-filter a.bef-link:hover {
  text-decoration-color: var(--color-gray-light) !important;
}

/* Comma separators for topic + series */
.region-filter .form-item-topic ul li:not(:last-child)::after,
.region-filter .form-item-series ul li:not(:last-child)::after {
  content: ",";
  margin-left: -0.2em;
  margin-right: 0.4em;
}


/* Layout for misc group so whole filter groups can receive separators */
.region-filter .filters-misc-group > .form-item {
  display: flex;
  align-items: center;
  /* padding: 0 !important; */
}

/* Shared circle style: same size everywhere */
.region-filter .form-item-format ul li:not(:last-child)::after,
.region-filter .filters-misc-group ul li:not(:last-child)::after,
.region-filter .filters-misc-group > .form-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}

/* Dots inside format list */
.region-filter .form-item-format ul li:not(:last-child)::after {
  top: 0.05rem;
  margin-left: 0.08rem;
  margin-right: 0.3rem;
}

/* Dots inside misc sub-lists, e.g. free • Open Access / deutsch • englisch */
.region-filter .filters-misc-group ul li:not(:last-child)::after {
  top: 0.05rem;
  margin-left: 0.12rem;
  margin-right: 0.3rem;
}

/* Dots between misc groups, e.g. Open Access • neu • deutsch */
.region-filter .filters-misc-group > .form-item:not(:last-child)::after {
  top: 0.12rem;
  margin-left: 0.3rem;
  margin-right: 0.32rem;
}

/* Optical text alignment for format + misc links */
.region-filter .form-item-format ul li a,
.region-filter .filters-misc-group ul li a {
  position: relative;
  top: 0.18rem;
}











/* Hide ALL AJAX spinners/throbbers while filtering catalog view */
.ajax-progress,
.ajax-progress-throbber,
.ajax-progress-fullscreen,
.bef-auto-submit .ajax-progress,
.views-exposed-form .ajax-new-content,
throbber,
.ajax-progress-bar {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Smooth fade during AJAX (no flash) */
.views-exposed-form.ajax-loading {
  opacity: 1 !important; /* No dim */
  transition: none !important; /* Instant */
}


/* Prevent hidden BEF submit element of catalog filters and its clearfix from affecting grid layout */
.path-catalog #edit-actions--3 {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.block-views-exposed-filter-blockcatalog-page-standard .form--inline::after {
  content: none !important;
}
/* End: Prevent hidden BEF submit element and its clearfix from affecting grid layout */







/* Default: region participates in layout */
.region-filter {
  display: block;
}

/* Fully collapsed (after animation) => remove from layout to kill parent gaps */
body.filter-collapsed .region-filter.is-filter-hidden {
  display: none;
}
}
@layer base{

  /**
 * @file
 * Styles for pager.
 */

  /**
  * Pager  
  */

  .pager {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
  }
  
  .pager .pager__items {
    display: flex;
    justify-content: center;
  }
  
  /* Base sizing for both anchors and disabled spans */
  .pager__items .pager__item > a,
  .pager__items .pager__item > .pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    font-size: var(--font-m);
    height: 2.4em;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
  
    position: relative;
    text-decoration: none;

    white-space: nowrap;
  }

  /* Controls: fixed slot widths */
  .pager__items .pager__item--first > a,
  .pager__items .pager__item--first > .pager__link,
  .pager__items .pager__item--last > a,
  .pager__items .pager__item--last > .pager__link {
    width: 6.5em;
    justify-content: flex-start;
  }
  
  .pager__items .pager__item--previous > a,
  .pager__items .pager__item--previous > .pager__link,
  .pager__items .pager__item--next > a,
  .pager__items .pager__item--next > .pager__link {
    width: 3em;
  }
  
  /* Numbers: square buttons */
  .pager__items .pager__item:not(.pager__item--first):not(.pager__item--previous):not(.pager__item--next):not(.pager__item--last):not(.pager__item--ellipsis) > a {
    width: 2.4em;
    padding: 0;
  }
  
  /* Ellipsis: fixed width too */
  .pager__items .pager__item--ellipsis {
    width: 2.4em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Active circle */
  .pager__items .pager__item.is-active > a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-gray-light);          /* your yellow */
    border-radius: 50%;
    z-index: -1;                  /* put circle behind number */
  }

  .pager__item {
    padding: 0;
  }
  
  .pager__item.is-disabled .pager__link {
    opacity: .35;
    cursor: default;
  }
  
  .pager__item.is-placeholder {
    visibility: hidden;
  }


  .pager__items .pager__item:not(.is-active) > a:hover {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
  }

  .pager__items .pager__item > a:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
    border-radius: 50%;
  }
}
@layer base{

#klaro {
  --notice-bottom: 0 !important;
  --notice-top: auto !important;
  --notice-left: 0 !important;
  --button-text-color: var(--color-black) !important;
  --notice-max-width: 100vw !important;
  --border-radius: 0 !important;
  /* --dark1: #fafafa !important;
  --dark2: #777 !important;
  --dark3: #555 !important;
  --light1: #444 !important;
  --light2: #666 !important;
  --light3: #111 !important;
  --green3: #f00 !important; */
  --font-size: var(--font-sm) !important;
  /* --border-width: 0 !important; */
}

.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-learn-more {
  flex-grow: 0 !important;
}


#klaro #klaro-cookie-notice:focus {
  /* outline: 2px solid var(--color-adocs-primary) !important; */
}


#klaro #klaro-cookie-notice .cn-body{
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  min-height: var(--footer-min-height) !important;
}

#klaro #klaro-cookie-notice .cn-body #id-cookie-title,
#klaro #klaro-cookie-notice .cn-body #id-cookie-notice{
  margin: 0 !important;
}

#klaro #klaro-cookie-notice .cn-body #id-cookie-notice{
  flex: 1 1 auto !important;
}
}
@layer base{

/**
 * @file
 * Styles for footer.
 */

/* FOOTER */
body > footer,
.region-footer,
.layout-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Footer has a visually structuring horizontal line, but also needs a empty space above that line */
footer {
  /* Multiplier sets height of empty space based on minimal footer height  */
  --footer-distance-multiplier: 2.5;
  display: flex;
  flex-direction: column;
  min-height: calc(
    var(--footer-distance-multiplier) * var(--footer-min-height)
  );
}

/* Footer Sub Divisions */
footer .region-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  font-size: var(--font-base);
  padding: 0.5rem 1rem;
  border-top: var(--border-grid);
  min-height: var(--footer-min-height);
}

footer nav .menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .menu--legal {
  justify-self: end;
}

@media (max-width: 40rem) {
  footer .region-footer {
    grid-template-columns: 1fr;
  }

  footer .menu--legal {
    justify-self: start;
  }
}

footer .region-footer li:not(:first-child)::before {
  content: ",\202F";
}
}
@layer base{

/**
 * @file
 * Styles for publisher section.
 */

.page-node-type-page-publisher .block-page-title-block {
  /* refactor: only hide visually */
  display: none;
}

.page-node-type-page-publisher .region-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--stroke-thick);
  align-items: start;
  background-color: var(--color-gray-light);
}

.page-node-type-page-publisher .region-content > * {
  background-color: var(--color-canvas);
}

/* Wrapper optional begrenzen */
.menu--verlag {
  height: 100%;
}

/* UL reset + Rahmen */
.menu--verlag .menu {
  display: block; /* kills flex layouts */
  /* list-style: none; */
  display: grid;
  row-gap: var(--stroke-thick);
  background-color: var(--color-gray-light);
}

.menu--verlag .menu-item {
  width: 100%;
  /* border-bottom: var(--border-grid); */
  background-color: white;
  padding: var(--space-xs-2) var(--space-base);
  display: flex;      /* NEW: Makes it flex container */
  align-items: center; /* NEW: Centers <a> vertically */
}
.menu--verlag .menu-item:last-child {
  border-bottom: var(--border-grid);
}
/* Trennlinien zwischen Items */
.menu--verlag .menu-item + .menu-item {
  /* border-top: var(--border-grid); */
}

/* Link als Block = komplette Zeile klickbar */
.menu--verlag .menu-item > a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-size: var(--font-xl);
  line-height: var(--lh-sm);  /* Keep for readability */
  /* background: white; */
  /* transition: background 120ms ease-in-out; */
  width: 100%;  /* NEW: Fills flex item horizontally */
  padding: 0 var(--stroke-thick, 1rem);  /* NEW: Horizontal padding */
}


/* Hover */
.menu--verlag .menu-item:hover {
  background: var(--color-adocs-primary);
}

/* Active State (Drupal liefert beides) */
.menu--verlag .menu-item--active-trail > a,
.menu--verlag .menu-item > a.is-active {
  /* background: var(--color-adocs-primary);
  text-decoration: none !important; */
}

.menu--verlag .menu-item--active-trail,
.menu--verlag .menu-item > a.is-active {
  background: var(--color-adocs-primary);
  text-decoration: none !important;
}

/* Optional: Fokus für Accessibility */
.menu--verlag .menu-item > a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}






#block-adocs-content {
  height: 100%;
}


/**
layout-container
main
layout-content
region-content
**/





.page-node-type-page-publisher .masonry-colcount-2 .field--name-field-title-and-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -moz-column-gap: var(--stroke-thick);
       column-gap: var(--stroke-thick);
  background-color: var(--color-gray-light);
  align-items: stretch;
}

html.js .page-node-type-page-publisher .masonry-colcount-2 .field--name-field-title-and-text {
  align-items: start;
  grid-auto-rows: min-content; 
}

.page-node-type-page-publisher .field--name-field-title-and-text > .field__item {
  box-sizing: border-box;
  background-color: var(--color-canvas);
  border-bottom: var(--border-grid);
}

.page-node-type-page-publisher .masonry-colcount-2 .field--name-field-title-and-text > * {
/* padding: var(--space-xs-2) var(--space-base) var(--space-lg) var(--space-base); */
}

html.js .page-node-type-page-publisher .masonry-colcount-2 .field--name-field-title-and-text > .field__item {
align-self: start;
}

html.js .page-node-type-page-publisher .masonry-colcount-2 .field--name-field-title-and-text > .field__item.is-column-end {
  display: block;
}




.page-node-type-page-publisher .field--name-field-title {
  border-bottom: var(--border-grid);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-1);
}


.page-node-type-page-publisher .field--name-field-title,
.page-node-type-page-publisher .col-wrapper {
  padding: var(--space-xs-2) var(--space-base) var(--space-lg) var(--space-base); 
}


.paragraph.col-count-2 .col-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  gap: 1rem;
}
}
@layer base{
/* Alphabet */
.view-authors .attachment .view-content {
  display: flex;
  /* gap: var(--stroke-thick); */
  flex-wrap: wrap;
  /* background-color: var(--color-gray-light); */
  border-bottom: var(--border-grid);
  /* border-top: var(--border-grid); */
}

.view-authors .view-content .views-summary {
  display: flex;
  border-right: var(--border-grid);
  /* border-bottom: var(--border-grid); */
}

.view-authors .views-summary a {
  display: flex;
  inline-size: 1.75rem;
  font-size: var(--font-m);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--color-black) !important;
  text-decoration: none;
  line-height: 1;
}

.view-authors .views-summary a:hover,
.view-authors .views-summary a.is-active {
  background-color: var(--color-adocs-primary) !important;
  text-decoration: none !important;
}

/* Vertical Tabs */

/* Tabs */
.view-authors .vertical-tabs {
  display: flex;
  border: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
}
/* we dont't know if list of authors oin the left or authors content on the right takes more vertical space, so we use this technique */
.view-authors .vertical-tabs::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 2px);
  width: var(--stroke-thick);
  transform: translateX(-50%);
  background: var(--color-gray-light);
}


.view-authors .vertical-tabs > * {
  flex: 1;
}

.view-authors .vertical-tabs > .field-content {
  padding: var(--space-sm);
  padding-bottom: var(--space-lg); /* i.e. Distance to footer line */
}

.view-authors .vertical-tabs__menu {
  /* border-right: var(--border-grid); */
  border-top: none !important;
  margin-top: 0 !important;
  list-style-type: none;
  padding: 0;
}

.view-authors .vertical-tabs__menu-item {
  border: none !important;
  
  border-bottom: var(--border-grid) !important;
  background-color: var(--color-canvas) !important;

  padding-top: var(--space-sm) !important;
  padding-left: var(--space-base) !important;
  padding-bottom: var(--space-sm) !important;
  padding-right: var(--space-base) !important;
}

.view-authors .vertical-tabs__menu-item .vertical-tabs__menu-item-title {
  font-weight: 400 !important;
  font-size: var(--font-xl);

}

.view-authors .vertical-tabs__menu-item.is-selected {
  background-color: var(--color-adocs-primary) !important;
  text-decoration: none !important;
}

.view-authors .vertical-tabs__menu-item .vertical-tabs__menu-item-title {
  line-height: var(--lh-sm);
  text-decoration: none;
}
.view-authors .vertical-tabs__menu-item a:hover {
  text-decoration: none !important;
  outline: none !important;
  text-decoration-line: none !important;
}




/*  Vertical Tabs' content */
.view-authors .views-field-field-description {
  /* border-left: var(--border-grid); */
  border-bottom: var(--border-grid);
  padding: var(--space-base);
  padding-top: var(--space-sm);
}

.views-field-field-external-link {
  margin: 0;
  margin-top: 1em;
  padding: 0;
  list-style: none;
}
.view-authors .views-field-books-and-editions-by-person > .item-list > ul {
  /* border-top: none; */
}


.view-authors .views-field-books-and-editions-by-person {
  border-left: var(--border-grid);
}

.view-authors .views-field-books-and-editions-by-person .field-content {
  padding-bottom: var(--space-xl);
}


.view-authors .grid-filler {
  background-color: var(--color-canvas);
}
}
@layer base{
/**
 * @file
 * Styles for product pages, i.e. book full views.
 */
.adocs-product .wrapper-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--stroke-thick);
  align-items: stretch;
  background-color: var(--color-gray-light);
}

.adocs-product .wrapper-main-content > * {
  background-color: var(--color-canvas);
}

.adocs-product .wrapper-primary {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}
.adocs-product .product-title {
  font-size: var(--font-xl);
  line-height: var(--lh-sm);
  text-transform: uppercase;
  margin: 0;
  padding-left: var(--space-base);
  /* padding: var(--space-xl) var(--space-lg) var(--space-lg) var(--space-base) ; */
}

.adocs-product .product-subtitle,
.wrapper-authors {
  font-size: var(--font-xl);
  line-height: var(--lh-sm);
  margin: 0;
  padding-left: var(--space-base);
}

/* Persons */
.adocs-product .wrapper-authors {
  padding-bottom: var(--space-sm);
  border-bottom: var(--border-grid);
  margin-top: var(--space-base);
}

/* border-bottom: var(--border-grid); */

.contributors-list {
  display: inline; /* Inline flow */
  list-style: none;
  padding: 0;
  margin: 0;
}

.contributors-list li {
  display: inline;
}

.contributors-list li::after {
  content: ", "; /* Comma + space after each */
}

.contributors-list li:last-child::after {
  content: ""; /* No comma on last */
}

.contributors-list li a,
.contributors-list .editor-suffix {
  white-space: nowrap; /* NEW: No wrapping inside link or suffix */
}

.editor-suffix {
  display: inline-block; /* Treats as unbreakable unit */
}

.adocs-product .field--name-field-description {
  padding-top: var(--space-base);
  padding-left: var(--space-base);
  padding-right: var(--space-lg);
}

/* ==========================================================
   Variation Radios als Buttons (Flex-wrap)
   FIX: Zeilenabstand exakt 3px (keine Drupal form-item margins)
   ========================================================== */

/* optional (wenn Parent display:flex ist) */
.field--name-purchased-entity {
  flex: 1 1 0;
  min-width: 0;
  border-bottom: var(--border-grid);
}

.field--name-purchased-entity .form-radios {
  background-color: var(--color-gray-light);
}

.field--name-purchased-entity label {
  font-size: var(--font-m);
  line-height: var(--lh-m);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-1);
}

/* Scope */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"] {
  border: 0;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}

/* Drupal wrapper kann own margins haben */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  > .fieldset-wrapper {
  margin: 0; /* wichtig */
  padding: 0;
}

/* Container */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios {
  display: flex;
  flex-wrap: wrap;

  width: 100%;
  min-width: 0;

  -moz-column-gap: 3px;

       column-gap: 3px;
  row-gap: 3px;

  align-content: flex-start;
}

/* >>> DAS ist der entscheidende Fix: Drupal form-item margins killen <<< */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  .form-item,
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  .js-form-item,
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  .form-type-radio,
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  .js-form-type-radio {
  margin: 0 !important; /* wichtig */
  padding: 0;
}

/* Item Layout */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  .form-type-radio {
  position: relative;
  flex: 1 1 8rem; /* Umbruch-Schwelle */
  min-width: 0;
  display: flex;
}

/* Label = Button (Styling minimal, kannst du anpassen) */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  label.option {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--padding-button);

  background: var(--color-canvas);

  transition: background-color 0.15s ease;
}

/* Hover/Active */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  label.option:hover,
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  input[type="radio"]:checked
  + label.option {
  background: var(--color-adocs-primary);
}

fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  input[type="radio"]:not(:checked)
  + label.option:hover {
  cursor: pointer;
}

/* Accessible hidden input */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  input[type="radio"] {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;
  border: 0;

  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Focus */
fieldset[data-drupal-selector="edit-purchased-entity-0-variation"]
  .form-radios
  input[type="radio"]:focus-visible
  + label.option {
  outline: 2px solid #ffeb3b;
  outline-offset: -2px;
}

/* Metadata */
.wrapper-metadata {
  -moz-columns: 2;
       columns: 2; /* Exactly 2 balanced columns */
  -moz-column-gap: 0;
       column-gap: 0;
  -moz-column-fill: balance;
       column-fill: balance; /* NEW: Balances content across columns */

  padding-top: var(--space-xs-2);
  padding-bottom: var(--space-xs-2);
  border-bottom: var(--border-grid);
}

.wrapper-metadata .left-column,
.wrapper-metadata .right-column {
  /* Remove display: contents; not needed */
  -moz-column-break-inside: avoid;
       break-inside: avoid; /* Keeps field groups together */
}
.wrapper-metadata .left-column > *,
.wrapper-metadata .right-column > * {
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

.wrapper-metadata * {
  font-size: var(--font-m) !important;
  font-weight: 400 !important;
  line-height: var(--lh-xl) !important;
}
.adocs-product .field {
  -moz-column-break-inside: avoid;
       break-inside: avoid; /* Prevents field splitting across columns */
  /* margin-bottom: 0.5rem; */
}

.wrapper-metadata .left-column,
.wrapper-metadata .right-column {
  /* Ignoring wrapper for balanced columns; remove if fixed fields per column desired */
  display: contents;
}

.wrapper-pricenbuy {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  font-size: var(--font-m);
  line-height: var(--lh-m);
  margin: 0;
  border-bottom: var(--border-grid);
  gap: var(--stroke-thick);
  background-color: var(--color-gray-light);
}

.wrapper-pricenbuy > * {
  flex: 1;
  background-color: var(--color-canvas);
  padding: var(--padding-button);
  margin-right: 0;
  margin-left: 0;
  text-align: center;
  text-transform: uppercase;

}

.wrapper-pricenbuy .product-price {
  text-transform: none;
}

/*  */
.wrapper-pricenbuy .button:hover {
  background-color: var(--color-adocs-primary);
}

.wrapper-pricenbuy .button--add-to-cart {
  border: none;
  background-color: transparent;
  color: inherit;
  margin: 0;
  padding: 0;
}
.wrapper-pricenbuy .button--add-to-cart:enabled {
  cursor: pointer;
}

.wrapper-pricenbuy .button--add-to-cart:enabled:hover {
  background-color: var(--color-adocs-primary);
}

/*  */
.adocs-product .samples {
  display: flex;
  flex-direction: column;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
  /* if you need vertical centering relative to a fixed height: */
  /* height: 200px; or whatever height the area should have */
  font-size: var(--font-m);
  line-height: var(--lh-m);
  text-transform: uppercase;
}

.reading-sample-link {
  width: 100%;
  padding: var(--space-xs-2);
  text-align: center;
  border-bottom: var(--border-grid);
  cursor: pointer;
}

/* Figure centers caption under audio */
.audio-sample figure.audio-sample {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers caption horizontally */
}

/* Caption polishes the centering */
.sample-heading {
  align-self: center; /* Flex item centering */
  text-align: center; /* Text inside centering */
  padding: var(--space-xs-2);
  border-bottom: var(--border-grid);
}

/* swiper.js Slideshow */
/* Prevent layout break */
.wrapper-main-content > .wrapper-primary,
.wrapper-main-content > .wrapper-secondary {
  min-width: 0;
}

.wrapper-secondary .swiper {
  max-width: 100%;
  overflow: hidden;
}

.wrapper-secondary img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Availability status */
.product-availability {
  border-bottom: var(--border-grid);
  padding: var(--space-xl) var(--space-sm);
  font-size: var(--font-m);
}

/* Product Safety */
.product-safety {
  border: none;
  padding: var(--space-sm);
  padding-top: var(--space-xs-2);
  font-size: var(--font-m);
  line-height: var(--lh-xl);
  display: flex;
  margin: 0;
  min-height: var(--space-xl);
  border-bottom: var(--border-grid);
}

.product-safety summary {
  list-style: none !important;
  list-style-type: none;
  padding-left: 0 !important;
  position: relative;
  color: var(--color-gray-dark);
  font-weight: 400 !important;
  flex: 1;
}
.product-safety summary:hover {
  cursor: pointer;
}

.product-safety summary::-webkit-details-marker,
.product-safety summary::marker {
  display: none !important;
}

.product-safety[open] summary::after {
  content: none; /* Falls JS/custom arrow */
}

.product-safety summary {
  cursor: pointer;
  font-weight: bold;
  list-style: disclosure-closed;
  padding: 0;
}

.product-safety[open] .safety-content {
  opacity: 1;
  transition: opacity 0.9s ease-in-out;
}

.safety-content {
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  flex: 1;
}

/* Related Content */
.wrapper-related-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: var(--stroke-thick);
  background-color: var(--color-gray-light);
}
.wrapper-related-content > * {
  background-color: var(--color-canvas);
}
.field--name-field-recommended-items .field__label,
.wrapper-related-content .field__label {
  border-bottom: var(--border-grid);
  font-size: var(--font-m);
  color: var(--color-gray-dark);
  font-weight: 400;
  padding-top: var(--space-xl);
  padding-left: var(--space-base);
  padding-bottom: var(--space-xs-2);
  line-height: var(--lh-m);
  text-transform: uppercase;
}

.field--name-field-recommended-items .field__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.field--name-field-recommended-items .field__item {
  /* border-bottom: var(--border-grid); */
}
.field--name-field-recommended-items .field__item article {
  padding-left: var(--space-base);
  padding-top: var(--space-base);
  border-bottom: var(--border-grid);
}
.field--name-field-recommended-items .field__item h2 {
  font-size: var(--font-xl);
  line-height: var(--lh-sm);
}

.field--name-field-recommended-items .field__item .field--name-field-news-cat {
  padding-top: var(--space-base);
  padding-bottom: var(--space-xs-2);
  font-size: var(--font-m);
  line-height: var(--lh-m);
  text-transform: uppercase;
}


/* experimental: visual slide divider */

.field--name-field-slider-images .swiper-slide {
  position: relative;
}

.field--name-field-slider-images .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.5); /* adjust color */
  transform: translateX(-50%);
  pointer-events: none;
  /* deactivate for the time being */
  display: none;
}
}
@layer base{
/**
 * @file
 * edition
 */
}
@layer base{

 /**
 * @file
 * edition
 */

 xxx {
    font-size: 12px;
 }
}
@layer base{

/* Here go news full view styles */

.page-node-type-news .wrapper-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--stroke-thick);
  background-color: var(--color-gray-light);
}
.page-node-type-news .wrapper-main-content > * {
    background-color: var(--color-canvas);
}
.page-node-type-news .wrapper-secondary {
    display: grid;
border-bottom: var(--border-grid);
padding-bottom: var(--space-xl);
}

.page-node-type-news .wrapper-title,
.page-node-type-news .wrapper-date-location,
.page-node-type-news .wrapper-body {
    padding: var(--space-base);

}

.addtocal-container {
  width: 100%;
  background-color: var(--color-adocs-primary) !important;
  margin: 0 !important;
  border-bottom: var(--border-grid);

}

.addtocal-container .addtocal {
    padding-top: calc(var(--space-xs-2)) !important;
    padding-bottom: var(--space-xs-2) !important;
    padding-right: var(--space-base) !important;
    background-color: var(--color-adocs-primary) !important;
    border: none;
    float: right;
    font-size: var(--font-sm-1) !important;
    letter-spacing: var(--letter-spacing-1) !important;
    line-height: 1 !important;
text-transform: uppercase;
}


.addtocal-container .addtocal-link {
    font-size: var(--font-sm-1) !important;
    letter-spacing: var(--letter-spacing-1) !important;
    line-height: 1 !important;
}


.addtocal-container .addtocal-link a:hover,
.addtocal-container .addtocal-link a:focus {
    border-radius: 0 !important;
    background-color: var(--color-gray-mid) !important;
}

.addtocal-container .addtocal::before {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 10.4px solid currentColor;
        border-right: none;
        margin-right: var(--space-xs-4);
        transform: scale(0.8) translateY(0.05rem);
        transform-origin: left center; /* Ensures it scales from its left edge, preventing it from shifting too much */
      }

.page-node-type-news .wrapper-title {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xs-2);
    border-bottom: var(--border-grid);
    font-size: var(--font-xl);
    line-height: var(--lh-sm);
    letter-spacing: var(--letter-spacing-1);
    text-wrap: balance;
}


.addtocal-container .addtocal-menu {
background-color: var(--color-adocs-primary) !important;
border: none !important;
border-radius: 0 !important;
}

.page-node-type-news .field--name-field-title-typographic {
    text-transform: uppercase;
}


.page-node-type-news .wrapper-date-location {
    border-bottom: var(--border-grid);
}
}
@layer base{

/* BEF Menu */

.view-news .view-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding-left: var(--space-base) !important;
  align-items: center;
  font-size: var(--font-m);
}

.view-news .form-item-newscat {
  margin-top: var(--space-xs-6);
  margin-bottom: var(--space-base);
}


/* BEF links */
a.bef-link:hover,
a.bef-link--selected {
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a.bef-link:hover {
  text-decoration-color: var(--color-gray-light) !important;
}

/* Comma separators for topic + series */
.view-news .view-filters li:not(:last-child)::after {
  content: ",";
  margin-left: -0.2em;
  margin-right: 0.3em;
}

/* Hide All-Links */
.view-news .view-filters li:has(a[name$="[All]"]) {
  display: none;
}




/* News Teaser */
/* News teaser at news view page */
/* Mode: GRID VIEW */

.view-news .view-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--stroke-thick);
  background-color: var(--color-gray-light);
  border-top: var(--border-grid);
  border-bottom: var(--border-grid);
}

.view-news .views-row {
  min-width: 0;
}

.view-news .views-row:has(img) {
  background-color: var(--color-canvas);
}

.view-news .news-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background-color: var(--color-gray-lighter);
  color: inherit;
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out;
}

/* Default teasers stay square */
.view-news:not(.view-news-promoted) .news-card {
  aspect-ratio: 1 / 1;
}

/* Full-card clickable overlay */
.view-news .news-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  color: inherit;
}

.view-news .news-card__media,
.view-news .news-card__body {
  position: relative;
}

.view-news .news-card__media {
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.view-news .news-card__media .field,
.view-news .news-card__media .field__item,
.view-news .news-card__media .media,
.view-news .news-card__media img {
  width: 100%;
  height: 100%;
}

.view-news .news-card__media img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: filter 180ms ease-out;
}

.view-news .news-card__body {
  position: relative;
  padding: var(--space-sm);
  overflow: visible;
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out;
}

.view-news .field--name-field-news-cat {
  font-size: var(--font-sm-1);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-1);
  transition: color 180ms ease-out, opacity 180ms ease-out;
}

.view-news .news-card__title {
  font-size: var(--font-base);
  line-height: var(--lh-base);
  margin-top: var(--space-xs-6);
  margin-bottom: var(--space-xs-4);
  transition: color 180ms ease-out;
  text-decoration: none !important;
}

.view-news .date-location {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: var(--font-sm);
  line-height: var(--lh-m);
  transition: color 180ms ease-out, opacity 180ms ease-out;
}

.date-location .event-date:empty {
  display: none;
}

.date-location .event-date:not(:empty) + .location-short::before {
  content: ", ";
}

/* Hover */

.view-news .news-card:hover,
.view-news .news-card:focus-within {
  background-color: var(--color-adocs-primary);
}

.view-news .news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-adocs-primary);
  opacity: 0;
  transition: opacity 180ms ease-out;
  pointer-events: none;
}

.view-news .news-card:hover .news-card__media::after,
.view-news .news-card:focus-within .news-card__media::after {
  opacity: 0.38;
}

.view-news .news-card:hover .news-card__media img,
.view-news .news-card:focus-within .news-card__media img {
  filter: brightness(0.88) saturate(0.92);
}

.view-news .news-card:hover .field--name-field-news-cat,
.view-news .news-card:focus-within .field--name-field-news-cat,
.view-news .news-card:hover .date-location,
.view-news .news-card:focus-within .date-location {
  opacity: 0.82;
}

.view-news .news-card:hover .news-card__title,
.view-news .news-card:focus-within .news-card__title {
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1px;
}



/*                          */
/* News teaser at frontpage */
/*                          */

.path-frontpage .views-element-container {
  position: relative;
}

.path-frontpage .view-news-promoted {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9;
}

/* teaser list */
.view-news-promoted .view-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: none;
  border: 0;
}

/* Promoted teasers default: flexible height */
.view-news-promoted .news-card {
  display: block;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
}

/* Promoted teasers with media become square again */
.view-news-promoted .news-card:has(.news-card__media) {
  display: grid;
  grid-template-rows: auto 1fr;
  aspect-ratio: 1 / 1;
}

/* Make body a vertical layout only for promoted cards */
.view-news-promoted .news-card__body {
  display: flex;
  flex-direction: column;
}

/* Push date-location to bottom in promoted cards */
.view-news-promoted .date-location {
  margin-top: auto;
}

/* Context-specific body backgrounds */

/* 1. NOT promoted + has media */
.view-news:not(.view-news-promoted) .news-card:has(.news-card__media) .news-card__body {
  background-color: var(--color-canvas);
}

/* 2. Promoted + has media */
.view-news-promoted .news-card:has(.news-card__media) .news-card__body {
  background-color: var(--color-adocs-primary);
}

/* 3. Promoted + NO media */
.view-news-promoted .news-card:not(:has(.news-card__media)) .news-card__body {
  background-color: var(--color-gray-light);
}

/* Hover should always tint complete card */
.view-news:not(.view-news-promoted) .news-card:hover .news-card__body,
.view-news:not(.view-news-promoted) .news-card:focus-within .news-card__body,
.view-news-promoted .news-card:hover .news-card__body,
.view-news-promoted .news-card:focus-within .news-card__body {
  background-color: var(--color-adocs-primary);
}

/* Promoted News@Home */
.news-close-button {
  position: absolute;
  top: 0.35rem;
  right: 0.05rem;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 180ms ease-out;
}

.news-close-button:hover,
.news-close-button:focus-visible,
.view-news .news-card:hover .news-close-button,
.view-news .news-card:focus-within .news-close-button {
  opacity: 1;
}

.news-close-button svg {
  width: var(--font-base);
  height: var(--font-base);
}

.view-display-id-teasers .news-close-button {
  display: none;
}
}
@layer base{

/**
 * @file
 * Styles for teaser cards in both contexts:
 * 1) .field--name-field-other-titles ul.catalog-teasers
 * 2) .views-field-books-and-editions-by-person .item-list > ul
 */

/* ============================================================
   SHARED OUTER LIST TARGET
============================================================ */

/* Product page teasers */
.catalog-teasers,
/* Person page teasers */
.views-field-books-and-editions-by-person > .field-content > .merged-section > .item-list > ul,
/* Open Access */
.view-open-access .view-content {
  list-style: none;
  background-color: var(--color-gray-light);
  margin: 0;
  padding: 0;
  display: grid;
  --min: 12rem;
  grid-template-columns: repeat(auto-fill, minmax(var(--min), 1fr));
  gap: var(--stroke-thick);
  border-bottom: var(--border-grid);
}

/* ============================================================
   OUTER WRAPPER RESETS
============================================================ */

.views-field-books-and-editions-by-person,
.views-field-books-and-editions-by-person > .field-content,
.views-field-books-and-editions-by-person > .field-content > .merged-section,
.views-field-books-and-editions-by-person > .field-content > .merged-section > .item-list,
.field--name-field-other-titles,
.field--name-field-other-titles .field__items,
.field--name-field-other-titles .fielditems {
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Prevent default Drupal list styling in person view */
.views-field-books-and-editions-by-person ul,
.views-field-books-and-editions-by-person li {
  list-style: none;
}

/* ============================================================
   SHARED CARD TARGET
============================================================ */

/* Product page teasers */
.catalog-teasers > li,
/* Person page teasers */
.views-field-books-and-editions-by-person > .field-content > .merged-section > .item-list > ul > li,
/* Open Access */
.view-open-access .view-content > .views-row {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 5;
  background: white;
}

/* Product page teasers */
.product-teaser-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 0;
  cursor: pointer;
}

/* Hover overlay */
.product-teaser-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-adocs-primary);
  opacity: 0;
  transition: opacity 60ms linear;
  z-index: -1;
}

.product-teaser-wrapper:not(:hover)::before {
  transition: opacity 180ms ease-out;
}

.product-teaser-wrapper:hover::before {
  opacity: 1;
}
/* mouseover Image */

.product-teaser-wrapper .field--name-field-img-teaser-mouseover {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-teaser-wrapper .field--name-field-img-teaser-mouseover .field__item,
.product-teaser-wrapper .field--name-field-img-teaser-mouseover .field--name-field-media-image,
.product-teaser-wrapper .field--name-field-img-teaser-mouseover .field--name-field-media-image .field__item {
  height: 100%;
}

.product-teaser-wrapper .field--name-field-img-teaser-mouseover img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.product-teaser-wrapper.has-mouseover-image:hover .field--name-field-img-teaser-mouseover,
.product-teaser-wrapper.has-mouseover-image:focus-visible .field--name-field-img-teaser-mouseover {
  opacity: 1;
  visibility: visible;
}










.product-teaser-wrapper > article
{
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* ============================================================
   INNER CARD LAYOUT -> refactor redundancy and confusing class names
============================================================ */
.product-teaser-wrapper .card_product {
  height: 100%;
  padding: var(--space-xs-2) var(--space-sm);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.product-teaser-wrapper .field--name-field-img-teaser {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.product-teaser-wrapper .field--name-field-img-teaser img {
  box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.5);
  width: 100%;
  height: auto;
  display: block;
}

.product-teaser-wrapper .product-teaser-image.image-size-small {
  width: calc(38% + (2 * var(--space-sm) * 0.38));
}

.product-teaser-wrapper .product-teaser-image.image-size-medium {
  width: calc(45% + (2 * var(--space-sm) * 0.45));
}

.product-teaser-wrapper .product-teaser-image.image-size-large {
  width: calc(52% + (2 * var(--space-sm) * 0.52));
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

.product-teaser-wrapper .product-title,
.product-teaser-wrapper .product-subtitle,
.product-teaser-wrapper .product-people {
  margin: 0;
  padding: 0;
}

.product-teaser-wrapper .product-title {
  font-size: var(--font-sm-1);
  line-height: var(--lh-sm);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--title-lines);
  overflow: hidden;
}

.product-teaser-wrapper .product-subtitle,
.product-teaser-wrapper .product-people {
  font-size: var(--font-sm);
  line-height: var(--lh-m);
}

.product-teaser-wrapper .product-subtitle {
  margin-top: 0.5%;
}

.product-teaser-wrapper .product-meta {
  height: 4.62rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.product-teaser-wrapper .product-meta > * {
  padding: 0;
  margin: 0;
}

.product-teaser-wrapper .subtitle-people-wrapper {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--subtitle-people-lines);
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.product-teaser-wrapper .subtitle-people-wrapper > * {
  padding: 0;
  margin: 0;
}

/* ============================================================
   BADGES
============================================================ */

.product-teaser-wrapper ul.product-badges {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: var(--stroke-thick);
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: transparent;
  line-height: 0;
}

.product-teaser-wrapper ul.product-badges > li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.product-teaser-wrapper .badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  font-size: var(--font-sm-1);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  background-color: var(--color-adocs-primary);
}

/* ============================================================
   GRID FILLERS
============================================================ */

.product-teaser-wrapper > li.grid-filler {
  background: white;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.product-teaser-wrapper > li.grid-filler::before {
  content: "";
  display: block;
  aspect-ratio: 4 / 5;
}

/* ============================================================
   OPTIONAL SAFETY RULES
============================================================ */

/* Avoid inherited heading spacing from view/theme rules */
.product-teaser-wrapper .product-title {
  margin: 0;
}

/* Avoid wrapper widths breaking card layout */
.product-teaser-wrapper article,
.product-teaser-wrapper a,
.product-teaser-wrapper .card_product,
.product-teaser-wrapper .product-meta {
  min-width: 0;
}
}
@layer base{


/**
 * @file
 * Styles for product list.
 */


/* ============================================================
   LIST
   ============================================================ */

.view-catalog-listview {

}

.view-catalog-listview tr:hover {
background-color: var(--color-adocs-primary);
}
  
/* ============================================================
   ROW
   ============================================================ */
}
@layer base{

/**
 * @file
 * Styles for series section (i.e. filtered catalog by series).
 */

/* Overall Layout */
/* Reihendarstellung und Open Access */
.view-catalog.view-display-id-page_standard:has(
    .view-display-id-attachment_series_info
  ),
.view-open-access {
  display: grid;
  grid-template-columns: 2fr 3fr;
}



.attachment .field--name-description {
  background-color: var(--color-canvas);
}

.attachment .series-info-list ul {
  padding: 0;
}

/* Content */
.view-open-access .vocabulary-license,
.view-catalog .series-info-list {
  border-right: var(--border-grid);
}

.view-catalog .series-info-list ul {
  margin: 0;
  background-color: var(--color-canvas);
  border-bottom: var(--border-grid);

  list-style: none;
}
.view-open-access .vocabulary-license .field--name-name,
.view-catalog .series-info-list .field--name-name {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-1);
  border-bottom: var(--border-grid);
  padding: var(--space-base);
  padding-bottom: var(--space-sm);
  padding-top: var(--space-xl);
}

.view-open-access .vocabulary-license .field--name-description,
.view-catalog .series-info-list .field--name-description {
  padding: var(--space-base);
  padding-bottom: var(--space-lg);
}
}
@layer base{

.sample--audio {
  --audio-ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --audio-ease-soft: ease;
  --audio-bar-thickness: 0.4rem;
  --audio-marker-thickness: 0.35rem;
  --audio-hit-area-height: 1.9rem;
  --audio-marker-height: 1.1rem;
  --audio-volume-width: 8.5rem;
  --audio-controls-gap: 1rem;
  --audio-progress-open-basis: 60%;
  --audio-border-width: 0.065rem;
  --audio-shell-duration: 0.28s;
  --audio-fill-duration: 0.18s;
  --audio-thumb-duration: 0.12s;
  --audio-shell-close-delay: 0.14s;
  --audio-fill-open-delay: 0.28s;
  --audio-thumb-open-delay: 0.46s;
  --audio-hide-delay: 0.42s;

  background: var(--color-adocs-primary);
  padding: 1.125rem 1.5rem;
  width: 100%;
  /* max-width: 37.5rem; */
  min-width: 0;
}

.audio-sample {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.sample-heading {
  display: none;
}

.audio-sample .audio-el {
  display: none;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.play-btn,
.volume-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.play-btn svg,
.volume-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: var(--color-black);
}

.time {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--color-black);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 4.5rem;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: var(--audio-controls-gap);
  flex: 1 1 auto;
  min-width: 0;
}

.progress-container,
.volume-container {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--audio-hit-area-height);
  cursor: pointer;
  min-width: 0;
}

.progress-container {
  flex: 1 1 auto;
  min-width: 0;
  transition:
    flex-basis 0.34s var(--audio-ease-smooth),
    width 0.34s var(--audio-ease-smooth);
}

.progress-track,
.volume-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: var(--audio-bar-thickness);
  transform: translateY(-50%);
  background: transparent;
  border: var(--audio-border-width) solid var(--color-black);
}

.progress-fill,
.volume-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: var(--audio-bar-thickness);
  transform: translateY(-50%);
  background: var(--color-black);
  pointer-events: none;
}

.progress-fill {
  width: 0%;
}

.progress-thumb,
.volume-thumb {
  position: absolute;
  top: 50%;
  width: var(--audio-marker-thickness);
  height: var(--audio-marker-height);
  background: var(--color-black);
  cursor: grab;
}

.progress-thumb {
  left: 0%;
  transform: translate(-50%, -50%);
}

.volume-container {
  width: 0;
  min-width: 0;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
  transition:
    width var(--audio-shell-duration) var(--audio-ease-smooth) var(--audio-shell-close-delay),
    opacity 0s linear var(--audio-hide-delay);
}

.volume-fill {
  width: 0%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition:
    transform var(--audio-fill-duration) var(--audio-ease-smooth),
    width 0s linear var(--audio-fill-duration);
}

.volume-thumb {
  left: 0%;
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
  transform-origin: center center;
  transition:
    transform var(--audio-thumb-duration) var(--audio-ease-smooth),
    opacity 0.08s linear;
}

.audio-player.show-volume .progress-container {
  flex: 0 1 var(--audio-progress-open-basis);
}

.audio-player.show-volume .volume-container {
  width: min(var(--audio-volume-width), 32%);
  opacity: 1;
  pointer-events: auto;
  transition:
    width var(--audio-shell-duration) var(--audio-ease-smooth),
    opacity 0s linear 0s;
}

.audio-player.show-volume .volume-fill {
  transform: translateY(-50%) scaleX(1);
  transition:
    transform var(--audio-fill-duration) var(--audio-ease-smooth) var(--audio-fill-open-delay),
    width 0s linear 0s;
}

.audio-player.show-volume .volume-thumb {
  opacity: 1;
  transform: translate(-50%, -50%) scaleY(1);
  transition:
    transform var(--audio-thumb-duration) var(--audio-ease-smooth) var(--audio-thumb-open-delay),
    opacity 0.08s linear var(--audio-thumb-open-delay);
}

.progress-container,
.volume-container,
.progress-thumb,
.volume-thumb {
  touch-action: none;
}

@media (max-width: 40rem) {
  .sample--audio {
    padding: 1rem;
  }

  .audio-player {
    gap: 0.75rem;
  }

  .audio-controls {
    gap: 0.75rem;
  }

  .time {
    min-width: 3.8rem;
    font-size: 0.68rem;
  }

  .audio-player.show-volume .volume-container {
    width: min(7rem, 30%);
  }
}

@media (max-width: 30rem) {
  .sample--audio {
    padding: 0.875rem;
  }

  .audio-player {
    gap: 0.625rem;
  }

  .play-btn svg,
  .volume-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .time {
    min-width: 3.4rem;
    font-size: 0.62rem;
  }

  .audio-controls {
    gap: 0.625rem;
  }

  .audio-player.show-volume .progress-container {
    flex: 0 1 55%;
  }

  .audio-player.show-volume .volume-container {
    width: min(5.5rem, 28%);
  }
}
}
@layer base{
/* Product image swiper: fixed 4:3 stage without layout jumps. */
.swiper-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  background-color: var(--color-gray-light);
  overflow: hidden;
}

/* Keep the slide height bound to the fixed 4:3 swiper box.
   Without a real height chain, portrait images may scale by width
   and get clipped by the swiper container's overflow: hidden. */
.swiper-container .swiper-wrapper,
.swiper-container .swiper-slide,
.swiper-container .swiper-slide > article.media,
.swiper-container .field--name-field-media-image,
.swiper-container .field--name-field-media-image .field__item,
.swiper-container .slide-image-box {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.swiper-container .swiper-wrapper {
  align-items: stretch;
}

.swiper-container .swiper-slide {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  box-sizing: border-box;
  padding: 0;
  background-color: var(--color-gray-light);
}

.swiper-container .swiper-slide > article.media {
  display: flex;
  flex-direction: column;
  background-color: var(--color-gray-light);
}

.swiper-container .field--name-field-media-image {
  flex: 1 1 auto;
  display: flex;
}

.swiper-container .field--name-field-media-image .field__item {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8%;
}

/* The image wrapper added in field--media--field-media-image.html.twig
   must be the containing box for max-height: 100% on the image. */
.swiper-container .slide-image-box {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Force image containment against possible module/default image rules
   such as width: 100%. This prevents portrait images from being
   scaled too tall and clipped vertically. */
.swiper-container .slide-image-box img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.5));
}

.swiper-container .field--name-field-caption {
  flex: 0 0 auto;
  padding: 0 var(--space-base) var(--space-base);
  background-color: var(--color-gray-light);
}

.swiper-container .field--name-field-caption .field__item {
  max-width: 60ch;
  line-height: 1.4;
}

.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
  color: var(--color-gray-dark) !important;
}

.swiper-container .swiper-pagination-bullet-active {
  background-color: var(--color-canvas) !important;
}

.swiper-container .swiper-pagination-fraction {
  color: var(--color-gray-dark);
}

/* Fullscreen toggle button. */
.swiper-fullscreen-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  color: var(--color-gray-dark);
}

.swiper-fullscreen-btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

.swiper-fullscreen-btn svg path {
  fill: currentColor;
  transition: fill 0.2s ease;
}

.swiper-fullscreen-btn:hover svg path,
.swiper-fullscreen-btn:focus-visible svg path {
  fill: var(--color-adocs-primary);
}

.swiper-fullscreen-btn__collapse {
  display: none;
}

.swiper-fullscreen-btn__expand {
  display: flex;
}

.swiper--fullscreen .swiper-fullscreen-btn__collapse {
  display: flex;
}

.swiper--fullscreen .swiper-fullscreen-btn__expand {
  display: none;
}

body.swiper-fullscreen-open {
  overflow: hidden;
}

/* Fullscreen swiper stage. */
.swiper-container.swiper--fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999;
  width: 100vw !important;
  height: 100vh !important;
  aspect-ratio: auto !important;
  margin: 0;
  padding: 0;
  background-color: var(--color-gray-light);
}

/* Same containment logic in fullscreen mode. */
.swiper-container.swiper--fullscreen .swiper-wrapper,
.swiper-container.swiper--fullscreen .swiper-slide,
.swiper-container.swiper--fullscreen .swiper-slide > article.media,
.swiper-container.swiper--fullscreen .field--name-field-media-image,
.swiper-container.swiper--fullscreen .field--name-field-media-image .field__item,
.swiper-container.swiper--fullscreen .slide-image-box {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.swiper-container.swiper--fullscreen .field--name-field-media-image .field__item {
  padding: 4%;
}

.swiper-container.swiper--fullscreen .field--name-field-caption {
  padding-bottom: 1.25rem;
}

.swiper-container.swiper--fullscreen .swiper-button-next,
.swiper-container.swiper--fullscreen .swiper-button-prev,
.swiper-container.swiper--fullscreen .swiper-pagination,
.swiper-container.swiper--fullscreen .swiper-scrollbar {
  z-index: 15;
}

/* swiper factory styles added a 1rem vertical margin. We remove it */
.swiper-container {
  margin-block: 0 !important;
  margin-inline: auto;
}





/* Simulate a simple vertical fold in the middle of selected double-page images.
   The class simulate-fold is added to the swiper-slide. */
   .swiper-container .swiper-slide.simulate-fold .slide-image-box {
    position: relative;
  }
  
  /* First version: simple center line only. */
  .Xswiper-container .swiper-slide.simulate-fold .slide-image-box::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 2;
    width: 0.5px;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.42);
    pointer-events: none;
  }




  .Xswiper-container .swiper-slide.simulate-fold .slide-image-box::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background:
      linear-gradient(
        to right,
        rgba(255,255,255,.15) 0,
        rgba(0,0,0,.35) 50%,
        rgba(255,255,255,.15) 100%
      );
    pointer-events: none;
  }







  .Yswiper-container .swiper-slide.simulate-fold .slide-image-box::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 32px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
  
    background:
      linear-gradient(
        to right,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.08) 35%,
        rgba(0,0,0,.18) 50%,
        rgba(0,0,0,.08) 65%,
        rgba(0,0,0,0) 100%
      );
  }
  
  .Yswiper-container .swiper-slide.simulate-fold .slide-image-box::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,.5);
    pointer-events: none;
    z-index: 2;
  }







  /* Book gutter simulation */
.swiper-container .swiper-slide.simulate-fold .slide-image-box {
  position: relative;
}

/* Central fold */
.Zswiper-container .swiper-slide.simulate-fold .slide-image-box::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;

  background: rgba(0, 0, 0, 0.18);

  box-shadow:
    /* highlight on left page edge */
    -2px 0 2px rgba(255, 255, 255, 0.30),

    /* inner dark gutter */
     0 0 8px rgba(0, 0, 0, 0.35),

    /* shadow cast onto right page */
     4px 0 8px rgba(0, 0, 0, 0.22);
}



/* --------------------------------------------------------------------------
   Book spread / gutter simulation
   Applied to slides with .simulate-fold
   -------------------------------------------------------------------------- */

   .swiper-container .swiper-slide.simulate-fold .slide-image-box {
    position: relative;
  
    /* Tuning variables */
    --fold-width: 12px;
    --fold-shadow-light: 0.03;
    --fold-shadow-mid: 0.08;
    --fold-shadow-dark: 0.16;
    --fold-highlight: 0.06;
  }
  
  .swiper-container .swiper-slide.simulate-fold .slide-image-box::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: var(--fold-width);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
  
    background:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
  
        rgba(0, 0, 0, var(--fold-shadow-light)) 30%,
        rgba(0, 0, 0, var(--fold-shadow-mid)) 45%,
  
        rgba(0, 0, 0, var(--fold-shadow-dark)) 50%,
  
        rgba(0, 0, 0, var(--fold-shadow-mid)) 55%,
        rgba(255, 255, 255, var(--fold-highlight)) 65%,
  
        rgba(0, 0, 0, var(--fold-shadow-light)) 80%,
        rgba(0, 0, 0, 0) 100%
      );
  }
}
@layer base{
/* Header search toggle stays in header tools */
.header-search {
    display: flex;
    align-items: center;
  }
  
  .header-search__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
  }
  
  /* Top search panel */
  .site-search-panel {
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.25s ease;
  }
  
  .site-header.site-header_search-open .site-search-panel {
    max-height: 12rem; /* adjust if needed */
    opacity: 1;
  }

  .site-search-panel__inner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  
  /* Reset the exposed-filter block only inside the top panel */
  .site-search-panel .block,
  .site-search-panel form,
  .site-search-panel .header-search__form {
    display: block;
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    float: none;
  }
  
  /* Layout of input + submit */
  .site-search-panel .form--inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: visible;
  }
  
  /* Neutralize Drupal form wrappers */
  .site-search-panel .js-form-item,
  .site-search-panel .form-item,
  .site-search-panel .form-item-search,
  .site-search-panel .form-actions {
    display: block;
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    float: none;
  }
  
  /* Make sure the input is actually visible */
  .site-search-panel input[type="text"],
  .site-search-panel input[type="search"],
  .site-search-panel input[name="search"] {
    display: block;
    position: static;
    width: 100%;
    min-width: 0;
    height: calc( 2.1 * var(--space-base));
    padding: 0 1rem;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid var(--color-black, #000);
    background: var(--color-white, #fff);
    color: var(--color-black, #000);
    caret-color: var(--color-black, #000);
    -webkit-text-fill-color: var(--color-black, #000);
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
  }
  
  .site-search-panel input::-moz-placeholder {
    color: var(--color-gray-dark, #666);
    opacity: 1;
    -webkit-text-fill-color: var(--color-gray-dark, #666);
  }
  
  .site-search-panel input::placeholder {
    color: var(--color-gray-dark, #666);
    opacity: 1;
    -webkit-text-fill-color: var(--color-gray-dark, #666);
  }
  
  /* Submit button */
  .site-search-panel .form-actions input[type="submit"],
  .site-search-panel .form-actions .button {
    display: block;
    height: 3rem;
    margin: 0;
    padding: 0 1rem;
    box-sizing: border-box;
    border: 1px solid var(--color-black, #000);
    background: var(--color-white, #fff);
    color: var(--color-black, #000);
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
  }
  
  /* Optional: keep autocomplete above surrounding header items */
  .ui-autocomplete {
    z-index: 1000;
  }
}
@layer base{


/**
 * @file
 * CSS Variables
 */


/* Define brand colors */

/* Language switcher: non-active language only */
.language-switcher-language-url .is-active {
  display: none;
}




/* Toggle Catalog List View ⇄ Grid View */

.picto--grid {
  fill: currentColor;
  stroke-width: 0;
}

.picto--list {
  fill: currentColor;
  stroke-width: 0;

}

.picto {
  height: 1rem;
  width: auto;
}

.picto--grid {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
}



/* Button randomize Catalaog view */
.picto--random {
  color: var(--color-adocs-primary);
  fill: currentColor;
  stroke-width: 0;
  width: 1em;
  height: 1em;
  display: block;
}



/* Main Navigation */
.menu {
  display: flex;
  align-items: center;
}


.menu-item--logo {

}



.menu-logo {
  display: block;
  height: 1rem;       /* tweak until it looks right in the header */
  width: auto;
}



/* cart form */
.view-commerce-cart-form .field--name-field-format .field__item {
  display: none;
}
.view-commerce-cart-form .field--name-field-format .field__item:last-of-type {
  display: block;
}
}
/*# sourceMappingURL=main.css.map */