/* WordPress integration and inner-page styles. */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Schema 10: one navigation and editorial system for deep institutional content. */
.virom-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.virom-section-about { --section-accent: #7f1730; --section-tint: #f4ecee; }
.virom-section-structure { --section-accent: #6e2738; --section-tint: #f1ecee; }
.virom-section-science { --section-accent: #7f1730; --section-tint: #f5efea; }
.virom-section-documents { --section-accent: #68192c; --section-tint: #f2edef; }
.virom-section-career { --section-accent: #8a243b; --section-tint: #f6edef; }
.virom-section-union { --section-accent: #722337; --section-tint: #f3edef; }
.virom-section-contact { --section-accent: #732435; --section-tint: #f2efec; }
.virom-section-calendar { --section-accent: #861b35; --section-tint: #f5edef; }
.virom-section-news { --section-accent: #7f1730; --section-tint: #f5edef; }
.virom-section-search,
.virom-section-information { --section-accent: #7f1730; --section-tint: #f4eff0; }

.section-context {
  position: relative;
  z-index: 18;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 20%, transparent 0 34px, rgba(127, 23, 48, .055) 35px 36px, transparent 37px),
    linear-gradient(110deg, var(--section-tint, #f4eff0), #fff 68%);
}

.section-context-details > summary {
  min-height: 62px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  list-style: none;
  cursor: pointer;
}

.section-context-details > summary::-webkit-details-marker,
.virom-toc > summary::-webkit-details-marker {
  display: none;
}

.section-context-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--section-accent, var(--wine));
}

.section-context-symbol .virom-icon {
  width: 19px;
  height: 19px;
}

.section-context-details summary small,
.section-context-details summary strong {
  display: block;
}

.section-context-details summary small {
  margin-bottom: 1px;
  color: var(--section-accent, var(--wine));
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-context-details summary strong {
  font-size: 15px;
  line-height: 1.2;
}

.section-context-details summary i,
.virom-toc summary i {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.section-context-details summary i::before,
.section-context-details summary i::after,
.virom-toc summary i::before,
.virom-toc summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.section-context-details summary i::after,
.virom-toc summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.section-context-details[open] summary i::after,
.virom-toc[open] summary i::after {
  transform: translate(-50%, -50%);
}

.section-context-panel {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 0 14px 50px;
}

.section-context-home {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  color: #fff;
  border-radius: 2px;
  background: var(--section-accent, var(--wine));
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.section-context-panel ul {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-context-panel li a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.section-context-panel li a:hover,
.section-context-panel li a:focus-visible,
.section-context-panel li a[aria-current="page"] {
  color: var(--section-accent, var(--wine));
  border-color: rgba(127, 23, 48, .22);
  background: #fff;
}

.content-article,
.hub-article,
.single-hub-article {
  --wine: var(--section-accent, #7f1730);
}

.content-article > .content-title,
.hub-hero .content-title,
.single-hub-hero .content-title {
  position: relative;
}

.content-article > .content-title::before,
.hub-hero .content-title::before,
.single-hub-hero .content-title::before {
  content: "";
  position: absolute;
  top: .12em;
  bottom: .12em;
  left: -22px;
  width: 3px;
  border-radius: 3px;
  background: var(--section-accent, var(--wine));
}

.content-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.content-badge {
  width: max-content;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  color: var(--section-accent, var(--wine));
  border: 1px solid rgba(127, 23, 48, .2);
  border-radius: 999px;
  background: var(--section-tint, var(--wine-soft));
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.content-badge .virom-icon {
  width: 14px;
  height: 14px;
}

.content-card-body .content-badges {
  margin-bottom: 8px;
}

.content-card-body .content-badge {
  min-height: 23px;
  padding: 3px 7px;
  font-size: 8px;
}

.child-page-index {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.child-page-index header h2 {
  margin: 5px 0 22px;
  font-size: clamp(28px, 3vw, 38px);
}

.child-page-index-list {
  border-top: 1px solid var(--line);
}

.child-page-index-list > a {
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color .18s ease, background .18s ease, padding .18s ease;
}

.child-page-index-list > a:hover,
.child-page-index-list > a:focus-visible {
  padding-left: 24px;
  color: var(--section-accent, var(--wine));
  background: var(--section-tint, #f5eff0);
}

.child-page-index-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--section-accent, var(--wine));
  border: 1px solid rgba(127, 23, 48, .2);
  border-radius: 50%;
  background: #fff;
}

.child-page-index-list strong,
.child-page-index-list small {
  display: block;
}

.child-page-index-list strong {
  font-size: 19px;
  line-height: 1.25;
}

.child-page-index-list small {
  max-width: 780px;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.child-page-index-arrow {
  color: var(--section-accent, var(--wine));
}

.sibling-navigation {
  color: var(--ink);
  border-top: 1px solid var(--line);
  background: linear-gradient(110deg, var(--section-tint, #f5eff0), #fff);
}

.sibling-navigation-inner {
  min-height: 124px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.sibling-navigation-inner > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 0;
  color: var(--ink);
}

.sibling-navigation-inner > a:hover,
.sibling-navigation-inner > a:focus-visible {
  color: var(--section-accent, var(--wine));
}

.sibling-navigation-inner small {
  margin-bottom: 6px;
  color: var(--section-accent, var(--wine));
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sibling-navigation-inner strong {
  max-width: 390px;
  font-size: 16px;
  line-height: 1.3;
}

.sibling-next {
  align-items: flex-end;
  text-align: right;
}

.sibling-parent {
  align-items: center;
  padding-inline: 26px !important;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--section-accent, var(--wine)) !important;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.virom-toc {
  margin: 0 0 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--section-accent, var(--wine));
  border-radius: 3px;
  background: var(--section-tint, #f7f2f3);
}

.virom-toc > summary {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  list-style: none;
  color: var(--section-accent, var(--wine));
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.virom-toc > ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 5px 16px 17px 38px;
}

.virom-toc li {
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.virom-toc li.is-subsection {
  margin-left: 14px;
  list-style-type: circle;
}

.entry-content .virom-toc a {
  color: inherit;
  text-decoration: none;
}

.entry-content .virom-toc a:hover,
.entry-content .virom-toc a:focus-visible,
.entry-content .virom-toc a[aria-current="location"] {
  color: var(--section-accent, var(--wine));
  text-decoration: underline;
}

.entry-content h2,
.entry-content h3 {
  scroll-margin-top: 110px;
}

.document-results {
  display: block;
}

.document-result,
.document-result:nth-child(2n) {
  min-height: 112px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.document-result:nth-child(2n) {
  background: #faf9f9;
}

.document-result-icon {
  width: 52px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--section-accent, var(--wine));
  border: 1px solid rgba(127, 23, 48, .22);
  border-radius: 3px;
  background: var(--section-tint, #f5eff0);
}

.document-result-icon .virom-icon {
  width: 23px;
  height: 23px;
}

.document-result-icon b {
  max-width: 44px;
  overflow: hidden;
  font-size: 8px;
  letter-spacing: .06em;
  text-overflow: ellipsis;
}

.document-result-copy {
  min-width: 0;
}

.document-result-meta > * + *::before {
  content: "·";
  margin-right: 12px;
  color: #b9afb3;
}

.document-result h3 {
  margin: 8px 0 4px;
  font-size: 17px;
}

.document-result-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.document-open {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 0;
  padding: 8px 11px;
  border: 1px solid rgba(127, 23, 48, .25);
  border-radius: 2px;
}

.document-open .virom-icon {
  width: 16px;
  height: 16px;
}

.virom-search-form {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 230px) auto;
}

.virom-search-form select {
  min-width: 0;
  height: 54px;
  padding: 0 38px 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.search-results-shell {
  padding-bottom: 72px;
}

.search-results-hero {
  max-width: 980px;
  margin-bottom: 42px;
  padding: 38px 42px;
  border-top: 4px solid var(--section-accent, var(--wine));
  background: linear-gradient(115deg, var(--section-tint, #f5eff0), #fff);
}

.search-results-hero h1 {
  margin: 6px 0 10px;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.02;
}

.search-results-hero > p:not(.content-kicker) {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.search-result-groups {
  display: grid;
  gap: 34px;
}

.search-result-group > header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}

.search-result-group > header > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--section-accent, var(--wine));
}

.search-result-group > header .virom-icon {
  width: 19px;
  height: 19px;
}

.search-result-group > header h2 {
  margin: 0;
  font-size: 27px;
}

.search-result-group > header small {
  color: var(--ink-soft);
  font-size: 12px;
}

.search-result-list {
  border-top: 1px solid var(--line);
}

.search-result-row {
  min-height: 104px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 100px;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.search-result-row:hover,
.search-result-row:focus-visible {
  color: var(--section-accent, var(--wine));
  background: var(--section-tint, #f5eff0);
}

.search-result-row-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--section-accent, var(--wine));
  border: 1px solid rgba(127, 23, 48, .2);
  border-radius: 50%;
  background: #fff;
}

.search-result-row-copy,
.search-result-row-copy > strong,
.search-result-row-copy > small {
  min-width: 0;
  display: block;
}

.search-result-row-copy > strong {
  font-size: 18px;
  line-height: 1.3;
}

.search-result-row-copy > small {
  max-width: 800px;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.search-result-row-copy .content-badges {
  margin-bottom: 6px;
}

.search-result-row-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--section-accent, var(--wine));
  font-size: 11px;
}

.virom-editor-pattern {
  margin-block: 30px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--section-accent, var(--wine));
  background: #fff;
}

.virom-person-pattern {
  overflow: hidden;
  padding: 0;
}

.virom-person-pattern .wp-block-media-text__content {
  padding: clamp(24px, 4vw, 52px);
}

.virom-timeline {
  position: relative;
  margin-block: 36px;
  padding-left: 58px;
}

.virom-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 20px;
  width: 2px;
  background: linear-gradient(var(--section-accent, var(--wine)), rgba(127, 23, 48, .15));
}

.virom-timeline-item {
  position: relative;
  margin: 0 0 20px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.virom-timeline-item::before {
  content: "";
  position: absolute;
  top: 25px;
  left: -45px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--section-accent, var(--wine));
  box-shadow: 0 0 0 1px var(--section-accent, var(--wine));
}

.entry-content .virom-timeline-item h3 {
  margin: 0 0 7px;
  color: var(--section-accent, var(--wine));
  font-size: 22px;
}

.virom-timeline-item > *:last-child {
  margin-bottom: 0;
}

.entry-content .wp-block-file {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
  padding: 12px 14px 12px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--section-accent, var(--wine));
  background: #fff;
}

.entry-content .wp-block-file a {
  font-weight: 750;
  text-decoration: none;
}

.entry-content .wp-block-file .wp-block-file__button {
  padding: 9px 12px;
  color: #fff;
  border-radius: 2px;
  background: var(--section-accent, var(--wine));
  font-size: 11px;
}

@media (max-width: 760px) {
  .section-context {
    position: sticky;
    top: 0;
  }

  .section-context-details > summary {
    min-height: 56px;
  }

  .section-context-panel {
    display: block;
    max-height: min(62vh, 430px);
    overflow-y: auto;
    padding: 0 0 12px;
  }

  .section-context-home {
    width: 100%;
    margin-bottom: 5px;
  }

  .section-context-panel ul {
    display: block;
  }

  .section-context-panel li a {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 13px;
  }

  .content-article > .content-title::before,
  .hub-hero .content-title::before,
  .single-hub-hero .content-title::before {
    left: -11px;
    width: 2px;
  }

  .virom-toc > ol {
    grid-template-columns: 1fr;
  }

  .child-page-index {
    margin-top: 34px;
  }

  .child-page-index-list > a {
    min-height: 78px;
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 13px 5px;
  }

  .child-page-index-list > a:hover,
  .child-page-index-list > a:focus-visible {
    padding-left: 8px;
  }

  .child-page-index-icon {
    width: 40px;
    height: 40px;
  }

  .child-page-index-icon .virom-icon {
    width: 19px;
    height: 19px;
  }

  .child-page-index-list strong {
    font-size: 15px;
  }

  .child-page-index-list small {
    font-size: 11px;
  }

  .sibling-navigation-inner {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
  }

  .sibling-navigation-inner > a {
    min-height: 88px;
    padding: 15px 0;
  }

  .sibling-navigation-inner > span {
    display: none;
  }

  .sibling-parent {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 48px !important;
    padding: 12px !important;
    border: 1px solid var(--line);
    border-bottom: 0;
  }

  .sibling-navigation-inner strong {
    max-width: 155px;
    font-size: 12px;
  }

  .sibling-next {
    padding-left: 12px !important;
  }

  .document-result,
  .document-result:nth-child(2n) {
    min-height: 92px;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 14px 12px;
  }

  .document-result-icon {
    width: 40px;
    height: 50px;
  }

  .document-result-icon .virom-icon {
    width: 19px;
    height: 19px;
  }

  .document-result h3 {
    font-size: 14px;
  }

  .document-result-copy > p {
    display: none;
  }

  .document-result-meta {
    gap: 3px 7px;
    font-size: 8px;
  }

  .document-result-meta > * + *::before {
    margin-right: 7px;
  }

  .document-open {
    min-height: 36px;
    padding: 7px 3px;
    border: 0;
  }

  .document-open span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .virom-search-form,
  .header-search-panel .virom-search-form {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .virom-search-form select {
    height: 44px;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .search-results-shell {
    padding-bottom: 42px;
  }

  .search-results-hero {
    margin-bottom: 30px;
    padding: 24px 18px;
  }

  .search-results-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .search-result-group > header h2 {
    font-size: 22px;
  }

  .search-result-row {
    min-height: 86px;
    grid-template-columns: 36px minmax(0, 1fr) 22px;
    gap: 10px;
    padding: 12px 4px;
  }

  .search-result-row-icon {
    width: 34px;
    height: 34px;
  }

  .search-result-row-icon .virom-icon {
    width: 17px;
    height: 17px;
  }

  .search-result-row-copy > strong {
    font-size: 14px;
  }

  .search-result-row-copy > small,
  .search-result-row-side time {
    display: none;
  }

  .search-result-row-side {
    justify-content: flex-end;
  }

  .content-badge {
    min-height: 22px;
    font-size: 8px;
  }

  .virom-timeline {
    padding-left: 34px;
  }

  .virom-timeline::before {
    left: 10px;
  }

  .virom-timeline-item {
    padding: 16px;
  }

  .virom-timeline-item::before {
    left: -31px;
  }
}

/* Schema 10 cascade layer: overrides legacy directory/card rules. */
.virom-search-form {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 230px) auto;
}

.document-results {
  display: block;
}

.document-result,
.document-result:nth-child(2n) {
  min-height: 112px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.document-result:nth-child(2n) {
  background: #faf9f9;
}

.document-result h3 {
  margin: 8px 0 4px;
  font-size: 17px;
}

.document-open {
  margin-top: 0;
}

.hub-file-grid,
.careers-documents-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.careers-document-card {
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-content: center;
  padding: 14px 18px;
}

@media (max-width: 760px) {
  .virom-search-form,
  .header-search-panel .virom-search-form {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .virom-search-form select {
    height: 44px;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .document-result,
  .document-result:nth-child(2n) {
    min-height: 92px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 14px 12px;
  }

  .document-result h3 {
    font-size: 14px;
  }
}

.document-result-meta span + span::before,
.document-result-meta time::before {
  content: none;
}

.document-result-meta > * + *::before {
  content: "·";
  margin-right: 12px;
  color: #b9afb3;
}

@media print {
  .section-context,
  .sibling-navigation,
  .virom-toc {
    display: none !important;
  }
}

/* Schema 9: compact careers, unified editorial pages and repaired language logos. */
.virome-logo-white {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.careers-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.careers-section .section-head {
  margin-bottom: 20px;
}

.careers-section .section-head h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.careers-section .careers-grid {
  gap: 10px;
}

.careers-section .career-card {
  min-height: 152px;
  padding: 17px 20px;
}

.careers-section .career-card h3 {
  margin: 17px 0 7px;
  font-size: 18px;
}

.careers-section .career-card p {
  font-size: 12px;
  line-height: 1.4;
}

.careers-section .career-card::after {
  width: 96px;
  height: 96px;
}

.activity-directory-group > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 19px 24px;
  list-style: none;
  cursor: pointer;
}

.activity-directory-group > summary::-webkit-details-marker {
  display: none;
}

.activity-directory-group > summary > span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}

.activity-directory-group > summary h2 {
  margin: 0;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.15;
}

.activity-directory-group[open] > summary {
  color: #fff;
  background: var(--wine);
}

.activity-directory-group[open] > summary > span {
  color: #f1c8d1;
}

.activity-directory-toggle {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.activity-directory-toggle::before,
.activity-directory-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.activity-directory-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.activity-directory-group[open] .activity-directory-toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.activity-directory-group .activity-directory-list {
  border-top: 1px solid var(--line);
}

.single-hub-article {
  padding: 0;
  overflow: hidden;
}

.single-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 36px;
  align-items: end;
  padding: clamp(34px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.single-hub-hero .content-title {
  max-width: 950px;
}

.single-hub-hero > p:last-child {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.single-hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px clamp(34px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 241, .78);
}

.single-hub-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(116, 25, 43, .2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.single-hub-nav a:hover,
.single-hub-nav a:focus-visible {
  color: #fff;
  border-color: var(--wine);
  background: var(--wine);
}

.single-hub-nav a span {
  color: var(--wine);
  font-size: 10px;
}

.single-hub-nav a:hover span,
.single-hub-nav a:focus-visible span {
  color: #f1c8d1;
}

.single-hub-editor {
  display: grid;
  gap: 14px;
  padding: clamp(28px, 4vw, 52px) clamp(34px, 5vw, 68px);
}

.single-hub-editor > .virom-single-intro {
  margin: 0 0 8px;
  padding: 20px 22px;
  border-left: 3px solid var(--wine);
  background: var(--wine-soft);
}

.single-hub-editor > .virom-single-section {
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 30px rgba(55, 39, 45, .045);
}

.single-hub-editor > .virom-single-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.14;
}

.single-hub-editor > .virom-single-section h3 {
  margin: 24px 0 10px;
  color: var(--wine);
  font-size: 18px;
}

.single-hub-editor > .virom-single-section > :last-child {
  margin-bottom: 0;
}

.single-hub-news {
  padding: 0 clamp(34px, 5vw, 68px) clamp(38px, 5vw, 68px);
}

.single-hub-news-heading {
  margin-bottom: 18px;
}

.single-hub-news-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(27px, 3vw, 38px);
}

.single-hub-news-list {
  display: grid;
  gap: 10px;
}

.single-hub-news-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 20px;
  min-height: 112px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.single-hub-news-card:hover,
.single-hub-news-card:focus-visible {
  color: var(--ink);
  border-color: rgba(116, 25, 43, .45);
  box-shadow: 0 12px 28px rgba(55, 39, 45, .07);
  transform: translateX(3px);
}

.single-hub-news-card figure {
  height: 92px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cloud-deep);
}

.single-hub-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hub-news-card > div {
  display: grid;
  gap: 5px;
}

.single-hub-news-card time {
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
}

.single-hub-news-card strong {
  font-size: 17px;
  line-height: 1.25;
}

.single-hub-news-card span {
  color: var(--ink-soft);
  font-size: 13px;
}

.single-hub-news-card > b {
  color: var(--wine);
  font-size: 20px;
}

.history-controls {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 15px;
  display: flex;
  gap: 6px;
}

.history-controls button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--wine);
  border: 1px solid rgba(116, 25, 43, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
}

.history-controls button:hover,
.history-controls button:focus-visible {
  color: #fff;
  background: var(--wine);
}

.history-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 32px;
  align-items: end;
  padding: clamp(34px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.history-page-hero > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.history-page-layout {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding: clamp(30px, 5vw, 66px);
}

.history-page-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px 4px 24px 4px;
  background: #efeeec;
  box-shadow: 0 20px 48px rgba(46, 31, 37, .12);
}

.history-page-slider .history-slide img {
  object-fit: contain;
  filter: grayscale(1) contrast(1.03);
}

.history-page-slider-footer {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  min-height: 58px;
  background: linear-gradient(180deg, transparent, rgba(25, 22, 23, .28));
}

.history-page-content {
  font-size: 16px;
  line-height: 1.7;
}

.about-directory-history {
  min-height: 250px;
  grid-template-rows: 185px auto;
}

.hub-page-science-products .hub-hero {
  padding-bottom: 26px;
}

.hub-page-science-products .hub-jump-nav {
  margin-top: 16px;
  padding-block: 13px;
}

.hub-page-science-products .hub-sections {
  gap: 10px;
  padding: 24px clamp(24px, 4vw, 46px) 36px;
}

.hub-page-science-products .hub-section {
  min-height: 166px;
  padding: 18px 20px;
}

.hub-page-science-products .hub-section-labels {
  margin-bottom: 9px;
}

.hub-page-science-products .hub-section h2 {
  font-size: clamp(19px, 1.8vw, 25px);
}

.hub-page-science-products .hub-section-header > p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.hub-page-science-products .hub-section-action {
  padding-top: 12px;
}

.research-materials-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 11px 20px;
  color: #fff !important;
  border: 1px solid var(--wine);
  border-radius: 3px;
  background: var(--wine);
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(116, 25, 43, .14);
}

.research-materials-button::after {
  content: "→";
  font-size: 19px;
  transition: transform .2s ease;
}

.research-materials-button:hover,
.research-materials-button:focus-visible {
  color: var(--wine) !important;
  background: #fff;
}

.research-materials-button:hover::after,
.research-materials-button:focus-visible::after {
  transform: translateX(4px);
}

@media (max-width: 820px) {
  .single-hub-hero,
  .history-page-hero,
  .history-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-hub-news-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .single-hub-news-card > b {
    display: none;
  }

  .history-page-slider {
    width: 100%;
    max-width: 480px;
  }
}

@media (max-width: 620px) {
  .careers-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .activity-directory-group > summary {
    grid-template-columns: 30px minmax(0, 1fr) 32px;
    gap: 10px;
    min-height: 72px;
    padding: 15px;
  }

  .single-hub-hero,
  .single-hub-nav,
  .single-hub-editor,
  .single-hub-news,
  .history-page-hero,
  .history-page-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .single-hub-news-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-hub-news-card figure {
    height: 170px;
  }

  .hub-page-science-products .hub-layout-catalog {
    grid-template-columns: minmax(0, 1fr);
  }
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

.entry-content pre,
.entry-content table {
  max-width: 100%;
  overflow-x: auto;
}

.hero-inner > *,
.about-grid > *,
.units-grid > *,
.governance > *,
.activity-links > *,
.calendar-grid > *,
.content-grid > *,
.footer-top > * {
  min-width: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto !important;
  color: #fff;
  background: var(--wine-dark);
}

.main-nav-list,
.footer-list.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.main-nav-list > li {
  position: relative;
}

.main-nav-list .sub-menu {
  position: absolute;
  z-index: 60;
  top: 100%;
  left: -16px;
  min-width: 250px;
  display: none;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(36, 33, 36, .14);
}

.main-nav-list li:hover > .sub-menu,
.main-nav-list li:focus-within > .sub-menu {
  display: grid;
}

.main-nav-list .sub-menu a {
  display: block;
  padding: 10px 12px;
  white-space: normal;
}

.main-nav-list .sub-menu a::after {
  display: none;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.accessibility-link {
  color: inherit;
  background: transparent;
}

.site-header .search-button {
  width: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  color: var(--wine);
  border: 1px solid #fff;
  border-radius: 22px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.site-header .search-button:hover,
.site-header .search-button:focus-visible,
.site-header .search-button[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 8px 22px rgba(45, 6, 15, .18);
}

.search-button-label {
  white-space: nowrap;
}

.header-search-panel {
  position: relative;
  z-index: 45;
  padding: 14px 0;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 18px 36px rgba(36, 33, 36, .12);
}

.header-search-panel[hidden] {
  display: none;
}

.virom-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.virom-search-form input {
  min-width: 0;
  height: 54px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.virom-search-form button {
  min-width: 110px;
  padding: 0 20px;
  color: #fff;
  border: 1px solid var(--wine);
  border-radius: 3px;
  background: var(--wine);
  font-weight: 700;
}

.news-card-link {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card-link .news-content {
  flex: 1 1 auto;
}

.news-section .section-head h2 {
  font-size: clamp(32px, 3.5vw, 38px);
}

.news-grid {
  grid-auto-columns: minmax(280px, 320px);
  gap: 14px;
  align-items: stretch;
}

.news-card {
  height: 100%;
  min-height: 318px;
  grid-template-rows: 122px auto;
}

.news-image {
  height: 122px;
}

.news-content {
  min-height: 190px;
  padding: 16px 18px 15px;
}

.news-content h3 {
  margin: 11px 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.news-content p {
  font-size: 11.5px;
  line-height: 1.48;
}

.news-card.news-no-image .news-content {
  min-height: 318px;
  padding: 22px 20px 18px;
}

.news-card.news-no-image .news-content h3 {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.25;
}

.news-card .news-more {
  min-height: 30px;
  padding-inline: 11px;
  font-size: 11px;
}

.content-main {
  min-height: 55vh;
  padding: 68px 0 82px;
  background: #f7f7f5 url("assets/virom-pattern.png") center top / cover fixed no-repeat;
}

.content-main > .container {
  width: min(1440px, calc(100% - 64px));
}

.breadcrumbs-container {
  margin-bottom: 22px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 13px;
  line-height: 1.45;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 10px;
  color: var(--wine);
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] {
  overflow-wrap: anywhere;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
}

.content-shell.no-sidebar {
  grid-template-columns: minmax(0, 1240px);
  justify-content: center;
}

.content-article,
.content-sidebar,
.content-card,
.empty-state {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 46px rgba(55, 39, 45, .07);
}

.content-article {
  padding: clamp(28px, 5vw, 62px);
  border-color: rgba(116, 25, 43, .32);
  border-top: 4px solid var(--wine);
  border-radius: 4px;
}

.content-kicker,
.content-meta {
  color: var(--wine);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.content-title {
  margin: 10px 0 24px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.content-featured-image {
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 3px 46px 3px 3px;
}

.content-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.entry-content {
  color: #393437;
  font-size: 17px;
  line-height: 1.75;
}

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin: 1.7em 0 .65em; font-size: 34px; line-height: 1.15; }
.entry-content h3 { margin: 1.5em 0 .55em; font-size: 26px; line-height: 1.2; }
.entry-content a { color: var(--wine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content img { height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 11px 13px; border: 1px solid var(--line); }
.entry-content th { background: var(--wine-soft); }

/* Contacts: editorial information and a square, interactive Yandex map. */
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.contacts-details {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--wine);
  background: rgba(255, 255, 255, .76);
}

.contacts-details .entry-content {
  font-size: clamp(17px, 1.35vw, 20px);
}

.contacts-details .entry-content p + p {
  margin-top: 1.45em;
}

.contacts-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(116, 25, 43, .3);
  border-radius: 4px 44px 4px 4px;
  background: #e9e5e6;
  box-shadow: 0 18px 42px rgba(55, 39, 45, .12);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-map-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 3px;
  color: #fff;
  background: rgba(87, 13, 30, .94);
  box-shadow: 0 8px 22px rgba(34, 17, 22, .22);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.contacts-map-link:hover,
.contacts-map-link:focus-visible {
  color: #fff;
  background: var(--wine);
  transform: translateY(-1px);
}

.alignwide { width: min(1100px, calc(100vw - 64px)); max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }

.content-sidebar {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.content-sidebar h2 {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.content-sidebar ul { margin: 0; padding: 0; list-style: none; }
.content-sidebar li + li { border-top: 1px solid var(--line); }
.content-sidebar a { display: block; padding: 11px 0; font-size: 14px; line-height: 1.35; }

.listing-header {
  margin-bottom: 30px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(116, 25, 43, .32);
  border-top: 4px solid var(--wine);
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 46px rgba(55, 39, 45, .07);
}

.listing-header h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -.05em;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  min-width: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(55, 39, 45, .12);
}

.content-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cloud-deep);
}

.content-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .news-image-default img,
.content-card-image-default img {
  object-position: center !important;
}

.news-card.news-default-cover .news-image,
.content-card-default-cover .content-card-image {
  background: #f3e9de;
}

.content-card-body {
  padding: 24px;
}

.content-card-no-image {
  min-height: 250px;
}

.content-card-no-image > a,
.content-card-no-image .content-card-body {
  height: 100%;
}

.content-card-no-image > a {
  display: block;
}

.content-card-no-image .content-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.content-card h2 {
  margin: 10px 0 12px;
  font-size: 23px;
  line-height: 1.2;
}

.content-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* About and activity directories. */
.directory-page-hero {
  max-width: 930px;
  margin-bottom: 38px;
}

.directory-page-hero .content-title {
  margin-bottom: 16px;
}

.directory-page-hero > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.about-directory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
  grid-template-rows: repeat(2, minmax(240px, auto));
  gap: 18px;
}

.about-directory-card {
  position: relative;
  min-width: 0;
  min-height: 240px;
  display: flex;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(48, 37, 41, .07);
  transition: transform .22s ease, box-shadow .22s ease;
}

.about-directory-card:hover,
.about-directory-card:focus-visible {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(48, 37, 41, .12);
}

.about-directory-history {
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: minmax(290px, 1fr) auto;
}

.about-directory-card figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--cloud-deep);
}

.about-directory-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .3s ease, transform .55s ease;
}

.about-directory-card:hover figure img,
.about-directory-card:focus-visible figure img {
  filter: grayscale(.25);
  transform: scale(1.025);
}

.about-directory-card-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 30px;
}

.about-directory-directions::before,
.about-directory-directorate::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  background: url("assets/virom-pattern.png") 20% center / 560px auto no-repeat;
  pointer-events: none;
}

.about-directory-index {
  margin-bottom: 24px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.about-directory-card h2 {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.12;
}

.about-directory-card p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.about-directory-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--wine);
  font-weight: 800;
}

.about-directory-action b {
  transition: transform .2s ease;
}

.about-directory-card:hover .about-directory-action b,
.about-directory-card:focus-visible .about-directory-action b {
  transform: translateX(4px);
}

.activity-directory-intro {
  margin-bottom: 30px;
}

.activity-directory-groups {
  display: grid;
  gap: 22px;
}

.activity-directory-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 15px 36px rgba(39, 32, 35, .06);
}

.activity-directory-group > header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
}

.activity-directory-group > header span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .15em;
}

.activity-directory-group > header h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.activity-directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-directory-list a {
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: color .2s ease, background .2s ease;
}

.activity-directory-list a:nth-child(2n) {
  border-right: 0;
}

.activity-directory-list a:hover,
.activity-directory-list a:focus-visible {
  color: var(--wine);
  background: var(--wine-soft);
}

.activity-directory-number {
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
}

.activity-directory-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.activity-directory-copy strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.34;
}

.activity-directory-copy small {
  color: var(--ink-soft);
  font-size: 12px;
}

.activity-directory-list b {
  color: var(--wine);
  font-size: 18px;
  transition: transform .2s ease;
}

.activity-directory-list a:hover b,
.activity-directory-list a:focus-visible b {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .about-directory-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .about-directory-history {
    grid-row: auto;
  }

  .activity-directory-list {
    grid-template-columns: 1fr;
  }

  .activity-directory-list a {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .directory-page-hero > p:last-child {
    font-size: 16px;
  }

  .about-directory-card-copy {
    padding: 23px 21px;
  }

  .about-directory-history {
    grid-template-rows: 220px auto;
  }

  .activity-directory-group > header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .activity-directory-list a {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    padding: 16px 17px;
  }
}

.calendar-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.calendar-list-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 34px;
  align-items: stretch;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.calendar-list-card:hover,
.calendar-list-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(46,31,37,.09);
}

.calendar-list-card time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--wine);
}

.calendar-list-card time b {
  font-size: 38px;
  line-height: 1;
}

.calendar-list-card time span,
.calendar-list-card time small {
  margin-top: 6px;
  font-size: 11px;
}

.calendar-list-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.calendar-list-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.16;
}

.calendar-list-card p {
  margin: 0;
  color: var(--ink-soft);
}

.calendar-list-arrow {
  display: grid;
  place-items: center;
  color: var(--wine);
  font-size: 24px;
}

.content-article > .calendar-empty {
  margin-top: 32px;
  padding: 32px;
  background: var(--wine-soft);
}

.event-details,
.event-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--wine);
  background: var(--wine-soft);
}

.structure-introduction {
  margin-bottom: 34px;
}

.org-section {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 15px 36px rgba(39, 32, 35, .06);
}

.org-section-heading {
  display: block;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
}

.org-section-heading p {
  margin: 0;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.org-section-heading h2 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.13;
  text-align: left;
}

.org-section-heading h2 a {
  color: inherit;
}

.org-section-heading h2 a:hover,
.org-section-heading h2 a:focus-visible {
  color: var(--wine);
}

.org-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.org-quick-card {
  position: relative;
  min-width: 0;
  min-height: 130px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 54px 24px 24px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  background: #fff;
}

.org-quick-card:last-child {
  border-right: 0;
}

.org-quick-card small,
.org-parent small {
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.org-quick-card strong {
  font-size: 18px;
  line-height: 1.28;
}

.org-quick-card > span,
.org-parent > span {
  position: absolute;
  right: 22px;
  top: 50%;
  color: var(--wine);
  font-size: 20px;
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.org-quick-card:hover,
.org-quick-card:focus-visible,
.org-parent:hover,
.org-parent:focus-visible,
.org-children a:hover,
.org-children a:focus-visible {
  color: var(--wine);
  background: var(--wine-soft);
}

.org-quick-card:hover > span,
.org-quick-card:focus-visible > span,
.org-parent:hover > span,
.org-parent:focus-visible > span {
  transform: translate(4px, -50%);
}

.org-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.org-branch {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.org-branch:nth-child(2n) {
  border-right: 0;
}

.org-parent {
  position: relative;
  min-height: 130px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 58px 24px 26px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: #f8f7f7;
}

.org-parent strong {
  font-size: 19px;
  line-height: 1.3;
}

.org-children {
  display: grid;
}

.org-children a {
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 22px 15px 26px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.org-children a:last-child {
  border-bottom: 0;
}

.org-children span {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.42;
}

.org-children span small {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-weight: 500;
}

.org-children b {
  color: var(--wine);
  font-size: 17px;
}

.org-quick-card,
.org-parent,
.org-children a {
  overflow-wrap: anywhere;
}

.unit-disclosure {
  padding: 0;
  overflow: hidden;
  background: rgba(78, 71, 75, .18);
}

.unit-disclosure summary {
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}

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

.unit-disclosure summary > strong {
  font-size: 24px;
  line-height: 1.2;
}

.unit-disclosure summary:hover,
.unit-disclosure summary:focus-visible,
.unit-disclosure[open] summary {
  background: rgba(255, 255, 255, .08);
}

.unit-disclosure-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid #b6aeb2;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}

.unit-disclosure-toggle::before,
.unit-disclosure-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  background: #f1bdc9;
  transform: translate(-50%, -50%);
  transition: transform .22s ease, opacity .22s ease;
}

.unit-disclosure-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.unit-disclosure[open] .unit-disclosure-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg);
}

.unit-disclosure-body {
  padding: 0 20px 20px;
  border-top: 1px solid #948b90;
}

.unit-directory-link {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 -20px 18px;
  padding: 12px 20px;
  color: #f1bdc9;
  border-bottom: 1px solid #948b90;
  font-size: 13px;
  font-weight: 750;
}

.unit-directory-link:hover,
.unit-directory-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.unit-disclosure .unit-branches {
  gap: 10px;
}

.documents-introduction {
  margin-bottom: 32px;
}

.document-catalog {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
}

.document-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
}

.document-catalog-heading > div > p {
  margin: 0 0 6px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.document-catalog-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
}

.document-result-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.document-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  background: #f6f4f4;
}

.document-filters label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.document-filters label > span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.document-filters select {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 38px 0 13px;
  color: var(--ink);
  border: 1px solid #cfc7ca;
  border-radius: 3px;
  background: #fff;
}

.document-filters button {
  min-height: 46px;
  align-self: end;
  padding: 0 18px;
  color: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 3px;
  background: transparent;
  font-weight: 750;
}

.document-filters button:hover,
.document-filters button:focus-visible {
  color: #fff;
  background: var(--wine);
}

.document-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.document-result {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.document-result:nth-child(2n) {
  border-right: 0;
}

.document-result[hidden] {
  display: none !important;
}

.document-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.document-result-meta span + span::before,
.document-result-meta time::before {
  content: "·";
  margin-right: 12px;
  color: #b9afb3;
}

.document-result h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.28;
}

.document-result h3 a {
  color: var(--ink);
}

.document-result h3 a:hover,
.document-result h3 a:focus-visible {
  color: var(--wine);
}

.document-result > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.document-open {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--wine);
  font-size: 13px;
  font-weight: 800;
}

.document-filter-empty {
  margin: 0;
  padding: 34px 26px;
  color: var(--ink-soft);
  text-align: center;
}

.pagination {
  margin-top: 32px;
}

.pagination .nav-links,
.pagination > ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination > ul.page-numbers > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination .nav-links > .page-numbers,
.pagination > ul.page-numbers > li > .page-numbers {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.pagination .nav-links > .current,
.pagination > ul.page-numbers > li > .current {
  color: #fff;
  border-color: var(--wine);
  background: var(--wine);
}

.post-navigation {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.post-navigation a { color: var(--wine); font-weight: 700; }
.nav-next { text-align: right; }

.empty-state {
  padding: 48px;
  text-align: center;
}

.footer-list.menu {
  display: grid;
}

.footer-widget {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #554b4f;
}

/* Thematic institutional hubs. */
.hub-article {
  padding: 0;
  overflow: hidden;
}

.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  padding: clamp(34px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(116, 25, 43, .055), transparent 58%),
    rgba(255, 255, 255, .78);
}

.hub-hero .content-title {
  max-width: 880px;
  margin-bottom: 0;
}

.hub-intro {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--wine);
  color: #51484c;
  font-size: 17px;
  line-height: 1.65;
}

.hub-parent-content {
  padding: clamp(28px, 4vw, 48px) clamp(34px, 5vw, 68px) 0;
}

.hub-jump-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 28px;
  align-items: start;
  margin: clamp(28px, 4vw, 48px) clamp(34px, 5vw, 68px) 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hub-jump-label {
  padding-top: 8px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hub-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 7px 12px;
  border: 1px solid rgba(116, 25, 43, .18);
  border-radius: 999px;
  background: #fff;
  color: #332d30;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.hub-jump-links a:hover,
.hub-jump-links a:focus-visible {
  border-color: var(--wine);
  color: var(--wine);
}

.hub-sections {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 48px) clamp(34px, 5vw, 68px) clamp(38px, 5vw, 68px);
}

.hub-layout-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-layout-catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-layout-sections {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.hub-section {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 260px;
  padding: clamp(23px, 3vw, 34px);
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, .88);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hub-layout-sections .hub-section {
  min-height: 0;
  padding: clamp(26px, 4vw, 42px);
}

.hub-section:hover {
  border-color: rgba(116, 25, 43, .38);
  box-shadow: 0 14px 34px rgba(55, 39, 45, .07);
  transform: translateY(-2px);
}

.hub-section-labels {
  display: flex;
  min-height: 22px;
  margin-bottom: 18px;
  gap: 10px;
  align-items: center;
}

.hub-section-index,
.hub-section-meta {
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hub-section-meta {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--wine-soft);
  letter-spacing: .025em;
  text-transform: none;
}

.hub-section h2 {
  margin: 0;
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.hub-section-header > p {
  max-width: 760px;
  margin: 13px 0 0;
  color: #5e5559;
  font-size: 14px;
  line-height: 1.6;
}

.hub-content-preview {
  margin: 18px 0 0;
  color: #463f42;
  font-size: 14px;
  line-height: 1.65;
}

.hub-editor-content {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.hub-section-action {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  justify-content: space-between;
  gap: 18px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 800;
}

.hub-section-action b {
  font-size: 18px;
  transition: transform .2s ease;
}

.hub-section-action:hover b,
.hub-section-action:focus-visible b {
  transform: translateX(4px);
}

.hub-file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.hub-file-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.hub-file-card > span {
  color: var(--wine);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hub-file-card > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-file-card > b {
  color: var(--wine);
}

.hub-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hub-news-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 18px;
  min-width: 0;
  padding: 20px 52px 20px 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.hub-news-card time {
  grid-column: 1 / -1;
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
}

.hub-news-card strong {
  grid-column: 1 / -1;
  font-size: 17px;
  line-height: 1.3;
}

.hub-news-card span {
  grid-column: 1 / -1;
  color: #655c60;
  font-size: 13px;
  line-height: 1.55;
}

.hub-news-card b {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--wine);
  font-size: 18px;
}

.hub-empty {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 20px;
  border: 1px dashed rgba(116, 25, 43, .28);
  background: rgba(116, 25, 43, .025);
}

.hub-empty strong {
  font-size: 14px;
}

.hub-empty span {
  color: #6b6266;
  font-size: 13px;
}

.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--ink-soft); font-size: 13px; }
.gallery-caption { color: var(--ink-soft); }
.bypostauthor { outline: 0; }
.sticky { border-top: 4px solid var(--wine); }

.virom-accessibility .hero-copy {
  transform: none !important;
}

.virom-accessibility a:focus,
.virom-accessibility button:focus,
.virom-accessibility input:focus,
.virom-accessibility textarea:focus,
.virom-accessibility select:focus,
.virom-accessibility summary:focus {
  outline: 4px solid #ffbf00 !important;
  outline-offset: 3px;
}

.virom-accessibility .header-inner,
.virom-accessibility .header-tools,
.virom-accessibility .main-nav-list {
  flex-wrap: wrap;
}

.virom-accessibility .hero-inner,
.virom-accessibility .about-grid,
.virom-accessibility .units-grid,
.virom-accessibility .calendar-grid,
.virom-accessibility .footer-top {
  grid-template-columns: minmax(0, 1fr) !important;
}

.virom-accessibility .content-grid,
.virom-accessibility .careers-grid,
.virom-accessibility .quick-grid,
.virom-accessibility .useful-grid,
.virom-accessibility .org-quick-links,
.virom-accessibility .org-branches,
.virom-accessibility .governance,
.virom-accessibility .activity-links {
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)) !important;
}

.virom-accessibility .hub-layout-cards,
.virom-accessibility .hub-layout-catalog,
.virom-accessibility .hub-news-list,
.virom-accessibility .hub-file-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)) !important;
}

.virom-accessibility .calendar-card,
.virom-accessibility .calendar-list-card {
  grid-template-columns: minmax(0, 1fr) !important;
}

.virom-accessibility .governance > *,
.virom-accessibility .activity-links > * {
  grid-column: auto !important;
}

.virom-accessibility .main-nav-list {
  justify-content: flex-start;
}

.virom-accessibility .header-calendar {
  width: 100%;
}

.virom-accessibility img,
.virom-accessibility video,
.virom-accessibility iframe,
.virom-accessibility table,
.virom-accessibility pre {
  max-width: 100% !important;
}

.virom-accessibility pre,
.virom-accessibility td,
.virom-accessibility th,
.virom-accessibility a,
.virom-accessibility p,
.virom-accessibility h1,
.virom-accessibility h2,
.virom-accessibility h3,
.virom-accessibility li,
.virom-accessibility span,
.virom-accessibility strong,
.virom-accessibility small,
.virom-accessibility time,
.virom-accessibility button,
.virom-accessibility label,
.virom-accessibility summary {
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 1080px) {
  .main-nav-list { gap: 11px; font-size: 11px; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-shell { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .accessibility-link { display: inline-flex; }
  .org-quick-links,
  .org-branches { grid-template-columns: minmax(0, 1fr); }
  .org-quick-card,
  .org-branch { border-right: 0; border-bottom: 1px solid var(--line); }
  .org-quick-card:last-child,
  .org-branch:last-child { border-bottom: 0; }
  .document-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-filters button { justify-self: start; }
  .hub-layout-cards,
  .hub-layout-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-hero { grid-template-columns: minmax(0, 1fr); }
  .hub-intro { max-width: 760px; }
  .contacts-layout { grid-template-columns: minmax(0, 1fr); }
  .contacts-map { width: min(100%, 680px); }
}

@media (max-width: 640px) {
  .menu-toggle { display: inline-flex; margin: 9px 0; }
  .site-nav { display: block; min-height: 0; padding: 0; }
  .nav-inner { display: block; }
  .main-nav { display: none; padding: 4px 0 16px; }
  .site-nav.is-open .main-nav { display: block; }
  .main-nav-list { display: grid; gap: 0; }
  .main-nav-list a { display: block; padding: 12px 0; white-space: normal; border-bottom: 1px solid var(--line); }
  .main-nav-list .sub-menu { position: static; display: grid; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; }
  .header-tools { display: flex; }
  .header-tools { flex-wrap: wrap; }
  .accessibility-link span:last-child { display: none; }
  .site-header .search-button { padding-inline: 13px; }
  .content-main { padding: 44px 0 58px; background-attachment: scroll; }
  .content-main > .container { width: min(100% - 28px, 560px); }
  .content-article { padding: 26px 20px; }
  .content-title { font-size: 38px; }
  .entry-content { font-size: 16px; }
  .contacts-details { padding: 22px 18px; }
  .contacts-map { border-radius: 3px 30px 3px 3px; }
  .contacts-map-link { right: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .content-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow-x: visible; }
  .news-card { width: 100%; }
  .calendar-list-card { grid-template-columns: 82px minmax(0, 1fr); }
  .calendar-list-card > div { padding: 20px 18px; }
  .calendar-list-arrow { display: none; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .nav-next { text-align: left; }
  .virom-search-form { grid-template-columns: 1fr; }
  .virom-search-form button { min-height: 44px; }
  .breadcrumbs ol { display: grid; gap: 7px; }
  .breadcrumbs li + li::before { margin-right: 8px; }
  .org-section { margin-top: 24px; }
  .org-section-heading { display: grid; gap: 8px; padding: 20px 18px 17px; }
  .org-section-heading h2 { text-align: left; }
  .org-quick-card,
  .org-parent { min-height: 0; padding: 20px 48px 20px 18px; }
  .org-children a { min-height: 0; padding: 15px 18px; }
  .unit-disclosure summary { min-height: 76px; padding: 18px; }
  .unit-disclosure summary > strong { font-size: 20px; }
  .unit-disclosure-toggle { width: 38px; height: 38px; }
  .unit-disclosure-body { padding: 0 14px 14px; }
  .unit-directory-link { margin: 0 -14px 14px; padding: 12px 14px; }
  .document-catalog-heading { display: grid; align-items: start; gap: 8px; padding-inline: 18px; }
  .document-filters,
  .document-results { grid-template-columns: 1fr; }
  .document-filters { padding-inline: 18px; }
  .document-filters button { width: 100%; justify-content: center; }
  .document-result { padding: 21px 18px; border-right: 0; }
  .hub-hero,
  .hub-sections { padding: 26px 20px; }
  .hub-parent-content { padding: 26px 20px 0; }
  .hub-jump-nav { grid-template-columns: 1fr; margin: 24px 20px 0; }
  .hub-jump-label { padding-top: 0; }
  .hub-layout-cards,
  .hub-layout-catalog,
  .hub-news-list,
  .hub-file-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-section,
  .hub-layout-sections .hub-section { min-height: 0; padding: 23px 19px; }
  .hub-section h2 { font-size: 24px; }
  .hub-news-card { padding: 18px 48px 18px 17px; }
}

/* Version 0.11: compact institutional directories and profile layouts. */
.section-title-link { color: inherit; }
.section-title-link:hover,
.section-title-link:focus-visible { color: var(--wine); }

.career-card-static { cursor: default; }
.career-card-static:hover,
.career-card-static:focus-visible {
  color: var(--ink);
  background: rgba(248,248,247,.8);
  transform: none;
  box-shadow: none;
}
.career-card-static:hover > span,
.career-card-static:hover p { color: inherit; }

.unit-parent-static,
.org-parent-static { cursor: default; }
.org-parent-static:hover { color: var(--ink); background: #f8f7f7; }

.structure-directory .content-title { margin-bottom: 20px; font-size: clamp(38px, 5vw, 60px); }
.structure-directory .structure-introduction { margin-bottom: 22px; }
.structure-directory .org-section { margin-top: 22px; }
.structure-directory .org-section-heading { padding: 18px 22px 15px; }
.structure-directory .org-section-heading h2 { font-size: clamp(23px, 2.5vw, 31px); }
.structure-directory .org-quick-card { min-height: 100px; padding-block: 18px; }
.structure-directory .org-parent { min-height: 96px; padding-block: 18px; }
.structure-directory .org-parent strong { font-size: 17px; }
.structure-directory .org-children a { min-height: 56px; padding-block: 11px; }
.structure-directory .org-children span { font-size: 14px; line-height: 1.35; }

.about-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(300px, auto);
}
.about-directory-history {
  grid-row: auto;
  grid-template-rows: 154px auto;
}
.about-directory-card { min-height: 300px; }
.about-directory-card-copy { padding: 24px; }
.about-directory-index { margin-bottom: 17px; }
.about-directory-card h2 { font-size: clamp(22px, 2vw, 29px); }
.about-directory-card p { margin-bottom: 20px; }

.activity-directory-groups { gap: 15px; }
.activity-directory-group > header {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 20px;
}
.activity-directory-group > header h2 { font-size: clamp(21px, 2.2vw, 27px); }
.activity-directory-list { grid-template-columns: minmax(0, 1fr); }
.activity-directory-list a {
  min-height: 62px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 11px 18px;
  border-right: 0;
}
.activity-directory-copy strong { font-size: 15px; }
.activity-directory-copy small { margin-top: 2px; font-size: 12px; }

.hub-page-union .hub-hero { padding-bottom: 24px; }
.hub-page-union .hub-jump-nav { margin-top: 18px; }
.hub-page-union .hub-sections { gap: 13px; }
.hub-page-union .hub-layout-sections .hub-section { padding: 20px 22px; }
.hub-page-union .hub-section-labels { margin-bottom: 10px; }
.hub-page-union .hub-section h2 { font-size: clamp(21px, 2vw, 27px); }
.hub-page-union .hub-section-header > p { margin-top: 8px; line-height: 1.45; }
.hub-page-union .hub-section-action { padding-top: 15px; }
.hub-page-union .hub-news-list,
.hub-page-union .hub-file-grid { margin-top: 15px; }

.leadership-dossier-header { margin-bottom: 28px; }
.leadership-dossier-grid {
  display: flow-root;
}
.leadership-dossier-no-photo { display: block; }
.leadership-portrait {
  width: min(34%, 340px);
  float: left;
  margin: 0 clamp(28px, 5vw, 64px) 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--wine);
  border-radius: 3px 42px 3px 3px;
  background: var(--cloud-deep);
  box-shadow: 0 20px 46px rgba(44,34,38,.13);
}
.leadership-portrait img { display: block; width: 100%; height: auto; }
.leadership-profile-content { min-width: 0; padding: 0; }
.leadership-profile-content > :first-child { margin-top: 0; }

.administration-grid { display: grid; gap: 14px; }
.administration-card {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.5fr);
  border: 1px solid var(--line);
  border-left: 5px solid var(--wine);
  background: rgba(255,255,255,.94);
}
.administration-card > header { display: grid; align-content: start; gap: 16px; padding: 22px 24px; background: #f4f2f2; }
.administration-card > header span { color: var(--wine); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.administration-card > header h2 { margin: 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.18; }
.administration-people { display: grid; }
.administration-person { display: grid; gap: 7px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.administration-person:last-child { border-bottom: 0; }
.administration-person small { color: var(--wine); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.administration-person strong { font-size: 18px; line-height: 1.3; }
.administration-person > div { display: flex; flex-wrap: wrap; gap: 7px 22px; }
.administration-person a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: rgba(116,25,43,.3); text-underline-offset: 3px; }
.administration-person a:hover { color: var(--wine); }
.administration-person a span { white-space: nowrap; }

.careers-directory-list { display: grid; gap: 10px; }
.careers-directory-list > a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--wine);
  background: #fff;
  transition: background .2s ease, transform .2s ease;
}
.careers-directory-list > a:hover,
.careers-directory-list > a:focus-visible { color: var(--ink); background: var(--wine-soft); transform: translateX(3px); }
.careers-directory-list > a > span { color: var(--wine); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.careers-directory-list h2 { margin: 0 0 5px; font-size: clamp(20px, 2.3vw, 29px); line-height: 1.2; }
.careers-directory-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.careers-directory-list b { color: var(--wine); font-size: 20px; }

@media (max-width: 900px) {
  .about-directory-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .about-directory-history { grid-template-rows: 190px auto; }
  .leadership-portrait { width: min(38%, 280px); margin-right: 28px; }
  .administration-card { grid-template-columns: minmax(0, 1fr); }
  .administration-card > header { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .leadership-portrait { width: min(100%, 300px); float: none; margin: 0 0 22px; }
  .leadership-profile-content { padding: 0; }
  .administration-card > header,
  .administration-person { padding: 18px; }
  .careers-directory-list > a { grid-template-columns: 32px minmax(0, 1fr); padding: 18px; }
  .careers-directory-list b { display: none; }
}

/* Keep the historical preview deliberately compact so archival images are not over-enlarged. */
.about-directory-page .about-directory-grid .about-directory-history {
  min-height: 250px;
  grid-template-rows: 154px auto;
}

.about-directory-page .about-directory-grid .about-directory-history figure img,
.about-section .history-slide img {
  object-fit: contain;
  background: #efeeec;
}

/* Schema 10: left-aligned councils, numbered scientific catalogue and feedback form. */
.single-hub-page-streamlined .single-hub-hero {
  display: block;
  padding: clamp(34px, 5vw, 62px) clamp(34px, 5vw, 68px) 28px;
}

.single-hub-page-streamlined .single-hub-hero .content-title {
  max-width: 1050px;
  margin: 0;
  text-align: left;
}

.single-hub-page-streamlined .single-hub-editor {
  padding-top: 24px;
}

.science-products-article {
  padding: 0;
  overflow: hidden;
}

.science-products-hero {
  padding: clamp(38px, 5vw, 66px) clamp(32px, 5vw, 68px) 26px;
}

.science-products-hero .content-title {
  max-width: 1100px;
  margin-bottom: 0;
}

.science-products-intro {
  margin: 0 clamp(32px, 5vw, 68px) 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--wine);
  background: var(--wine-soft);
}

.science-products-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px clamp(32px, 5vw, 68px) clamp(42px, 6vw, 76px);
  list-style: none;
  counter-reset: none;
}

.science-products-list li {
  margin: 0;
}

.science-products-list a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 10px 20px 10px 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 38px 4px 4px 38px;
  background: linear-gradient(90deg, rgba(116, 25, 43, .075), rgba(255,255,255,.97) 38%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.science-products-list a:hover,
.science-products-list a:focus-visible {
  color: var(--ink);
  border-color: rgba(116, 25, 43, .45);
  box-shadow: 0 12px 30px rgba(60, 37, 44, .08);
  transform: translateX(4px);
}

.science-products-number {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 54px;
  margin: -1px 0 -1px -1px;
  color: #fff;
  border-radius: 50%;
  background: var(--wine);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .06em;
}

.science-products-copy {
  display: grid;
  gap: 4px;
}

.science-products-copy strong {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.22;
}

.science-products-copy small {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.science-products-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.anti-corruption-article {
  padding: 0;
  overflow: hidden;
}

.anti-corruption-hero {
  padding: clamp(40px, 6vw, 76px) clamp(34px, 5vw, 68px) 30px;
}

.anti-corruption-actions {
  display: grid;
  gap: 12px;
  padding: 0 clamp(34px, 5vw, 68px) clamp(48px, 7vw, 84px);
}

.anti-corruption-action {
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 16px 20px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--wine);
  border-radius: 3px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.anti-corruption-action:hover,
.anti-corruption-action:focus-visible {
  color: var(--ink);
  border-color: rgba(116, 25, 43, .42);
  background: var(--wine-soft);
  transform: translateX(4px);
}

.anti-corruption-action > span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.anti-corruption-action strong {
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.25;
}

.anti-corruption-action b {
  color: var(--wine);
  font-size: 22px;
}

.form-notice {
  margin: 0 clamp(34px, 5vw, 68px) 22px;
  padding: 15px 18px;
  border-left: 4px solid var(--wine);
  background: var(--wine-soft);
}

.form-notice-error {
  border-left-color: #9b351f;
  background: #fff0ec;
}

.corruption-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  color: var(--ink);
  border: 0;
  border-top: 6px solid var(--wine);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(28, 20, 23, .34);
}

.corruption-dialog::backdrop {
  background: rgba(30, 25, 27, .66);
  backdrop-filter: blur(3px);
}

.corruption-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.corruption-dialog-header span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.corruption-dialog-header h2 {
  margin: 5px 0 0;
  font-size: clamp(29px, 5vw, 42px);
}

.corruption-dialog-header button {
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.corruption-form {
  display: grid;
  gap: 17px;
  padding: 24px 28px 30px;
}

.corruption-form label {
  display: grid;
  gap: 7px;
}

.corruption-form label > span {
  font-size: 13px;
  font-weight: 750;
}

.corruption-form em {
  color: var(--wine);
  font-style: normal;
}

.corruption-form input,
.corruption-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #cfcaca;
  border-radius: 3px;
  background: #fff;
  font: inherit;
}

.corruption-form input:focus,
.corruption-form textarea:focus {
  border-color: var(--wine);
  outline: 3px solid rgba(116, 25, 43, .12);
}

.corruption-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.corruption-submit {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding: 11px 19px;
  color: #fff;
  border: 1px solid var(--wine);
  border-radius: 3px;
  background: var(--wine);
  font-weight: 800;
  cursor: pointer;
}

.corruption-submit:hover,
.corruption-submit:focus-visible {
  color: var(--wine);
  background: #fff;
}

@media (max-width: 680px) {
  .science-products-list,
  .science-products-hero,
  .anti-corruption-hero,
  .anti-corruption-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .science-products-intro,
  .form-notice {
    margin-left: 18px;
    margin-right: 18px;
  }

  .science-products-list a {
    grid-template-columns: 46px minmax(0, 1fr);
    padding-right: 14px;
  }

  .science-products-action {
    grid-column: 2;
    white-space: normal;
  }

  .anti-corruption-action {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    gap: 11px;
    min-height: 76px;
    padding: 14px;
  }

  .corruption-dialog-header,
  .corruption-form {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Version 0.14: career documents, larger navigation and phone-safe layouts. */
.main-nav {
  font-size: clamp(14px, .86vw, 16px);
}

.main-nav-list {
  gap: clamp(8px, .9vw, 17px);
}

.main-nav-list > li > a {
  display: block;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

.main-nav-list > li > a:hover,
.main-nav-list > li > a:focus-visible {
  color: var(--wine);
  transform: translateY(-2px);
}

.activity-directory-group > summary {
  grid-template-columns: minmax(0, 1fr) 38px;
}

.single-hub-page-careers .single-hub-hero,
.single-hub-page-union .single-hub-hero {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.single-hub-page-careers .single-hub-hero .content-title,
.single-hub-page-union .single-hub-hero .content-title {
  margin: 0;
  text-align: left;
}

.single-hub-page-careers .single-hub-hero > p:last-child,
.single-hub-page-union .single-hub-hero > p:last-child {
  max-width: 780px;
  margin-top: 4px;
}

.careers-documents {
  padding: 0 clamp(34px, 5vw, 68px) clamp(38px, 5vw, 62px);
}

.careers-documents-heading {
  margin-bottom: 18px;
}

.careers-documents-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(27px, 3vw, 38px);
}

.careers-documents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.careers-document-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-content: start;
  gap: 9px 18px;
  min-height: 142px;
  padding: 21px 22px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--wine);
  border-radius: 3px;
  background: rgba(255, 255, 255, .96);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.careers-document-card:hover,
.careers-document-card:focus-visible {
  color: var(--ink);
  border-color: rgba(116, 25, 43, .48);
  box-shadow: 0 14px 32px rgba(55, 39, 45, .08);
  transform: translateY(-3px);
}

.careers-document-card > span {
  grid-column: 1;
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
}

.careers-document-card > strong {
  grid-column: 1;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
}

.careers-document-card > b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--wine);
  font-size: 23px;
}

html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.content-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.news-card h3,
.single-hub-news-card strong,
.activity-directory-copy strong {
  overflow-wrap: anywhere;
}

.entry-content iframe,
.entry-content video,
.entry-content table {
  max-width: 100%;
}

@media (max-width: 1320px) {
  .menu-toggle {
    display: inline-flex;
    margin: 9px 0;
  }

  .site-nav {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .nav-inner {
    display: block;
  }

  .main-nav {
    display: none;
    padding: 4px 0 16px;
    font-size: 15px;
  }

  .site-nav.is-open .main-nav {
    display: block;
  }

  .main-nav-list {
    display: grid;
    gap: 0;
  }

  .main-nav-list > li > a {
    padding: 13px 0;
    white-space: normal;
    border-bottom: 1px solid var(--line);
  }

  .main-nav-list > li > a:hover,
  .main-nav-list > li > a:focus-visible {
    transform: translateX(4px);
  }

  .main-nav-list .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 820px) {
  .careers-documents-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-hub-page-careers .single-hub-hero,
  .single-hub-page-union .single-hub-hero {
    gap: 8px;
  }

  .content-shell,
  .content-article,
  .single-hub-article,
  .activity-directory,
  .structure-directory {
    min-width: 0;
  }

  .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  .careers-documents {
    padding-right: 18px;
    padding-left: 18px;
  }

  .careers-document-card {
    min-height: 0;
    padding: 18px;
  }

  .activity-directory-group > summary {
    grid-template-columns: minmax(0, 1fr) 32px;
  }

  .activity-directory-group > summary h2 {
    font-size: clamp(19px, 7vw, 24px);
  }

  .header-inner,
  .header-calendar,
  .header-tools,
  .corporate-brand {
    min-width: 0;
    max-width: 100%;
  }

  .header-tools {
    gap: 7px;
  }

  .header-calendar-dates {
    min-width: 0;
  }

  .header-calendar-dates a {
    min-width: 0;
    padding-inline: 7px;
  }

  .content-title {
    font-size: clamp(32px, 11vw, 42px);
    line-height: 1.06;
  }

  .directory-page-hero,
  .single-hub-hero {
    overflow-wrap: anywhere;
  }

  .single-hub-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-hub-news-card span {
    overflow-wrap: anywhere;
  }

  .footer-top,
  .footer-bottom {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .container,
  .content-main > .container {
    width: min(100% - 20px, 400px);
  }

  .service-inner > span {
    font-size: 10px;
  }

  .corporate-brand {
    width: 100%;
  }

  .header-tools {
    justify-content: flex-start;
  }

  .rpn-brand {
    margin-left: auto;
  }

  .header-calendar {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .header-calendar-title {
    padding-inline: 7px;
  }

  .content-article {
    padding-right: 15px;
    padding-left: 15px;
  }

  .breadcrumbs-container {
    overflow: hidden;
  }

  .breadcrumbs ol {
    overflow-wrap: anywhere;
  }

  .single-hub-news-card figure {
    height: 150px;
  }

  .careers-document-card {
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 7px 10px;
    padding: 16px 14px;
  }
}

/* Version 0.14.1: news cards grow with long titles and keep actions visible. */
.news-grid {
  align-items: stretch;
}

.news-card {
  display: flex;
  height: auto;
  min-height: 430px;
  grid-template-rows: none;
}

.news-card-link {
  width: 100%;
  height: auto;
  min-height: 100%;
}

.news-card-link .news-content {
  min-height: 0;
}

.news-card.news-no-image .news-content {
  min-height: 430px;
}

@media (max-width: 640px) {
  .news-card,
  .news-card.news-no-image .news-content {
    min-height: 0;
  }
}

/* Version 0.15: compact, touch-friendly phone experience. Desktop styles stay unchanged. */
@media (max-width: 640px) {
  .container,
  .content-main > .container {
    width: min(100% - 24px, 560px);
  }

  .service-bar {
    display: none;
  }

  .site-header {
    min-height: 0;
  }

  .header-inner {
    grid-template-columns: minmax(132px, 1fr) auto;
    gap: 8px 10px;
    padding: 8px 0;
  }

  .corporate-brand {
    width: min(190px, 100%);
    grid-template-rows: 50px;
  }

  .corporate-brand img {
    width: 100%;
    height: 50px;
  }

  .brand-founded,
  .brand-supervisor,
  .rpn-brand {
    display: none;
  }

  .header-tools {
    width: auto;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
  }

  .language-switcher summary {
    min-width: 60px;
    height: 42px;
    padding-inline: 9px;
  }

  .accessibility-link {
    width: 42px;
    min-height: 42px;
    display: inline-flex;
    padding: 0;
  }

  .site-header .search-button {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .search-button-label {
    display: none;
  }

  .header-calendar {
    width: 100%;
    min-height: 48px;
    grid-column: 1 / -1;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .header-calendar-title {
    padding: 7px 9px;
  }

  .header-calendar-title span {
    font-size: 8px;
  }

  .header-calendar-title strong {
    font-size: 12px;
  }

  .header-calendar-dates a {
    min-height: 48px;
    padding-inline: 4px;
  }

  .header-calendar-dates b {
    font-size: 19px;
  }

  .header-calendar-dates span {
    font-size: 8px;
  }

  .site-nav {
    position: sticky;
    z-index: 80;
    top: 0;
    display: block;
    padding: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 7px 22px rgba(45, 32, 37, .08);
  }

  .nav-inner {
    display: block;
  }

  .menu-toggle {
    width: 100%;
    min-height: 52px;
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0 14px;
    color: var(--ink);
    border: 0;
    border-radius: 0;
    background: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .015em;
  }

  .menu-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
  }

  .site-nav.is-open .menu-toggle {
    color: #fff;
    background: var(--wine);
  }

  .site-nav.is-open .menu-toggle::after {
    transform: rotate(225deg) translate(-2px, -1px);
  }

  .site-nav.is-open .menu-toggle > span {
    background: transparent;
  }

  .site-nav.is-open .menu-toggle > span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-nav.is-open .menu-toggle > span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .main-nav {
    display: none;
    padding: 0;
    font-size: 16px;
  }

  .site-nav.is-open .main-nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    display: block;
    max-height: calc(100vh - 52px);
    max-height: calc(100dvh - 52px);
    overflow-y: auto;
    padding: 10px 12px 18px;
    border-top: 1px solid rgba(116, 25, 43, .12);
    background: #f4f2f2;
    box-shadow: 0 22px 38px rgba(41, 27, 32, .2);
    overscroll-behavior: contain;
    animation: virom-mobile-menu-in .2s ease both;
  }

  .main-nav-list {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 3px solid var(--wine);
    border-radius: 3px;
    background: #fff;
  }

  .main-nav-list > li > a {
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 12px 44px 12px 15px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    line-height: 1.3;
    white-space: normal;
  }

  .main-nav-list > li:last-child > a {
    border-bottom: 0;
  }

  .main-nav-list > li > a::after,
  .main-nav-list > li > a:first-child::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 15px;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    color: var(--wine);
    background: none;
    transform: translateY(-50%);
  }

  .main-nav-list > li > a:hover,
  .main-nav-list > li > a:focus-visible {
    color: var(--wine);
    background: var(--wine-soft);
    transform: none;
  }

  .main-nav-list .sub-menu {
    margin: 0;
    padding: 0 10px 8px 22px;
    background: #faf9f9;
  }

  .main-nav-list .sub-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 9px 11px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .header-search-panel {
    padding: 10px 0;
  }

  .virom-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .virom-search-form input {
    height: 46px;
  }

  .virom-search-form button {
    min-width: 88px;
    min-height: 46px;
    padding-inline: 13px;
  }

  .hero-inner {
    gap: 18px;
    padding: 0 0 30px;
  }

  .hero-copy {
    padding: 26px 0 0;
  }

  .hero .eyebrow {
    margin-bottom: 9px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.02;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.3;
  }

  .hero-lead {
    margin: 9px 0 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-visual {
    min-height: 248px;
  }

  .hero-image {
    border-radius: 3px 34px 3px 3px;
  }

  .hero-slide-status {
    left: 11px;
    bottom: 11px;
    min-width: 82px;
  }

  .hero-slide-controls {
    right: 11px;
    bottom: 11px;
  }

  .hero-slide-controls button {
    width: 36px;
    height: 36px;
  }

  .section {
    padding: 34px 0;
  }

  .section-tight {
    padding: 30px 0;
  }

  .section-head,
  .useful-head {
    display: grid;
    gap: 8px;
    align-items: start;
    margin-bottom: 18px;
  }

  .section-head p.eyebrow,
  .useful-head .eyebrow {
    margin: 0 0 7px;
  }

  .section-head h2,
  .about-copy h2,
  .useful-head h2 {
    font-size: clamp(28px, 8.4vw, 34px);
    line-height: 1.06;
  }

  .section-head .arrow-link {
    width: fit-content;
    min-height: 40px;
  }

  .careers-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .career-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 11px;
    align-items: start;
    padding: 15px 16px;
  }

  .career-card::after {
    right: -34px;
    bottom: -43px;
    width: 82px;
    height: 82px;
  }

  .career-card > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 3px;
  }

  .career-card h3 {
    grid-column: 2;
    margin: 0;
    font-size: 18px;
    line-height: 1.22;
  }

  .career-card p {
    grid-column: 2;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.38;
  }

  .news-grid,
  .calendar-grid,
  .governance {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--wine) rgba(116, 25, 43, .12);
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .news-grid {
    grid-auto-columns: minmax(270px, 84vw);
    align-items: stretch;
  }

  .news-card {
    width: auto;
    min-height: 382px;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .news-image {
    height: 128px;
  }

  .news-content {
    min-height: 250px;
    padding: 15px 16px 14px;
  }

  .news-content h3,
  .news-card.news-no-image .news-content h3 {
    margin: 10px 0 7px;
    font-size: 17px;
    line-height: 1.24;
  }

  .news-content p {
    font-size: 12px;
    line-height: 1.42;
  }

  .news-card.news-no-image .news-content {
    min-height: 382px;
    padding: 18px 17px 15px;
  }

  .news-footer {
    padding-top: 12px;
  }

  .news-card .news-more {
    min-height: 34px;
    padding-inline: 12px;
  }

  .about-grid {
    gap: 20px;
  }

  .history-photo {
    height: 194px;
  }

  .about-copy h2 {
    margin-bottom: 13px;
  }

  .about-copy p:not(.eyebrow) {
    margin-bottom: 17px;
    font-size: 14px;
    line-height: 1.5;
  }

  .about-more-button {
    min-height: 44px;
    padding-inline: 20px;
    font-size: 14px;
  }

  .governance {
    grid-auto-columns: minmax(230px, 78vw);
    margin-bottom: 8px;
  }

  .governance a {
    min-height: 118px;
    padding: 16px;
    scroll-snap-align: start;
  }

  .governance h3 {
    margin: 13px 0 5px;
    font-size: 18px;
  }

  .governance p {
    font-size: 12px;
  }

  .units-grid {
    gap: 8px;
  }

  .unit-disclosure summary {
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 12px;
    padding: 13px 15px;
  }

  .unit-disclosure summary > strong {
    font-size: 18px;
  }

  .unit-disclosure-toggle {
    width: 32px;
    height: 32px;
  }

  .unit-disclosure-body {
    padding: 0 10px 10px;
  }

  .unit-parent {
    padding: 10px 12px;
  }

  .unit-parent strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .unit-children {
    padding-inline: 10px;
  }

  .unit-children a {
    padding-block: 8px;
    font-size: 12px;
  }

  .activity-accordion {
    gap: 7px;
  }

  .activity-group summary {
    min-height: 60px;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 11px 14px;
  }

  .activity-group-index,
  .activity-group-title small {
    display: none;
  }

  .activity-group-title strong {
    font-size: 17px;
  }

  .activity-toggle {
    width: 30px;
    height: 30px;
  }

  .activity-links a,
  .activity-links a:nth-child(2n),
  .activity-links a:nth-child(3n),
  .activity-links a:last-child:nth-child(3n + 1) {
    min-height: 68px;
    padding: 11px 14px;
  }

  .activity-links strong {
    margin: 6px 0 4px;
    font-size: 15px;
  }

  .activity-links small {
    font-size: 11px;
  }

  .calendar-grid {
    grid-auto-columns: minmax(270px, 84vw);
  }

  .calendar-card,
  .calendar-card:last-child {
    width: auto;
    min-height: 154px;
    grid-column: auto;
    grid-template-columns: 72px minmax(0, 1fr);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .calendar-card time b {
    font-size: 29px;
  }

  .calendar-card time span {
    margin-top: 5px;
    font-size: 9px;
  }

  .calendar-card > div {
    padding: 14px;
  }

  .calendar-card h3 {
    margin: 7px 0 5px;
    font-size: 16px;
    line-height: 1.3;
  }

  .calendar-grid > .calendar-empty {
    width: min(84vw, 420px);
    grid-column: auto;
    padding: 22px 18px;
    scroll-snap-align: start;
  }

  .useful-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .useful-grid a {
    min-height: 92px;
    align-items: flex-start;
    padding: 13px;
  }

  .useful-grid strong {
    max-width: none;
    font-size: 13px;
    line-height: 1.32;
  }

  .useful-grid a > span {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .footer {
    padding: 32px 0 18px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding-bottom: 24px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-brand-block img {
    width: 230px;
    height: 60px;
  }

  .footer-brand-block p {
    font-size: 9.5px;
  }

  .footer-title {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .footer-list {
    gap: 8px;
    font-size: 12px;
  }

  .footer-bottom {
    gap: 7px;
    padding-top: 16px;
    font-size: 10px;
  }

  .content-main {
    padding: 30px 0 42px;
  }

  .content-article {
    padding: 21px 17px;
  }

  .content-title {
    font-size: clamp(30px, 9.4vw, 38px);
    line-height: 1.06;
  }

  .breadcrumbs-container {
    margin-bottom: 15px;
    overflow: visible;
  }

  .breadcrumbs ol {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px 9px;
    overflow-x: auto;
    padding-bottom: 5px;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  .breadcrumbs li {
    flex: 0 0 auto;
  }

  .hub-hero,
  .hub-sections,
  .single-hub-hero,
  .single-hub-sections {
    padding: 21px 17px;
  }

  .hub-jump-nav {
    margin: 18px 17px 0;
    padding-block: 13px;
  }

  .hub-section,
  .hub-layout-sections .hub-section {
    padding: 18px 16px;
  }

  .hub-section h2 {
    font-size: 22px;
  }

  @keyframes virom-mobile-menu-in {
    from {
      opacity: 0;
      transform: translateY(-7px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Final Schema 10 overrides intentionally follow all legacy responsive rules. */
.section-context,
.virom-toc,
.hub-jump-nav,
.single-hub-nav {
  display: none !important;
}

.document-result-meta span + span::before,
.document-result-meta time::before {
  content: none;
}

.document-result-meta > * + *::before {
  content: "·";
  margin-right: 12px;
  color: #b9afb3;
}

.virom-search-form {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 230px) auto;
}

.document-results {
  display: block;
}

.document-result,
.document-result:nth-child(2n) {
  min-height: 112px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.document-result:nth-child(2n) {
  background: #faf9f9;
}

.document-result h3 {
  margin: 8px 0 4px;
  font-size: 17px;
}

.document-open {
  margin-top: 0;
}

.hub-file-grid,
.careers-documents-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.careers-document-card {
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-content: center;
  padding: 14px 18px;
}

@media (max-width: 760px) {
  .virom-search-form,
  .header-search-panel .virom-search-form {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .virom-search-form select {
    height: 44px;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .document-result,
  .document-result:nth-child(2n) {
    min-height: 92px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 14px 12px;
  }

  .document-result h3 {
    font-size: 14px;
  }
}

/* Version 0.16.2: cleaner page flow and verified document actions. */
.child-page-index {
  display: none !important;
}

.content-main > .breadcrumbs-container {
  width: min(1240px, calc(100% - 64px));
}

.single-hub-page-careers .careers-documents {
  padding-bottom: 16px;
}

.single-hub-page-careers .single-hub-editor:empty {
  display: none;
}

.history-page-layout {
  display: flow-root;
}

.history-page-slider {
  float: left;
  width: min(42%, 440px);
  margin: 0 clamp(24px, 3vw, 46px) 24px 0;
}

.history-page-content {
  display: block;
}

.history-page-content > :first-child {
  margin-top: 0;
}

@media (max-width: 820px) {
  .history-page-slider {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
}

@media (max-width: 640px) {
  .content-main > .breadcrumbs-container {
    width: min(100% - 24px, 560px);
  }
}

@media (max-width: 420px) {
  .content-main > .breadcrumbs-container {
    width: min(100% - 20px, 400px);
  }
}

/* Version 0.16.4: existing personal-data policy document. */
.privacy-document-panel {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.privacy-document-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  margin-top: 12px;
  padding: 18px 22px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--wine);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.privacy-document-card:hover,
.privacy-document-card:focus-visible {
  color: var(--ink);
  border-color: rgba(116, 25, 43, .48);
  box-shadow: 0 14px 32px rgba(55, 39, 45, .08);
  transform: translateY(-2px);
}

.privacy-document-type {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  background: var(--wine);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
}

.privacy-document-type {
  align-content: center;
  gap: 4px;
}

.privacy-document-type .virom-icon {
  width: 24px;
  height: 24px;
}

.privacy-document-type b {
  font-size: 9px;
  line-height: 1;
}

.privacy-document-card strong {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.35;
}

.privacy-document-action {
  color: var(--wine);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.privacy-editor-content {
  margin-top: 28px;
}

.activity-directory-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid rgba(116, 25, 43, .24);
  border-radius: 50%;
  background: var(--wine-soft);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.activity-directory-icon .virom-icon {
  width: 19px;
  height: 19px;
}

.activity-directory-list a:hover .activity-directory-icon,
.activity-directory-list a:focus-visible .activity-directory-icon {
  color: #fff;
  border-color: var(--wine);
  background: var(--wine);
}

@media (max-width: 640px) {
  .privacy-document-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    min-height: 88px;
    padding: 14px;
  }

  .privacy-document-type {
    width: 48px;
    height: 48px;
    font-size: 11px;
  }

  .privacy-document-type .virom-icon {
    width: 19px;
    height: 19px;
  }

  .privacy-document-action {
    grid-column: 2;
    white-space: normal;
  }
}

/* Version 0.17.0: linked multilingual pages and a unified child-page hero. */
.page-visual-hero,
.single-hub-page .single-hub-hero,
.single-hub-page-streamlined .single-hub-hero,
.single-hub-page-careers .single-hub-hero,
.single-hub-page-union .single-hub-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 290px);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
}

.single-hub-page .single-hub-hero,
.single-hub-page-streamlined .single-hub-hero,
.single-hub-page-careers .single-hub-hero,
.single-hub-page-union .single-hub-hero {
  padding: clamp(36px, 5vw, 66px) clamp(34px, 5vw, 68px);
}

.standard-page-hero,
.leadership-dossier-header.page-visual-hero,
.anti-corruption-hero.page-visual-hero {
  margin-bottom: clamp(28px, 4vw, 42px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.science-products-hero.page-visual-hero {
  padding: clamp(36px, 5vw, 66px) clamp(34px, 5vw, 68px) clamp(28px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
}

.single-hub-hero-copy,
.page-visual-hero > div:first-child {
  min-width: 0;
}

.single-hub-hero-copy .content-kicker,
.page-visual-hero .content-kicker {
  margin-top: 0;
}

.virom-child-page .content-title,
.single-hub-page .content-title,
.science-products-page .content-title,
.privacy-page .content-title,
.leadership-page .content-title,
.anti-corruption-page .content-title {
  max-width: 980px;
  margin: 10px 0 0;
  font-size: clamp(40px, 4.45vw, 62px);
  line-height: 1.035;
  letter-spacing: -.045em;
}

.page-visual-hero .content-title,
.single-hub-hero-copy .content-title {
  position: relative;
}

.page-visual-hero .content-title::before,
.single-hub-hero-copy .content-title::before {
  content: "";
  position: absolute;
  top: .12em;
  bottom: .12em;
  left: -22px;
  width: 3px;
  border-radius: 3px;
  background: var(--section-accent, var(--wine));
}

.single-hub-intro {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.virom-child-page .entry-content {
  font-size: 17px;
  line-height: 1.72;
}

.virom-child-page .entry-content h2 {
  margin: 1.65em 0 .62em;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.16;
}

.virom-child-page .entry-content h3 {
  margin: 1.45em 0 .55em;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.2;
}

.page-vector-visual {
  position: relative;
  width: min(100%, 282px);
  aspect-ratio: 1.16;
  justify-self: end;
  color: var(--section-accent, var(--wine));
  isolation: isolate;
}

.page-vector-orbit {
  position: absolute;
  inset: 8% 7% 9% 10%;
  border: 1px solid rgba(116, 25, 43, .2);
  border-radius: 48% 52% 42% 58% / 55% 42% 58% 45%;
  transform: rotate(-8deg);
}

.page-vector-orbit::before,
.page-vector-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--section-accent, var(--wine));
}

.page-vector-orbit::before {
  width: 9px;
  height: 9px;
  top: 6%;
  right: 17%;
}

.page-vector-orbit::after {
  width: 6px;
  height: 6px;
  left: 5%;
  bottom: 19%;
  opacity: .6;
}

.page-vector-icon {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(116, 25, 43, .2);
  border-radius: 50%;
  background: rgba(250, 246, 247, .94);
  box-shadow: 0 14px 30px rgba(77, 48, 58, .07);
}

.page-vector-icon .virom-icon {
  width: 48%;
  height: 48%;
}

.page-vector-icon-main {
  width: 126px;
  height: 126px;
  top: 23%;
  left: 22%;
  color: #fff;
  border-color: var(--section-accent, var(--wine));
  background: var(--section-accent, var(--wine));
}

.page-vector-icon-secondary {
  width: 66px;
  height: 66px;
  top: 5%;
  right: 7%;
}

.page-vector-icon-tertiary {
  width: 54px;
  height: 54px;
  right: 12%;
  bottom: 5%;
  color: #9a5a69;
}

.news-empty-state {
  grid-column: 1 / -1;
  min-height: 150px;
  align-content: center;
}

@media (max-width: 900px) {
  .page-visual-hero,
  .single-hub-page .single-hub-hero,
  .single-hub-page-streamlined .single-hub-hero,
  .single-hub-page-careers .single-hub-hero,
  .single-hub-page-union .single-hub-hero {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 24px;
  }

  .page-vector-visual {
    width: 190px;
  }

  .page-vector-icon-main {
    width: 92px;
    height: 92px;
  }

  .page-vector-icon-secondary {
    width: 52px;
    height: 52px;
  }

  .page-vector-icon-tertiary {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 700px) {
  .page-visual-hero,
  .single-hub-page .single-hub-hero,
  .single-hub-page-streamlined .single-hub-hero,
  .single-hub-page-careers .single-hub-hero,
  .single-hub-page-union .single-hub-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 18px;
  }

  .standard-page-hero,
  .leadership-dossier-header.page-visual-hero,
  .anti-corruption-hero.page-visual-hero {
    padding: 0 0 22px;
  }

  .page-vector-visual {
    display: none;
  }

  .virom-child-page .content-title,
  .single-hub-page .content-title,
  .science-products-page .content-title,
  .privacy-page .content-title,
  .leadership-page .content-title,
  .anti-corruption-page .content-title {
    font-size: clamp(31px, 9.5vw, 42px);
    line-height: 1.06;
  }

  .page-visual-hero .content-title::before,
  .single-hub-hero-copy .content-title::before {
    left: -11px;
    width: 2px;
  }
}

/* Version 0.17.6: keep every language choice visible in the phone header. */
.mobile-language-links {
  display: none;
}

@media (max-width: 640px) {
  .header-tools {
    display: grid;
    grid-template-columns: repeat(2, 42px);
    align-items: center;
    justify-content: end;
    gap: 4px;
  }

  .header-tools > .language-switcher {
    display: none;
  }

  .mobile-language-links {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
  }

  .mobile-language-links a {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .54);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .03em;
  }

  .mobile-language-links a.is-current,
  .mobile-language-links a:hover,
  .mobile-language-links a:focus-visible {
    color: var(--wine);
    background: #fff;
  }
}

/* Version 0.17.5: visible maintenance notice and a full-width, bounded header search. */
.maintenance-notice {
  position: relative;
  z-index: 70;
  color: #7f1029;
  border-top: 1px solid rgba(143, 20, 48, .22);
  border-bottom: 1px solid rgba(143, 20, 48, .28);
  background: #fff2f4;
}

.maintenance-notice-inner {
  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 7px;
  padding-block: 10px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.maintenance-notice-inner strong {
  color: #a01334;
}

.maintenance-notice-inner a {
  color: #8f1430;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  flex-wrap: wrap;
}

.header-search-panel {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 0 0 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.header-search-panel .container,
.header-search-panel .virom-search-form {
  max-width: 100%;
  box-sizing: border-box;
}

.header-search-panel .virom-search-form > * {
  min-width: 0;
}

@media (max-width: 640px) {
  .maintenance-notice-inner {
    min-height: 0;
    padding-block: 9px;
    font-size: 12.5px;
  }
}

/* Version 0.17.2: denser inner pages without reducing text readability. */
.content-main {
  padding-block: 38px 56px;
}

.virom-child-page .content-main {
  padding-block: 30px 44px;
}

.content-main > .breadcrumbs-container {
  margin-bottom: 14px;
}

.content-article {
  padding: clamp(26px, 3.6vw, 46px);
}

.directory-page-hero {
  margin-bottom: 26px;
}

.standard-page-hero,
.leadership-dossier-header.page-visual-hero,
.anti-corruption-hero.page-visual-hero {
  margin-bottom: clamp(20px, 2.7vw, 30px);
  padding-bottom: clamp(18px, 2.3vw, 25px);
}

.single-hub-page .single-hub-hero,
.single-hub-page-streamlined .single-hub-hero,
.single-hub-page-careers .single-hub-hero,
.single-hub-page-union .single-hub-hero {
  padding: clamp(28px, 3.7vw, 48px) clamp(28px, 4vw, 54px);
}

.single-hub-editor {
  padding: clamp(22px, 3vw, 38px) clamp(28px, 4vw, 54px);
}

.single-hub-editor > .virom-single-section {
  padding: clamp(19px, 2.4vw, 27px);
}

.single-hub-news {
  padding: 0 clamp(28px, 4vw, 54px) clamp(28px, 4vw, 46px);
}

.virom-child-page .entry-content h2 {
  margin-top: 1.25em;
}

.virom-child-page .entry-content h3 {
  margin-top: 1.15em;
}

@media (max-width: 700px) {
  .content-main,
  .virom-child-page .content-main {
    padding-block: 24px 34px;
  }

  .content-article {
    padding: 20px 17px;
  }

  .directory-page-hero {
    margin-bottom: 20px;
  }

  .single-hub-page .single-hub-hero,
  .single-hub-page-streamlined .single-hub-hero,
  .single-hub-page-careers .single-hub-hero,
  .single-hub-page-union .single-hub-hero {
    padding: 21px 17px;
  }

  .single-hub-editor {
    padding: 20px 17px;
  }
}

/* Version 0.17.7: content-preserving medical profiles and specialist access. */
.department-profile-flow {
  display: flow-root;
}

.department-profile-portrait {
  width: min(39%, 430px);
  float: left;
  margin: 0 clamp(26px, 4vw, 54px) 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--wine);
  border-radius: 3px 42px 3px 3px;
  background: var(--cloud-deep);
  box-shadow: 0 20px 46px rgba(44, 34, 38, .12);
}

.department-profile-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.department-profile-content {
  min-width: 0;
}

.department-profile-content > :first-child,
.department-profile-lead > :first-child {
  margin-top: 0;
}

.department-profile-content h2,
.department-profile-content .wp-block-table,
.department-profile-content > table {
  clear: both;
}

.department-profile-content .wp-block-table {
  margin: 30px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.department-profile-content table {
  width: 100%;
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 5px solid var(--wine);
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(55, 39, 45, .045);
}

.department-profile-content .wp-block-table table {
  margin: 0;
}

.department-profile-content th,
.department-profile-content td {
  padding: 17px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.department-profile-content th:last-child,
.department-profile-content td:last-child {
  border-right: 0;
}

.department-profile-content tr:last-child > th,
.department-profile-content tr:last-child > td {
  border-bottom: 0;
}

.department-profile-content th {
  color: var(--wine);
  background: #f4f2f2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.department-profile-content td strong {
  color: var(--ink);
  font-size: 17px;
}

.medical-bulletins-access {
  clear: both;
  margin-top: clamp(32px, 5vw, 58px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.medical-bulletins-access > button {
  width: 100%;
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 6px 22px;
  padding: 24px clamp(22px, 3.5vw, 42px);
  color: var(--ink);
  border: 1px solid rgba(116, 25, 43, .34);
  border-left: 5px solid var(--wine);
  border-radius: 3px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.medical-bulletins-access > button:hover,
.medical-bulletins-access > button:focus-visible {
  color: var(--wine);
  background: var(--wine-soft);
  transform: translateX(3px);
}

.medical-bulletins-access span {
  grid-column: 1;
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.medical-bulletins-access strong {
  grid-column: 1;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.3;
}

.medical-bulletins-access b {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--wine);
  font-size: 24px;
  text-align: right;
}

.medical-disclaimer-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--ink);
  border: 0;
  border-top: 6px solid var(--wine);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(28, 20, 23, .34);
}

.medical-disclaimer-dialog::backdrop {
  background: rgba(30, 25, 27, .7);
  backdrop-filter: blur(3px);
}

.medical-disclaimer-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 19px;
  border-bottom: 1px solid var(--line);
}

.medical-disclaimer-dialog > header span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.medical-disclaimer-dialog > header h2 {
  margin: 4px 0 0;
  font-size: clamp(30px, 5vw, 43px);
  line-height: 1.05;
}

.medical-disclaimer-dialog > header button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.medical-disclaimer-content {
  padding: 24px 28px 8px;
  font-size: 16px;
  line-height: 1.62;
}

.medical-disclaimer-content p {
  margin: 0 0 15px;
}

.medical-disclaimer-content ul,
.medical-disclaimer-content ol {
  margin: 0 0 18px;
  padding-left: 1.45em;
}

.medical-disclaimer-content li + li {
  margin-top: 8px;
}

.medical-disclaimer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 28px 28px;
}

.medical-disclaimer-actions a,
.medical-disclaimer-actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 19px;
  border: 1px solid var(--wine);
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.medical-disclaimer-actions a {
  color: #fff;
  background: var(--wine);
}

.medical-disclaimer-actions button {
  color: var(--wine);
  background: #fff;
}

.medical-disclaimer-actions a:hover,
.medical-disclaimer-actions a:focus-visible {
  color: var(--wine);
  background: #fff;
}

.medical-disclaimer-actions button:hover,
.medical-disclaimer-actions button:focus-visible {
  color: #fff;
  background: var(--wine);
}

@media (max-width: 760px) {
  .department-profile-portrait {
    width: min(100%, 430px);
    float: none;
    margin: 0 0 24px;
  }

  .department-profile-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .medical-bulletins-access > button {
    min-height: 96px;
    padding: 19px 18px;
  }

  .medical-disclaimer-dialog > header,
  .medical-disclaimer-content,
  .medical-disclaimer-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .medical-disclaimer-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep staff-table labels centred above the table, not beside a floated portrait. */
body.virom-section-structure .entry-content > p:not(:empty):has(+ figure.wp-block-table),
body.virom-section-structure .entry-content > p:not(:empty):has(+ table) {
  clear: both;
  width: 100%;
  margin: 24px 0 12px;
  text-align: center;
}
