/* Shared accessibility fixes and styles for restored directory pages. */
.restoration__skip{position:fixed;top:8px;left:8px;z-index:10000;background:#fff;color:#001b26;padding:12px;transform:translateY(-160%)}
.restoration__skip:focus{transform:translateY(0)}
:focus-visible{outline:3px solid #d62c38;outline-offset:4px}
img{max-width:100%} [hidden]{display:none!important}
.restoration__content{padding-top:56px;padding-bottom:72px;min-height:55vh}
.restoration__content>p,.restoration__content>ul{max-width:850px;line-height:1.75;margin-bottom:24px}
.restoration__content h1{line-height:1.18;margin-bottom:32px}
.restoration__content h2,
.restoration__content .seo__tag-h2{margin-top:30px;margin-bottom:18px}
.restoration__eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#b11b3a}
.restoration__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 26px;margin:36px 0}
.restoration__grid>article,
.restoration__grid>.seo__tag-article{float:none!important;width:auto!important;margin:0!important;min-width:0}
.restoration__grid .teaser{height:auto!important;min-height:100%}
.restoration__grid .teaser-image{height:auto!important;aspect-ratio:3/2;background-size:cover;background-position:center}
.restoration__grid h3,
.restoration__grid .seo__tag-h3{line-height:1.45;font-size:20px;width:auto!important;max-width:100%;overflow-wrap:anywhere}.restoration__grid h3 a,.restoration__grid .seo__tag-h3 a{width:auto!important;max-width:100%;overflow-wrap:anywhere}
.restoration__grid .infos{height:auto!important}
.restoration__filters{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:30px}
.restoration__filters label{font-size:14px;font-weight:600}
.restoration__filters input,.restoration__filters select,.restoration__filters button{font:400 16px/1.5 Montserrat,sans-serif;padding:12px 14px;border:1px solid #78858a;background:#fff;color:#001b26;border-radius:0;max-width:100%}
.restoration__filters button{cursor:pointer}
.restoration__notice{padding:24px;background:#f3f4f3;line-height:1.7;clear:both}
.restoration__notice h2,
.restoration__notice .seo__tag-h2{font-size:23px;margin-bottom:15px}
.restoration__caption{font-size:13px;line-height:1.5;color:#4b575b}
.restoration__pdf{display:inline-block;padding:14px 0;font-weight:600}
@media(max-width:980px){.restoration__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.restoration__content{padding-top:32px}}
@media(max-width:600px){.restoration__grid{grid-template-columns:1fr;gap:28px}.restoration__filters{display:grid;grid-template-columns:1fr}.restoration__content h1{font-size:32px;overflow-wrap:anywhere}.restoration__filters input,.restoration__filters select{width:100%;box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.menu-button{appearance:none;border:0;background:transparent;padding:0;color:inherit;cursor:pointer}
.restoration__title{margin:40px 30px}
.restoration__avatar{display:grid;place-items:center;aspect-ratio:1;width:100%;max-width:230px;border-radius:50%;background:#eef1ee;color:#001b26;font-size:56px;font-weight:600;margin:0 auto 24px}
.restoration__action{appearance:none;cursor:pointer;font-family:inherit;border:0}
.close-modal.restoration__action{padding:0;background:transparent}
.restoration__action.button{display:inline-block;box-sizing:border-box;min-width:150px;padding:20px 34px;background:#001b26;color:#fff;font:700 12px/1.3 Montserrat,sans-serif;letter-spacing:1px;text-transform:uppercase;text-align:center}
.main-image .restoration__action.button{background:#fff;color:#001b26}
.restoration__action.button:hover{background:#d7e2e5;color:#001b26}
.restoration__action.mobile{display:none}
.contact-data.modal-dialog-wrapper{background:rgba(0,27,38,.68)}
.contact-data .modal-dialog{box-sizing:border-box;max-width:calc(100vw - 32px);background:#fff}
.contact-data .data{overflow-wrap:anywhere}
.contact-data .data a{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:980px){.restoration__action.mobile{display:inline-block}}
.restoration__hero .overlay-text.sub-page{display:flex;align-items:flex-end;justify-content:space-between;gap:32px}
.restoration__hero .overlay-text.sub-page h1{position:static;flex:1;min-width:0;width:auto;max-width:none;margin:0}
.restoration__hero .overlay-text.sub-page .restoration__action.button{position:static;flex:none;margin:0}
@media(max-width:980px){.restoration__hero{height:auto!important;min-height:320px;display:grid;align-items:end}.restoration__hero .overlay-text.sub-page{position:relative;inset:auto;transform:none;box-sizing:border-box;width:100%;padding:40px 30px;flex-direction:column;align-items:flex-start;gap:20px}.restoration__hero .overlay-text.sub-page h1{width:100%;font-size:28px;line-height:1.2}}

/* Responsive layout for the restored templates. Keep desktop proportions. */
@media (max-width:860px){
  .main-navigation{height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding-bottom:24px}
  .menu-button{min-width:44px;min-height:44px;position:relative}
  .burger-wrapper .menu-button span{width:22px;left:11px}
  .burger-wrapper .menu-button span:nth-child(1){top:15px}
  .burger-wrapper .menu-button span:nth-child(2),.burger-wrapper .menu-button span:nth-child(3){top:21px}
  .burger-wrapper .menu-button span:nth-child(4){top:27px}
  .burger-wrapper .menu-button.open span:nth-child(1),.burger-wrapper .menu-button.open span:nth-child(4){top:21px;width:0;left:22px}
  .burger-wrapper{display:flex;align-items:center;gap:8px}
  .burger-wrapper>span{margin-right:0}
  .main-image:not(.restoration__hero){height:auto;min-height:280px;display:grid;align-items:center}
  .main-image:not(.restoration__hero) .overlay-text{position:relative;inset:auto;transform:none;padding:36px 30px}
  .main-image .overlay-text h1{font-size:clamp(26px,4.5vw,38px);line-height:1.2;overflow-wrap:anywhere}
  .main-image .overlay-text h2:empty,
  .main-image .overlay-text .seo__tag-h2:empty{display:none}
  .main-image .overlay-text.sub-page h1{position:static;padding-right:0;width:100%}
  .contact-data .modal-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
}
@media (max-width:600px){
  .cite-block .seo__quote{font-size:28px;line-height:1.3}
  .article-intro h1{font-size:clamp(26px,7.5vw,34px);line-height:1.2}
  .article-text-block h2,.article-text-block h3,.article-text-block p{overflow-wrap:anywhere}
  .wrapper{padding-left:20px;padding-right:20px}
  .main-image:not(.restoration__hero) .overlay-text,.restoration__hero .overlay-text.sub-page{padding:32px 20px}
  .restoration__content h1{font-size:clamp(26px,7vw,32px)}
  .textblock h2,
  .textblock .seo__tag-h2,.event-list .event-teaser .inside-wrapper h2,.event-list .event-teaser .inside-wrapper .seo__tag-h2{overflow-wrap:anywhere;line-height:1.3}
  .textblock p,.textblock li,.restoration__notice,.contact-data .data{overflow-wrap:anywhere}
  .teaser h3,
  .teaser .seo__tag-h3,.teaser h3 a,.teaser .seo__tag-h3 a{overflow-wrap:anywhere}
  .restoration__grid .teaser{padding-left:0;padding-right:0}
  .restoration__filters{gap:10px}
  .restoration__filters input,.restoration__filters select,.restoration__filters button{min-height:44px;min-width:0;width:100%;box-sizing:border-box}
  input,select,textarea{max-width:100%;box-sizing:border-box;font-size:16px}
  .textblock img{height:auto}
  .textblock table{display:block;max-width:100%;overflow-x:auto}
  footer .quick-links :is(a,.seo__reference){display:inline-block;padding:10px 0;line-height:1.5}
  .map-placeholder .map-overlay{padding:20px}
  .map-placeholder .map-overlay span a{font-size:20px;line-height:1.4;overflow-wrap:anywhere}
}
