/* ==========================================================================
   ERCIM - Cassiopeia Extended user.css
   Clean replacement for the current custom stylesheet.

   Written for Joomla/Cassiopeia's "Collapsible Dropdown" menu layout.
   That layout uses MetisMenu selectors: .metismenu-item, .mm-toggler,
   and .mm-collapse. Avoid older/default menu selectors such as .nav-item,
   .mod-menu__sub, and .mod-menu__toggle-sub for the main menu.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */

:root {
  --ercim-primary: #1d7989;
  --ercim-primary-dark: #0e3b43;
  --ercim-accent: #c83d3a;
  --ercim-accent-dark: #832320;
  --ercim-accent-soft: #f4d9d8;
  --ercim-bg-page: #f7f6f3;
  --ercim-bg-soft: #eef5f6;
  --ercim-bg-footer: #0e3b43;
  --ercim-text: #212529;
  --ercim-muted: rgba(0, 0, 0, 0.62);
  --ercim-border: rgba(14, 59, 67, 0.12);
  --ercim-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
  --ercim-shadow-menu: 0 10px 24px rgba(0, 0, 0, 0.14);
  --ercim-radius: 12px;
  --ercim-radius-small: 8px;
}

/* --------------------------------------------------------------------------
   Accessibility and Small Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ercim-primary) 65%, transparent);
  outline-offset: 2px;
  box-shadow: none;
}

.external-hint {
  display: block;
  margin-top: 0.35rem;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.75rem;
  line-height: 1.2;
}

.btn-outline-secondary {
  color: var(--ercim-primary);
  border-color: rgba(29, 121, 137, 0.5);
  background: rgba(29, 121, 137, 0.05);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible {
  color: #fff;
  border-color: var(--ercim-primary);
  background: var(--ercim-primary);
}

/* --------------------------------------------------------------------------
   Header and MetisMenu Main Navigation
   -------------------------------------------------------------------------- */

header.header.container-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow: visible;
}

header.header.container-header .grid-child:has(.navbar-brand) {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

header.header.container-header .grid-child.container-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  flex: 1 1 auto;
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
  position: relative;
}

.navbar-brand .brand-logo img {
  display: block;
  width: auto;
  height: 40px;
}

header.header.container-header .navbar {
  flex: 0 1 auto;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
}

header.header.container-header .container-search {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  text-align: left;
}

header.header.container-header .container-search .mod-finder,
header.header.container-header .container-search .form-search {
  display: flex;
  align-items: center;
  margin: 0;
}

header.header.container-header .container-search .form-control {
  width: 12rem;
  max-width: 100%;
}

header.header.container-header .navbar-toggler {
  color: var(--ercim-primary-dark) !important;
  border: 1.5px solid var(--ercim-primary-dark);
  border-radius: 6px;
  background: transparent;
  padding: 0.35rem 0.5rem;
}

header.header.container-header .navbar-toggler:hover,
header.header.container-header .navbar-toggler:focus-visible {
  color: var(--ercim-primary) !important;
  border-color: var(--ercim-primary);
  outline: 3px solid rgba(29, 121, 137, 0.28);
  outline-offset: 2px;
  box-shadow: none;
}

header.header.container-header .navbar-toggler .icon-menu,
header.header.container-header .navbar-toggler .icon-menu::before {
  color: currentColor !important;
}

header.header.container-header .mod-menu a,
header.header.container-header .mod-menu button,
header.header.container-header .mod-menu a:hover,
header.header.container-header .mod-menu button:hover,
header.header.container-header .mod-menu .active > a,
header.header.container-header .mod-menu .current > a {
  text-decoration: none !important;
  box-shadow: none;
  background-image: none;
}

