/* Compatibility fixes for the original Artisteer template, without Joomla scripts. */
.art-article img { max-width: 100%; height: auto; }
.art-header { background-position: center; }
.static-language-switch { text-align: right; padding: 4px 16px; font: 12px Arial, sans-serif; }
.static-language-switch a { margin-left: 12px; color: #c5c9e8; }
.static-language-switch a:hover { color: white; }
.static-language-switch a[aria-current] { font-weight: bold; }
a:focus-visible { outline: 2px solid #8b6525; outline-offset: 3px; }
.static-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.88); display: grid; place-items: center; }
.static-lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.static-lightbox button { position: absolute; top: 16px; right: 20px; padding: 8px 16px; font: 24px Arial, sans-serif; cursor: pointer; color: white; border: 1px solid white; background: #222; }
@media (max-width: 1000px) {
  html, body, #art-main { min-width: 0; }
  .art-sheet { width: 100%; }
  .art-header { background-size: contain; height: auto; aspect-ratio: 2; }
  .art-hmenu { display: flex; flex-wrap: wrap; justify-content: center; }
  .art-hmenu > li { float: none; }
  .art-content-layout, .art-content-layout-row, .art-layout-cell { display: block; width: auto; }
  .art-article { overflow-x: auto; }
  .art-footer img { max-width: 100%; height: auto; }
  body.intro #art-main { background-size: auto 100vh; }
  body.intro .custom > p:first-child { margin: 42vh 0 36vh !important; text-align: center; }
}
.original-divider { width: min(400px, 80%); height: 2px; margin: 22px auto; border: 0; background: linear-gradient(to right, transparent, #9499c3, transparent); }
@media (max-width: 1000px) {
  body:not(.intro) #art-main { background-size: 192% auto; }
  .art-nav { background: #445078; }
  .static-language-switch { background: #081624; }
  .art-article > p { overflow-wrap: anywhere; }
  .art-article img[style*="float"] { float: none !important; display: block; margin: 12px auto; }
  .art-postcontent, .art-postcontent table { text-align: left; }
}
@media (max-width: 1000px) {
  body.intro #art-main { background-size: 100% auto; min-height: 100vh; }
  body.intro .custom > p:first-child { margin: 52vw 0 20vw !important; }
}
