.skip-link {
  background: #fff;
  color: #111;
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 10000;
}

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

main,
.off-canvas-wrapper,
.off-canvas-wrapper-inner {
  max-width: 100%;
  min-width: 0;
}

.row,
.column,
.columns {
  min-width: 0;
}

img,
video,
iframe {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
td,
th,
a {
  overflow-wrap: anywhere;
}

table {
  max-width: 100%;
}

.home-page #footer {
  align-items: center;
  background: transparent;
  bottom: 0;
  display: flex;
  height: auto;
  justify-content: flex-end;
  left: 0;
  margin: 0 !important;
  min-height: 44px;
  padding: 10px clamp(20px, 3vw, 48px);
  position: fixed;
  right: 0;
  width: 100%;
  z-index: 90;
}

.home-page #supersized img {
  height: auto;
  max-height: none;
  max-width: none !important;
}

.home-page #footer .row,
.home-page #footer .column {
  height: auto !important;
  margin: 0 !important;
  max-width: none;
  padding: 0 !important;
  position: static !important;
  width: auto;
}

.home-page #footer .copyright {
  font-size: .7rem;
  line-height: 1.2;
  padding: 0;
  text-align: right;
}

header[data-site-header] {
  margin-bottom: 80px !important;
}

.skip-link:focus {
  top: 1rem;
}

.menu-toggle,
.closebtn {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.menu-toggle {
  height: 44px;
  width: 44px;
}

.closebtn {
  line-height: 1;
  padding: 8px;
}

#logo .pageidf {
  display: inline-block;
  font-size: 1em !important;
  letter-spacing: .02em !important;
  line-height: 1;
  margin-left: .35em;
  padding: 0 !important;
  vertical-align: middle;
  white-space: nowrap;
}

#logo .longo,
#logo .longo img {
  display: block;
}

.off-canvas-wrapper .center > h1 {
  font-size: 1.65rem !important;
  line-height: 1.25;
  margin: 1.5rem 0;
}

.sidenav .closebtn {
  font-size: 2rem;
  position: absolute;
  right: 1rem;
  top: .5rem;
  z-index: 2;
}

.sidenav nav {
  width: 100%;
}

.sidenav nav a {
  font-size: 1.25rem !important;
  line-height: 1.35;
  padding: .4rem 1rem !important;
}

.navbar a:focus-visible,
.sidenav a:focus-visible,
.menu-toggle:focus-visible,
.closebtn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media only screen and (min-width: 1400px) {
  #logo,
  .menu-toggle {
    display: none !important;
  }

  .navbar {
    box-sizing: border-box;
    left: 0 !important;
    margin-left: 0 !important;
    max-width: none;
    padding: 24px clamp(32px, 3vw, 80px) 0 !important;
    right: 0;
    top: 0 !important;
    transform: none;
    width: 100% !important;
  }

  .navbar ul.nav {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    float: none !important;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 !important;
    padding-left: 300px !important;
    position: relative;
    row-gap: .45rem;
    width: 100% !important;
  }

  .navbar ul.nav > li {
    flex: 0 0 auto;
  }

  .navbar ul.nav > li:first-child {
    left: 0;
    margin: 0;
    position: absolute;
    top: 0;
  }

  .navbar ul li a {
    display: block !important;
    float: none !important;
    font-size: 1.2rem !important;
    letter-spacing: .06em !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
  }

  .navbar ul li a.logo {
    padding: 0 !important;
  }

  .navbar ul li a.logo img {
    display: block;
    height: auto;
    width: 280px;
  }

  header[data-site-header] {
    margin-bottom: 120px !important;
  }
}

body.news > .row {
  box-sizing: border-box;
  max-width: 1680px;
  padding-left: 32px;
  padding-right: 32px;
  width: 100%;
}

body.news > .row > .column {
  box-sizing: border-box;
  min-width: 0;
}

body.news > .row > .column:last-child {
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: 0;
}

body.news h2,
body.news p,
body.news a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.news p {
  line-height: 1.45;
}

@media only screen and (max-width: 1399px) {
  header[data-site-header] {
    position: relative;
  }

  #logo:has(.pageidf) {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    max-width: calc(100% - 72px);
    min-width: 0;
    overflow: hidden;
    padding-right: 0;
  }

  #menuiconf.menu-toggle {
    height: 44px;
    padding: 0;
    position: absolute;
    right: clamp(18px, 3vw, 44px);
    top: 50% !important;
    transform: translateY(-50%);
    width: 44px;
    z-index: 10;
  }

  #menuiconf.menu-toggle::before {
    border-bottom: 4px solid #888 !important;
    border-top: 4px solid #888 !important;
    box-sizing: border-box;
    content: "";
    height: 24px !important;
    position: absolute;
    right: 7px !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 30px !important;
  }

  #menuiconf.menu-toggle::after {
    background: #888;
    content: "";
    height: 4px;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
  }
}

@media only screen and (max-width: 900px) {
  #logo .longo {
    flex: 0 0 min(43vw, 333px);
    min-width: min(43vw, 333px);
    width: min(43vw, 333px);
  }

  #logo .longo img {
    display: block;
    height: auto;
    max-width: 333px;
    width: 100%;
  }

  #logo .pageidf {
    flex: 1 1 auto;
    font-size: clamp(1rem, 3.7vw, 2rem) !important;
    max-width: calc(57vw - 80px);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media only screen and (max-width: 1023px) {
  body.news > .row {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.news > .row > .column:last-child {
    padding-left: .9375rem;
    padding-right: .9375rem;
  }
}

@media only screen and (max-width: 700px) {
  #logo .longo img {
    height: auto;
    width: 100%;
  }

  #logo .pageidf {
    font-size: clamp(1rem, 3.7vw, 1.6rem) !important;
    margin-left: .4em;
  }

  .off-canvas-wrapper .center > h1 {
    font-size: 1.2rem !important;
    margin: 1rem 0;
  }
}

@media only screen and (max-width: 600px) {
  #logo:has(.pageidf) {
    align-items: flex-start;
    flex-direction: column;
  }

  #logo .longo {
    flex-basis: auto;
    min-width: 0;
    width: min(54vw, 333px);
  }

  #logo .pageidf {
    flex: none;
    font-size: clamp(1.05rem, 5vw, 1.45rem) !important;
    margin: .45rem 0 0 0;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  #menuiconf.menu-toggle {
    top: 0 !important;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