header.header.container-header .mod-menu a::before,
header.header.container-header .mod-menu a::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 992px) {
  header.header.container-header .navbar-toggler {
    display: none !important;
  }

  header.header.container-header .navbar-collapse {
    display: flex !important;
    justify-content: flex-start;
  }

  header.header.container-header .metismenu.mod-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    padding: 0;
    position: relative;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 > a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.35rem 0;
    color: rgba(0, 0, 0, 0.66);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    transition: color 0.15s ease;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 > a:hover,
  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 > a:focus-visible,
  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1.current > a,
  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1.active > a {
    color: #000;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1.current > a,
  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1.active > a {
    font-weight: 700;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 > .mm-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    min-width: 1.35rem;
    height: 1.35rem;
    margin-left: 0.2rem;
    padding: 0;
    color: rgba(0, 0, 0, 0.62);
    border: 0;
    border-radius: 4px;
    background: transparent;
    overflow: visible;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 > .mm-toggler::after {
    margin: 0;
    border-top-width: 0.4em;
    border-left-width: 0.4em;
    border-right-width: 0.4em;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 > .mm-toggler:hover,
  header.header.container-header .metismenu.mod-menu > .metismenu-item.level-1 > .mm-toggler:focus-visible {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 121, 137, 0.35);
  }

  header.header.container-header .metismenu.mod-menu .mm-collapse {
    min-width: 220px;
    margin-top: 0.5rem;
    padding: 0.4rem;
    color: var(--ercim-text);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--ercim-radius-small);
    box-shadow: var(--ercim-shadow-menu);
  }

  header.header.container-header .metismenu.mod-menu .mm-collapse > .metismenu-item {
    display: block;
    padding: 0;
  }

  header.header.container-header .metismenu.mod-menu .mm-collapse > .metismenu-item > a {
    display: block;
    padding: 0.45rem 0.65rem;
    color: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: normal;
  }

  header.header.container-header .metismenu.mod-menu .mm-collapse > .metismenu-item > a:hover,
  header.header.container-header .metismenu.mod-menu .mm-collapse > .metismenu-item > a:focus-visible {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
    outline: none;
  }
}

@media (max-width: 991.98px) {
  header.header.container-header {
    height: auto !important;
    min-height: unset !important;
  }

  header.header.container-header .grid-child:has(.navbar-brand) {
    flex: 1 1 auto;
  }

  header.header.container-header .grid-child.container-nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    flex: 0 0 100%;
    order: 3;
  }

  .navbar-brand .brand-logo img {
    height: 32px;
  }

  header.header.container-header .navbar {
    position: static;
    flex: 0 0 auto;
    order: 1;
    justify-content: flex-start;
    align-items: flex-end;
  }

  header.header.container-header .container-search {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex: 0 1 min(18rem, calc(100% - 3rem));
    order: 2;
    min-width: 0;
    margin-top: 0;
    margin-left: 0;
    text-align: left;
  }

  header.header.container-header .container-search .mod-finder,
  header.header.container-header .container-search .form-search {
    display: flex;
    align-items: flex-end;
    width: 100%;
  }

  header.header.container-header .container-search .form-control {
    width: 100%;
    min-width: 0;
    height: 2.35rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  header.header.container-header .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    line-height: 1;
  }

  header.header.container-header .navbar-collapse:not(.show) {
    display: none !important;
  }

  header.header.container-header .navbar-collapse.show {
    display: block !important;
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    z-index: 9999;
    width: auto;
    padding: 0.5rem 1rem 1rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  header.header.container-header .metismenu.mod-menu {
    display: block !important;
    margin: 0;
    padding: 0.5rem 0 !important;
    list-style: none;
    white-space: normal !important;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item > a {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.65rem 1rem !important;
    color: rgba(0, 0, 0, 0.85);
    font-size: 1rem;
    font-weight: 600;
    white-space: normal;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item > .mm-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: rgba(0, 0, 0, 0.75);
    border: 0;
    border-radius: 4px;
    background: transparent;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item > .mm-toggler::after {
    margin: 0;
  }

  header.header.container-header .metismenu.mod-menu > .metismenu-item > .mm-toggler:hover,
  header.header.container-header .metismenu.mod-menu > .metismenu-item > .mm-toggler:focus-visible {
    background: rgba(29, 121, 137, 0.08);
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(29, 121, 137, 0.4);
  }

  header.header.container-header .metismenu.mod-menu .mm-collapse {
    position: static !important;
    flex-basis: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 0 0 1rem !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  header.header.container-header .metismenu.mod-menu .mm-collapse > .metismenu-item {
    display: block;
    padding: 0 !important;
  }

header.header.container-header .metismenu.mod-menu .mm-collapse > .metismenu-item > a {
    display: block;
    padding: 0.55rem 1rem !important;
    color: rgba(0, 0, 0, 0.78);
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   Home - Video Hero
   -------------------------------------------------------------------------- */

.home-video {
  position: relative;
  width: 100%;
  height: 44vh;
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
}

.home-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(0.9) saturate(0.9);
}

.home-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0) 80%
  );
}

.home-video .home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(1rem, 4vw, 4rem);
}

.home-video .home-hero-content {
  width: min(900px, 100%);
  max-width: 760px;
  padding: 2rem 2.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: heroFade 1.6s ease-out both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero-logo {
  width: auto;
  height: 64px;
}

.container-banner img {
  display: block;
  margin-right: auto;
  margin-bottom: 1.5rem;
  margin-left: 0;
}

.home-video .home-hero-content h1 {
  margin-bottom: 0.75rem;
}

.home-video .home-hero-content p:not(.home-hero-cta) {
  max-width: 60ch;
}

.home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.home-hero-cta .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.95rem;
}

.home-hero-cta .btn:first-child {
  color: #000;
  border-color: #fff;
  background: #fff;
}

.home-hero-cta .btn:first-child:hover,
.home-hero-cta .btn:first-child:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.9);
}

.home-hero-cta .btn:last-child {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .home-video video {
    display: none;
  }

  .home-video .home-hero-content {
    animation: none;
  }
}

@media (max-width: 768px) {
  .home-video {
    height: 60vh;
  }

  .home-video .home-hero-content {
    padding: 1.25rem;
  }

  .home-video .home-hero-content h1 {
    font-size: 2rem;
  }

  .home-hero-logo {
    height: 52px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .home-video {
    min-height: 360px;
  }

  .home-hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Home - Pillars, Highlights, News
   -------------------------------------------------------------------------- */

.home-pillars {
  padding: 1rem 0 0.35rem;
  margin-top: 0;
}

.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-pillar {
  display: block;
  min-height: 160px;
  padding: 1.05rem 1.15rem 1rem;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 59, 67, 0.06);
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.home-pillar:hover,
.home-pillar:focus-visible {
  color: inherit;
  background: #fff;
  border-color: rgba(29, 121, 137, 0.22);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.home-pillar-kicker {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--ercim-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-pillar-title {
  margin: 0 0 0.4rem;
  color: var(--ercim-primary-dark);
  font-size: 1.2rem;
  line-height: 1.2;
}

.home-pillar-text {
  max-width: 28ch;
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  line-height: 1.5;
}

.main-top.card.home-highlights,
.main-top.card.home-highlights-module,
.main-top.card.home-news {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.main-top.card.home-highlights > .card-header,
.main-top.card.home-highlights-module > .card-header,
.main-top.card.home-news > .card-header {
  padding: 0 0 0.75rem;
  margin: 0;
  color: var(--ercim-primary-dark);
  background: transparent;
  border: 0;
  font-size: 1.35rem;
}

.main-top.card.home-highlights > .card-body,
.main-top.card.home-highlights-module > .card-body,
.main-top.card.home-news > .card-body {
  padding: 0;
  background: transparent;
  border: 0;
}

.main-top.card.home-highlights-module > .card-header {
  display: none;
}

.main-top.card.home-highlights .mod-articles-items.mod-articles-grid {
  gap: 1.25rem;
}

.main-top.card.home-highlights .mod-articles-items.mod-articles-grid > li {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 16px;
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.main-top.card.home-highlights .mod-articles-items.mod-articles-grid > li:hover {
  border-color: rgba(29, 121, 137, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.main-top.card.home-highlights .mod-articles-item,
.main-top.card.home-highlights .mod-articles-item-content {
  height: 100%;
}

.main-top.card.home-highlights .mod-articles-item-content {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 0;
  min-height: 100%;
  padding: 0 1.1rem 1rem;
}

.main-top.card.home-highlights .mod-articles-title {
  padding: 1rem 0 0.65rem;
  margin: 0;
  color: var(--ercim-primary-dark);
  border: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.main-top.card.home-highlights .mod-articles-title a {
  color: inherit;
  text-decoration: none;
}

.main-top.card.home-highlights .mod-articles-title a:hover,
.main-top.card.home-highlights .mod-articles-title a:focus-visible {
  color: var(--ercim-accent);
  text-decoration: underline;
}

.main-top.card.home-highlights .mod-articles-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.8rem;
  padding: 0;
}

.main-top.card.home-highlights .mod-articles-image img {
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 0.5rem;
  background: #fff;
}

.home-highlights-custom {
  margin-top: 0;
}

.home-highlights-custom > .card-header {
  padding: 0 0 0.75rem;
  margin: 0;
  color: var(--ercim-primary-dark);
  background: transparent;
  border: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.home-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-highlight-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100%;
  padding: 1rem 1.1rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-highlight-card:hover,
.home-highlight-card:focus-visible {
  color: inherit;
  border-color: rgba(29, 121, 137, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.home-highlight-title {
  margin: 0 0 0.75rem;
  color: var(--ercim-primary-dark);
  font-size: 1.05rem;
  line-height: 1.3;
}

.home-highlight-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin: 0 0 0.8rem;
}

.home-highlight-media img {
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 0.5rem;
  background: #fff;
}

.home-highlight-text {
  margin: 0;
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-highlight-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.9rem;
  color: var(--ercim-accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-highlight-action::after {
  content: ">";
  margin-left: 0.35rem;
  transition: transform 0.15s ease;
}

.home-highlight-card:hover .home-highlight-action::after,
.home-highlight-card:focus-visible .home-highlight-action::after {
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .home-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.home-news .mod-articles {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-news .mod-articles > li {
  padding: 0.95rem 1rem;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.home-news .mod-articles > li:hover {
  border-color: rgba(29, 121, 137, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.home-news .mod-articles-link {
  display: block;
  color: var(--ercim-primary-dark);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.home-news .mod-articles-link:hover,
.home-news .mod-articles-link:focus-visible {
  color: var(--ercim-accent);
  text-decoration: underline;
}

.home-news .mod-articles-items {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-news .mod-articles-items > li {
  padding: 0;
  margin: 0;
}

.home-news .mod-articles-item {
  height: 100%;
}

.home-news .mod-articles-item-content {
  display: grid;
  gap: 0.18rem;
  height: 100%;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.home-news .mod-articles-item-content:hover {
  border-color: rgba(29, 121, 137, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.home-news .mod-articles-title {
  margin: 0;
  color: var(--ercim-primary-dark);
  font-size: 1rem;
  line-height: 1.35;
}

.home-news .mod-articles-title a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.home-news .mod-articles-title a:hover,
.home-news .mod-articles-title a:focus-visible {
  color: var(--ercim-accent);
  text-decoration: underline;
}

.home-news .mod-articles-date,
.home-news .mod-articles-category-date,
.home-news time {
  display: block;
  order: -1;
  margin: 0 0 0.05rem;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}

.itemid-101 .container-component {
  padding-top: 1.5rem;
}

.itemid-101 .com-content-article__body:empty,
.itemid-101 main:has(.com-content-article__body:empty) {
  display: none;
}

body:not(.itemid-101) .container-banner {
  margin-bottom: 0;
}

.container-banner .bannerheader {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  padding-right: 2rem;
  padding-left: 2rem;
  color: rgba(14, 59, 67, 0.88);
  font-size: 0.95rem;
  line-height: 1.35;
}

.container-banner .bannerheader,
.container-banner .bannerheader strong,
.container-banner .bannerheader p {
  margin: 0;
}

.container-banner .bannerheader strong {
  font-weight: 600;
}

.container-banner .bannerheader a {
  color: var(--ercim-primary);
}

.container-banner + .container-component .mod-breadcrumbs__wrapper,
.site-grid .container-banner + .container-component .mod-breadcrumbs__wrapper {
  margin-top: 0.45rem;
}

.mod-breadcrumbs__wrapper {
  margin: 0;
  padding: 0.45rem 0.75rem;
  background: rgba(14, 59, 67, 0.04);
  border: 0;
  border-bottom: 1px solid rgba(29, 121, 137, 0.22);
  border-radius: 0;
}

.mod-breadcrumbs.breadcrumb {
  margin: 0;
  padding: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mod-breadcrumbs__here,
.mod-breadcrumbs__item,
.mod-breadcrumbs__item a,
.mod-breadcrumbs__item span {
  color: rgba(0, 0, 0, 0.68);
  font-size: 0.92rem;
}

.mod-breadcrumbs__item a {
  text-decoration: none;
}

.mod-breadcrumbs__item a:hover,
.mod-breadcrumbs__item a:focus-visible {
  color: var(--ercim-primary-dark);
  text-decoration: underline;
}

.mod-breadcrumbs__item.active span {
  color: var(--ercim-primary-dark);
  font-weight: 600;
}

@media (min-width: 992px) {
  .itemid-101 .container-component {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
    gap: 1.5rem;
    align-items: start;
  }

  .itemid-101 .container-component > .main-top.card:first-of-type,
  .itemid-101 .container-component > #system-message-container,
  .itemid-101 .container-component > main {
    grid-column: 1 / -1;
  }

  .itemid-101 .home-highlights,
  .itemid-101 .home-highlights-module {
    grid-column: 1;
  }

  .itemid-101 .home-news {
    grid-column: 2;
    grid-row: 2;
  }

  .itemid-101 .home-highlights-module {
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .container-banner .bannerheader {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 992px) {
  .home-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pillar {
    min-height: 165px;
  }
}

@media (max-width: 576px) {
  .home-pillars {
    padding: 1.75rem 0 0.5rem;
  }

  .home-pillars-grid {
    grid-template-columns: 1fr;
  }

  .home-pillar {
    min-height: auto;
  }
}

@media (max-width: 991.98px) {
  .main-top.card.home-highlights,
  .main-top.card.home-highlights-module,
  .main-top.card.home-news {
    margin-top: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Member Representation Page
   -------------------------------------------------------------------------- */

body.itemid-169 .container.my-4 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0;
}

body.itemid-169 .container.my-4 > header {
  margin-bottom: 1.5rem !important;
}

body.itemid-169 .container.my-4 > header h1 {
  margin: 0;
  color: var(--ercim-primary-dark);
}

body.itemid-169 .container.my-4 > section {
  margin-bottom: 1.4rem !important;
}

body.itemid-169 .container.my-4 > section:last-child {
  margin-bottom: 0 !important;
}

body.itemid-169 .card.shadow-sm {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
}

body.itemid-169 .card.shadow-sm .card-body {
  padding: 1.35rem 1.5rem;
}

body.itemid-169 .card.shadow-sm .row.align-items-center.g-3 {
  align-items: center !important;
  row-gap: 0.9rem !important;
  column-gap: 1rem !important;
}

body.itemid-169 .card.shadow-sm .row.align-items-center.g-3 img.img-fluid {
  display: block;
  max-width: 180px;
  width: auto;
  max-height: 58px !important;
  object-fit: contain;
}

body.itemid-169 .card.shadow-sm .h4 {
  margin: 0 !important;
  color: var(--ercim-primary-dark);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

body.itemid-169 .card.shadow-sm .h4 a {
  color: inherit;
  text-decoration: none;
}

body.itemid-169 .card.shadow-sm .h4 a:hover,
body.itemid-169 .card.shadow-sm .h4 a:focus-visible {
  color: var(--ercim-primary);
  text-decoration: underline;
}

body.itemid-169 .card.shadow-sm .row.align-items-center.g-3 > [class*="col-"] > a {
  display: inline-flex;
  align-items: center;
}

body.itemid-169 .card.shadow-sm hr.my-4 {
  margin: 1rem 0 1.15rem !important;
  border: 0;
  border-top: 1px solid rgba(14, 59, 67, 0.1);
  opacity: 1;
}

body.itemid-169 .card.shadow-sm .row.g-4 {
  row-gap: 1rem !important;
}

body.itemid-169 .card.shadow-sm .row.g-4 > [class*="col-"] {
  display: flex;
}

body.itemid-169 .card.shadow-sm .row.g-4 > [class*="col-"] > .d-flex {
  width: 100%;
  min-height: 100%;
  padding: 1rem 1.05rem;
  gap: 0.85rem !important;
  align-items: flex-start;
  background: rgba(14, 59, 67, 0.025);
  border: 1px solid rgba(14, 59, 67, 0.09);
  border-radius: 12px;
}

body.itemid-169 .card.shadow-sm .rounded-circle {
  flex: 0 0 96px !important;
  width: 96px !important;
  height: 130px !important;
  object-fit: cover !important;
  border: 2px solid rgba(14, 59, 67, 0.08);
  border-radius: 8px !important;
}

body.itemid-169 .card.shadow-sm .text-uppercase.small.text-muted {
  margin-bottom: 0.35rem;
  color: var(--ercim-primary) !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.itemid-169 .card.shadow-sm .h6 {
  margin-bottom: 0.3rem !important;
  color: var(--ercim-primary-dark);
  font-size: 1rem;
  line-height: 1.25;
}

body.itemid-169 .card.shadow-sm .h6 a {
  color: inherit;
  text-decoration: none;
}

body.itemid-169 .card.shadow-sm .h6 a:hover,
body.itemid-169 .card.shadow-sm .h6 a:focus-visible {
  color: var(--ercim-primary);
  text-decoration: underline;
}

body.itemid-169 .card.shadow-sm .small {
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.45;
}

body.itemid-169 .card.shadow-sm .small.text-muted {
  color: rgba(0, 0, 0, 0.56) !important;
}

@media (max-width: 991.98px) {
  body.itemid-169 .card.shadow-sm .card-body {
    padding: 1.15rem 1.1rem;
  }

  body.itemid-169 .card.shadow-sm .row.g-4 > [class*="col-"] > .d-flex {
    padding: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  body.itemid-169 .card.shadow-sm .row.g-4 > [class*="col-"] > .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body.itemid-169 .card.shadow-sm .text-uppercase.small.text-muted {
    letter-spacing: 0.06em;
  }
}

/* --------------------------------------------------------------------------
   Publication-Style Cards and Grids
   -------------------------------------------------------------------------- */

.publications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.publications-page {
  padding-top: 2rem;
  border-top: 0;
}

.publications-page .publications-grid {
  padding: 2rem;
  background: var(--ercim-bg-soft);
  border-radius: 1.5rem;
}

.pub-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.pub-card:hover,
.pub-card:focus-visible {
  color: inherit;
  border-color: rgba(29, 121, 137, 0.35);
  box-shadow: var(--ercim-shadow-soft);
  transform: translateY(-1px);
}

.pub-card__link {
  color: var(--ercim-accent);
}

.pub-card__text {
  color: rgba(0, 0, 0, 0.65);
}

.pub-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 96px;
  background: rgba(29, 121, 137, 0.08);
  border-radius: 0.75rem;
}

.pub-card__media img:not([src$=".svg"]) {
  max-width: 100%;
  height: auto;
}

.pub-card__media img[src^="/images/icons/"] {
  width: 44px;
  max-width: 44px;
  height: 44px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .publications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pub-card--featured {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   Members, Winners, Jobs, Projects
   -------------------------------------------------------------------------- */

.members-page .pub-card__media {
  flex: 0 0 180px;
  padding: 0.75rem;
  background: transparent;
}

.members-page .pub-card__media > img {
  width: 100% !important;
  height: 96px !important;
  max-height: none !important;
  object-fit: contain;
  filter: grayscale(100%) saturate(0%) contrast(0.92);
  opacity: 0.72;
  transition: filter 0.18s ease, opacity 0.18s ease;
}

.members-page .pub-card:hover .pub-card__media > img,
.members-page .pub-card:focus-visible .pub-card__media > img,
.members-page .pub-card:focus-within .pub-card__media > img {
  filter: none;
  opacity: 1;
}

.member-subunits {
  margin-top: 0.5rem;
}

.member-subunits__summary {
  color: var(--ercim-primary);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.member-subunits__summary::-webkit-details-marker {
  display: none;
}

.member-subunits__summary::before {
  content: ">";
  display: inline-block;
  margin-right: 0.4rem;
  transition: transform 0.15s ease;
}

.member-subunits[open] .member-subunits__summary::before {
  transform: rotate(90deg);
}

.member-subunits ul li {
  font-size: 0.9rem;
  line-height: 1.35;
}

.members-page #join,
.members-page #benefits {
  margin-top: 2.5rem !important;
}

.members-page #join > h2,
.members-page #benefits > h2 {
  margin-bottom: 1rem !important;
  color: var(--ercim-primary-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.members-page #join > .card,
.members-page #benefits > .card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: var(--ercim-radius);
  box-shadow: none;
}

.members-page #join > .card {
  border-left: 4px solid var(--ercim-primary);
}

.members-page #benefits > .card {
  border-left: 4px solid var(--ercim-accent);
}

.members-page #join .card-body,
.members-page #benefits .card-body {
  padding: 1.35rem 1.5rem;
}

.members-page #join .card-body > p:first-child {
  max-width: 68ch;
  color: rgba(0, 0, 0, 0.68);
  line-height: 1.55;
}

.members-page #join .d-flex {
  padding-bottom: 1rem;
  margin-bottom: 1.1rem !important;
  border-bottom: 1px solid rgba(14, 59, 67, 0.1);
}

.members-page #join h3 {
  margin-top: 0.25rem;
  color: var(--ercim-primary-dark);
}

.members-page #join ul,
.members-page #benefits ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.15rem;
}

.members-page #join li,
.members-page #benefits li {
  line-height: 1.5;
}

.members-page #benefits li::marker {
  color: var(--ercim-accent);
}

.members-page #join li::marker {
  color: var(--ercim-primary);
}

.members-page #join .mb-0 {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(14, 59, 67, 0.1);
  color: rgba(0, 0, 0, 0.68);
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.winner-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.winner-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: var(--ercim-shadow-soft);
  transform: translateY(-1px);
}

.winner-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.winner-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  padding: 0.5rem;
  background: #f7f6f3;
}

.winner-card__body {
  padding: 0.6rem 0.75rem;
}

.winner-card__name {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
}

.winner-card__meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.25;
}

.jobs-page .jobs-list,
.jobs-list {
  padding: 0 !important;
  margin: 1rem 0 0 !important;
  list-style: none !important;
}

.jobs-page .jobs-item,
.jobs-list .jobs-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ercim-bg-soft);
}

.jobs-page .jobs-item:last-child,
.jobs-list .jobs-item:last-child {
  border-bottom: 0;
}

.jobs-page img.jobs-flag,
.jobs-list img.jobs-flag {
  display: block;
  width: 20px !important;
  max-width: 20px !important;
  height: 14px !important;
  max-height: 14px !important;
  object-fit: contain;
}

.jobs-page .jobs-name,
.jobs-list .jobs-name {
  color: var(--ercim-primary-dark);
  font-weight: 500;
}

.jobs-page .jobs-link,
.jobs-list .jobs-link {
  font-size: 0.95rem;
  white-space: nowrap;
}

.jobs-page .jobs-announcement.is-hidden {
  display: none;
}

.jobs-page .jobs-announcement {
  background: var(--ercim-accent-soft);
  border-left: 4px solid var(--ercim-accent);
}

.projects-page .section-title,
.projects-archive-page .section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
  color: var(--ercim-primary-dark);
}

.projects-page .section-title::after,
.projects-archive-page .section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(14, 59, 67, 0.16);
}

.projects-page .project-tile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.projects-page .project-tile__media {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 1rem;
  background: var(--ercim-bg-soft);
  border-radius: var(--ercim-radius);
}

.projects-page .project-tile__logo {
  display: block;
  width: 100%;
  max-width: 90px;
  max-height: 70px;
  object-fit: contain;
}

.projects-page .project-tile__body {
  padding: 1.1rem 1.1rem 1.1rem 0;
}

.projects-page .project-tile__title {
  margin: 0 0 0.35rem;
  color: var(--ercim-primary-dark);
  font-size: 1.25rem;
}

.projects-page .project-tile__text {
  max-width: 85ch;
  margin: 0;
}

.projects-page .project-tile__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

@media (max-width: 575.98px) {
  .projects-page .project-tile {
    grid-template-columns: 1fr;
  }

  .projects-page .project-tile__body {
    padding: 0;
  }

  .projects-page .project-tile__media {
    justify-self: start;
    width: fit-content;
  }
}

/* --------------------------------------------------------------------------
   Category Blog and Tags
   -------------------------------------------------------------------------- */

.com-content-category-blog__items.blog-items {
  display: grid;
  gap: 1.75rem;
}

.com-content-category-blog__item.blog-item {
  display: flex;
}

.com-content-category-blog__item.blog-item .item-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ercim-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.15s ease;
}

.com-content-category-blog__item.blog-item .item-content:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.com-content-category-blog__item .page-header {
  margin-bottom: 0.75rem;
}

.com-content-category-blog__item .page-header h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.25;
}

.com-content-category-blog__item .page-header h2 a {
  color: var(--link-color);
  text-decoration: none;
}

.com-content-category-blog__item .page-header h2 a:hover,
.com-content-category-blog__item .page-header h2 a:focus-visible {
  text-decoration: underline;
}

.com-content-category-blog__item .article-info {
  margin: 0 0 1rem;
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
}

.com-content-category-blog__item .article-info dd {
  margin-bottom: 0;
}

.com-content-category-blog__item p {
  line-height: 1.65;
}

.com-content-category-blog__item .readmore {
  margin-top: auto;
  margin-bottom: 0;
}

.com-content-category-blog__item .readmore .btn {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

.com-content-category-blog__item .icons {
  margin-bottom: 0.5rem;
}

.com-content-category-blog__item .system-unpublished {
  padding: 0;
  background: transparent;
  border: 0;
}

.com-content-category-blog__item .badge {
  margin-top: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.items-more {
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ercim-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.com-content-blog__links {
  padding-left: 1.2rem;
  margin: 0;
}

.com-content-blog__link + .com-content-blog__link {
  margin-top: 0.5rem;
}

.com-content-category-blog__navigation {
  margin-top: 2rem;
}

.com-content-category-blog__pagination .pagination {
  gap: 0.25rem;
}

.com-content-category-blog__pagination .page-link {
  border-radius: 8px;
}

.com-tags-tag__category.list-group {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.com-tags-tag__category .list-group-item {
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.com-tags-tag__category .list-group-item-action {
  color: inherit;
}

.com-tags-tag__category .list-group-item:hover {
  border-color: rgba(29, 121, 137, 0.35);
  box-shadow: var(--ercim-shadow-soft);
  transform: translateY(-1px);
}

.com-tags-tag__category h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.com-tags-tag__category h3 a {
  color: var(--ercim-primary-dark);
  text-decoration: none;
}

.com-tags-tag__category h3 a:hover,
.com-tags-tag__category h3 a:focus-visible {
  color: var(--ercim-accent);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .com-tags-tag__category.list-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .com-content-category-blog__items.blog-items {
    grid-template-columns: 1fr;
  }

  .com-content-category-blog__item.blog-item .item-content,
  .items-more {
    padding: 1rem;
  }

  .com-content-category-blog__item .page-header h2 {
    font-size: 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   Events Listing Page
   -------------------------------------------------------------------------- */

.events-list .publications-page {
  padding: 0;
  border-top: 0;
}

.events-list .page-header {
  margin-bottom: 1.75rem;
}

.events-list .page-header h1 {
  color: var(--ercim-primary-dark);
}

.events-list .page-header .lead {
  max-width: 82ch;
  color: rgba(0, 0, 0, 0.68);
  font-size: 1.05rem;
  line-height: 1.65;
}

.events-list .publications-actions {
  margin-top: 1rem !important;
}

.events-list .mod-articles-group {
  margin-top: 2rem;
}

.events-list .mod-articles-group > h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--ercim-primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.events-list .mod-articles-group > h4::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(14, 59, 67, 0.16);
}

.events-list .mod-articles-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.events-list .mod-articles-items > li {
  display: flex;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.events-list .mod-articles-item {
  display: flex;
  width: 100%;
}

.events-list .mod-articles-item-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: var(--ercim-radius);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.events-list .mod-articles-item-content:hover {
  border-color: rgba(29, 121, 137, 0.28);
  box-shadow: var(--ercim-shadow-soft);
  transform: translateY(-1px);
}

.events-list .mod-articles-title {
  margin: 0 0 0.75rem;
  color: var(--ercim-primary-dark);
  font-size: 1.05rem;
  line-height: 1.3;
}

.events-list .mod-articles-title a {
  color: inherit;
  text-decoration: none;
}

.events-list .mod-articles-title a:hover,
.events-list .mod-articles-title a:focus-visible {
  color: var(--ercim-accent);
  text-decoration: underline;
}

.events-list .mod-articles-tags {
  order: 2;
  margin: 0 0 0.75rem;
}

.events-list .mod-articles-tags .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.events-list .mod-articles-tags .btn {
  padding: 0.18rem 0.5rem;
  color: var(--ercim-primary-dark);
  background: var(--ercim-bg-soft);
  border: 1px solid rgba(29, 121, 137, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.events-list .fields-container {
  order: 3;
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0 0;
  margin: auto 0 0;
  border-top: 1px solid rgba(14, 59, 67, 0.1);
  list-style: none;
}

.events-list .field-entry {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.9rem;
  line-height: 1.35;
}

.events-list .field-label {
  color: rgba(0, 0, 0, 0.52);
  font-weight: 700;
}

.events-list .field-value {
  min-width: 0;
}

.events-list .event-start .field-value,
.events-list .event-end .field-value {
  color: var(--ercim-primary-dark);
  font-weight: 700;
}

.events-list .event-link .field-value a {
  display: inline-block;
  max-width: 100%;
  color: var(--ercim-primary);
  overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
  .events-list .mod-articles-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .events-list .mod-articles-items {
    grid-template-columns: 1fr;
  }

  .events-list .field-entry {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* --------------------------------------------------------------------------
   News & Events Landing Page
   -------------------------------------------------------------------------- */

.news-events-page.publications-page {
  padding: 0;
  border-top: 0;
}

.news-events-page .page-header {
  margin-bottom: 1.75rem;
}

.news-events-page .page-header h1 {
  color: var(--ercim-primary-dark);
}

.news-events-page .page-header .lead {
  max-width: 72ch;
  color: rgba(0, 0, 0, 0.68);
  font-size: 1.05rem;
  line-height: 1.65;
}

.news-events-page .publications-grid {
  align-items: start;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.news-events-page > .publications-grid > .pub-card {
  display: block;
  padding: 1.25rem;
  background: #fff;
  border-color: rgba(14, 59, 67, 0.1);
  border-radius: var(--ercim-radius);
}

.news-events-page .pub-card__title {
  margin: 0 0 0.45rem;
  color: var(--ercim-primary-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.news-events-page .pub-card__text {
  max-width: 58ch;
  margin: 0;
  color: rgba(0, 0, 0, 0.64);
  line-height: 1.5;
}

.news-events-page .mt-3 {
  margin-top: 1rem !important;
}

.news-events-page .mod-articles-items {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-events-page .mod-articles-items > li {
  padding: 0;
  margin: 0;
}

.news-events-page .mod-articles-item-content {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.85rem;
  background: rgba(247, 246, 243, 0.78);
  border: 1px solid rgba(14, 59, 67, 0.08);
  border-radius: 10px;
  transition: background-color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.news-events-page .mod-articles-item-content:hover {
  background: #fff;
  border-color: rgba(29, 121, 137, 0.28);
  transform: translateY(-1px);
}

.news-events-page .mod-articles-title {
  margin: 0;
  color: var(--ercim-primary-dark);
  font-size: 0.98rem;
  line-height: 1.35;
}

.news-events-page .mod-articles-title a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.news-events-page .mod-articles-title a:hover,
.news-events-page .mod-articles-title a:focus-visible {
  color: var(--ercim-accent);
  text-decoration: underline;
}

.news-events-page .mod-articles-item-content dl {
  order: -1;
  padding: 0;
  margin: 0;
}

.news-events-page .article-info-term {
  display: none;
}

.news-events-page .mod-articles-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.news-events-page .mod-articles-date .icon-calendar {
  color: var(--ercim-primary);
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 767.98px) {
  .news-events-page > .publications-grid > .pub-card {
    padding: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Event Archives
   -------------------------------------------------------------------------- */

.events-archive {
  max-width: 1100px;
  margin: 0 auto;
}

.events-archive-title {
  margin: 1.25rem 0 1rem;
}

.events-archive-years {
  display: grid;
  gap: 0.75rem;
}

.events-year {
  overflow: clip;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--ercim-radius);
}

.events-year-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.events-year-summary::-webkit-details-marker {
  display: none;
}

.events-year-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.events-year-toggle::before {
  content: ">";
  display: inline-block;
  opacity: 0.8;
  transition: transform 0.15s ease;
}

.events-year[open] .events-year-toggle::before {
  transform: rotate(90deg);
}

.events-year-content {
  padding: 0.25rem 1rem 1rem;
}

.events-year-content table {
  width: 100%;
  margin: 0.25rem 0 0;
  border-collapse: collapse;
}

.events-year-content th {
  padding: 0.25rem 0 0.5rem;
  font-size: 1rem;
  text-align: left;
  opacity: 0.9;
}

.events-year-content td {
  padding: 0.6rem 0;
  line-height: 1.35;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.events-year-content img[style*="float: left"] {
  float: none !important;
  margin: 0 0.5rem 0 0;
  vertical-align: middle;
}

.events-year-content a {
  text-decoration: none;
}

.events-year-content a:hover {
  text-decoration: underline;
}

.events-year-content a[style*="background-color: red"] {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.past-events-archive .archive-year__content {
  padding: 0.75rem 1rem 1rem;
}

.past-events-archive hr.system-pagebreak,
.past-events-archive .archive-year__content h1,
.past-events-archive table.basic th {
  display: none !important;
}

.past-events-archive table.basic {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.past-events-archive table.basic tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.past-events-archive table.basic tbody tr:last-child {
  border-bottom: 0;
}

.past-events-archive table.basic td {
  padding: 0.75rem 0;
  vertical-align: top;
  background: transparent !important;
}

.past-events-archive img[style*="float: left"],
.past-events-archive table.basic img {
  margin: 0.1rem 0.6rem 0.2rem 0;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .events-year-summary {
    padding: 0.85rem;
  }

  .events-year-content {
    padding: 0.2rem 0.85rem 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Network and About Page Helpers
   -------------------------------------------------------------------------- */

.network-page .network-hero {
  overflow: auto;
}

.network-page .network-hero__logo {
  float: left;
  width: auto;
  height: 48px;
  margin: 0.25rem 1.25rem 0.75rem 0;
  filter: grayscale(100%);
  opacity: 0.6;
}

.about-cor-baayen-card {
  background: #fff;
}

.about-cor-baayen-card .card-body {
  padding: 2rem;
}

.about-cor-baayen-card p {
  max-width: 75ch;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer .grid-child {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

footer.container-footer {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.container-footer .grid-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "members w3c"
    "legal legal";
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.container-footer #mod-custom118 {
  grid-area: members;
  min-width: 0;
}

.container-footer #mod-custom118 .footer-members {
  display: inline;
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.75;
}

.container-footer #mod-custom119 {
  grid-area: legal;
  padding-top: 0.45rem;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.container-footer #mod-custom120 {
  grid-area: w3c;
  align-self: start;
  padding-top: 0.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  text-align: right;
  white-space: nowrap;
}

.container-footer .mod-custom,
.container-footer p {
  padding: 0;
  margin: 0;
}

.footer-members img {
  width: 16px;
  max-width: 16px;
  height: 11px;
  max-height: 11px;
  object-fit: cover;
  margin-right: 0.18rem;
  vertical-align: -1px;
  border-radius: 1px;
}

.footer-members a {
  color: inherit;
  text-decoration: none;
}

.footer-members a:hover,
.footer-members a:focus-visible {
  text-decoration: underline;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  text-decoration: underline;
}

.footer-members .footer-social-link img,
.footer-social-link img {
  flex: 0 0 22px;
  width: 22px;
  max-width: 22px;
  height: 22px;
  max-height: none;
  vertical-align: middle;
}

.container-footer #mod-custom119 .footer-members {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.6;
}

.container-footer #mod-custom119 .footer-social-link {
  align-items: baseline;
  line-height: 1;
}

.container-footer #mod-custom119 .footer-social-link img {
  display: block;
  transform: translateY(3px);
}

.bottom-b.card.footer-legal {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.bottom-b.card.footer-legal .card-body {
  padding: 0 !important;
}

@media (max-width: 900px) {
  .container-footer .grid-child {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "members"
      "legal"
      "w3c";
    gap: 0.75rem;
  }

  .container-footer #mod-custom120 {
    text-align: left;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   News Category Page
   -------------------------------------------------------------------------- */

.itemid-282 .blog-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.itemid-282 .blog-item {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
}

.itemid-282 .blog-item > .item-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.itemid-282 .blog-item > .item-content:hover,
.itemid-282 .blog-item > .item-content:focus-within {
  border-color: rgba(29, 121, 137, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.itemid-282 .blog-item .page-header {
  margin-bottom: 0.45rem;
}

.itemid-282 .blog-item .page-header h2 {
  margin: 0;
  color: var(--ercim-primary-dark);
  font-size: 1.18rem;
  line-height: 1.28;
}

.itemid-282 .blog-item .page-header h2 a {
  color: inherit;
  text-decoration: none;
}

.itemid-282 .blog-item .page-header h2 a:hover,
.itemid-282 .blog-item .page-header h2 a:focus-visible {
  color: var(--ercim-primary);
  text-decoration: underline;
}

.itemid-282 .blog-item .article-info {
  order: -1;
  margin: 0 0 0.45rem;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.82rem;
}

.itemid-282 .blog-item .article-info dd {
  margin: 0;
}

.itemid-282 .blog-item .article-info .icon-calendar {
  color: var(--ercim-primary);
  opacity: 0.85;
}

.itemid-282 .blog-item p {
  margin-bottom: 0.8rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.55;
}

.itemid-282 .blog-item .readmore {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 0.4rem;
}

.itemid-282 .blog-item .btn.btn-secondary {
  border-color: rgba(14, 59, 67, 0.14);
  background: transparent;
  color: var(--ercim-primary-dark);
}

.itemid-282 .blog-item .btn.btn-secondary:hover,
.itemid-282 .blog-item .btn.btn-secondary:focus-visible {
  background: rgba(29, 121, 137, 0.08);
  border-color: rgba(29, 121, 137, 0.28);
  color: var(--ercim-primary-dark);
}

@media (max-width: 900px) {
  .itemid-282 .blog-items {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   ERCIM Spring Meetings / Visforms
   -------------------------------------------------------------------------- */

.itemid-289 .container-component > main {
  max-width: 980px;
  margin: 0;
}

.itemid-289 #visformcontainer {
  display: grid;
  gap: 1.35rem;
}

.itemid-289 #visformcontainer .category-desc {
  padding: 1.35rem 1.5rem;
  background: rgba(14, 59, 67, 0.04);
  border: 1px solid rgba(14, 59, 67, 0.08);
  border-radius: 10px;
}

.itemid-289 #visformcontainer .category-desc img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto !important;
  max-height: 58px;
  margin: 0 0 1rem !important;
  object-fit: contain;
}

.itemid-289 #visformcontainer .category-desc h2 {
  margin: 0 0 0.55rem;
  color: var(--ercim-primary-dark);
  font-size: 1.55rem;
  line-height: 1.25;
}

.itemid-289 #visformcontainer .category-desc p {
  max-width: 70ch;
  margin-bottom: 0;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.55;
}

.itemid-289 #visformcontainer .category-desc p:empty {
  display: none;
}

.itemid-289 .spring-meetings-intro,
.itemid-289 .spring-meetings-section {
  max-width: 74ch;
}

.itemid-289 .spring-meetings-logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 58px;
  margin: 0 0 1rem;
  object-fit: contain;
}

.itemid-289 .spring-meetings-meta {
  font-size: 1.02rem;
}

.itemid-289 .spring-meetings-section {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(14, 59, 67, 0.1);
}

.itemid-289 .spring-meetings-section h2,
.itemid-289 .spring-meetings-section h3 {
  margin: 0 0 0.75rem;
  color: var(--ercim-primary-dark);
  line-height: 1.25;
}

.itemid-289 .spring-meetings-section h2 {
  font-size: 1.35rem;
}

.itemid-289 .spring-meetings-section h3 {
  font-size: 1.15rem;
}

.itemid-289 .spring-meetings-agenda {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 8px;
}

.itemid-289 .spring-meetings-agenda th,
.itemid-289 .spring-meetings-agenda td {
  padding: 0.65rem 0.8rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(14, 59, 67, 0.08);
}

.itemid-289 .spring-meetings-agenda tr:last-child th,
.itemid-289 .spring-meetings-agenda tr:last-child td {
  border-bottom: 0;
}

.itemid-289 .spring-meetings-agenda th {
  width: 8.5rem;
  color: var(--ercim-primary-dark);
  font-weight: 700;
  white-space: nowrap;
  background: rgba(14, 59, 67, 0.035);
}

.itemid-289 .spring-meetings-agenda td {
  color: rgba(0, 0, 0, 0.72);
}

.itemid-289 .spring-meetings-hotels {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.itemid-289 .spring-meetings-hotels li {
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 8px;
}

.itemid-289 .spring-meetings-hotels a {
  color: var(--ercim-primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.itemid-289 .spring-meetings-hotels a:hover,
.itemid-289 .spring-meetings-hotels a:focus-visible {
  color: var(--ercim-primary);
  text-decoration: underline;
}

.itemid-289 .spring-meetings-hotels span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.92rem;
}

.itemid-289 .spring-meetings-registration {
  padding: 1rem 1.1rem;
  background: rgba(191, 23, 34, 0.055);
  border: 1px solid rgba(191, 23, 34, 0.12);
  border-radius: 8px;
}

.itemid-289 .spring-meetings-registration p {
  margin: 0;
}

.itemid-289 form#visform1 {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.itemid-289 form#visform1 .vffieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.itemid-289 form#visform1 .vis_mandatory {
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.9rem;
}

.itemid-289 form#visform1 .vis_mandatory::before {
  content: "Registration form";
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ercim-primary-dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.itemid-289 form#visform1 .visfield-container {
  margin-bottom: 0.95rem;
}

.itemid-289 form#visform1 .form-group.row {
  align-items: center;
  margin-right: 0;
  margin-left: 0;
}

.itemid-289 form#visform1 label[class*="col-"] {
  color: rgba(0, 0, 0, 0.76);
  font-weight: 700;
  line-height: 1.35;
}

.itemid-289 form#visform1 .form-control {
  min-height: 2.55rem;
  padding: 0.55rem 0.7rem;
  color: rgba(0, 0, 0, 0.84);
  background: #fff;
  border: 1px solid rgba(14, 59, 67, 0.18);
  border-radius: 6px;
  box-shadow: none;
}

.itemid-289 form#visform1 .form-control:focus {
  border-color: rgba(29, 121, 137, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(29, 121, 137, 0.12);
}

.itemid-289 form#visform1 .form-check {
  display: inline-flex;
  align-items: flex-start;
  min-height: 2.35rem;
  padding: 0.52rem 0.7rem 0.52rem 2.05rem;
  margin: 0 0.45rem 0.45rem 0;
  background: rgba(14, 59, 67, 0.035);
  border: 1px solid rgba(14, 59, 67, 0.09);
  border-radius: 8px;
}

.itemid-289 form#visform1 .form-check-input {
  flex: 0 0 auto;
  margin-top: 0.18rem;
  margin-left: -1.35rem;
  border-color: rgba(14, 59, 67, 0.35);
}

.itemid-289 form#visform1 .form-check-input:checked {
  background-color: var(--ercim-primary);
  border-color: var(--ercim-primary);
}

.itemid-289 form#visform1 .form-check-label {
  color: rgba(0, 0, 0, 0.76);
  font-weight: 600;
  line-height: 1.35;
}

.itemid-289 form#visform1 .field6,
.itemid-289 form#visform1 .field11 {
  margin: 1.35rem 0 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(29, 121, 137, 0.18);
}

.itemid-289 form#visform1 .field6 hr,
.itemid-289 form#visform1 .field11 hr {
  display: none;
}

.itemid-289 form#visform1 .field6 h3,
.itemid-289 form#visform1 .field11 h3 {
  margin: 0;
  color: var(--ercim-primary-dark);
  font-size: 1.2rem;
  line-height: 1.25;
}

.itemid-289 form#visform1 .conditional.vishidden {
  display: none !important;
}

.itemid-289 form#visform1 [data-error-field-id] {
  margin-top: 0.25rem;
  color: #bf1722;
  font-size: 0.88rem;
}

.itemid-289 form#visform1 .vf-button-container {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(14, 59, 67, 0.1);
}

.itemid-289 form#visform1 .vis-bootstrap-submit {
  min-width: 9rem;
  padding: 0.58rem 1.35rem;
  color: #fff;
  font-weight: 700;
  background: var(--ercim-accent);
  border: 1px solid var(--ercim-accent);
  border-radius: 6px;
}

.itemid-289 form#visform1 .vis-bootstrap-submit:hover,
.itemid-289 form#visform1 .vis-bootstrap-submit:focus-visible {
  background: #b62d34;
  border-color: #b62d34;
}

.itemid-289 form#visform1 .vis-bootstrap-submit:disabled {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(14, 59, 67, 0.36);
  border-color: transparent;
  cursor: not-allowed;
}

@media (max-width: 767.98px) {
  .itemid-289 #visformcontainer .category-desc,
  .itemid-289 form#visform1 {
    padding: 1.1rem;
  }

  .itemid-289 form#visform1 .form-group.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .itemid-289 form#visform1 label[class*="col-"],
  .itemid-289 form#visform1 .form-group.row > div[class*="col-"],
  .itemid-289 form#visform1 .form-group.row > div[class*="offset-"] {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
  }

  .itemid-289 form#visform1 .form-check {
    display: flex;
    width: 100%;
    margin-right: 0;
  }

  .itemid-289 .spring-meetings-agenda,
  .itemid-289 .spring-meetings-agenda tbody,
  .itemid-289 .spring-meetings-agenda tr,
  .itemid-289 .spring-meetings-agenda th,
  .itemid-289 .spring-meetings-agenda td {
    display: block;
    width: 100%;
  }

  .itemid-289 .spring-meetings-agenda th {
    padding-bottom: 0.2rem;
    border-bottom: 0;
    white-space: normal;
  }

  .itemid-289 .spring-meetings-agenda td {
    padding-top: 0.2rem;
  }
}

