/* Approved platform masthead */
html.science-redesign .main-page #headerBlock .headerBlock__row {
  padding-block-start: var(--bs-gutter-x, 16px);
}

.masthead {
  --mast-ink:#0d1926;
  --mast-fg:#eff5fb;
  position:relative; z-index:5; color:var(--mast-fg); background:var(--mast-ink);
  border:0; box-shadow:inset 0 -1px #8eb1ca3d;
}
.mast-grid {
  margin-inline:auto; width:min(1472px,calc(100% - clamp(40px,9vw,144px))); min-height:76px;
  display:grid; grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);
  align-items:center; gap:clamp(15px,2vw,36px);
}
.mast-brand,.mast-actions,.mast-register,.mast-login,.mast-message,.mast-nav,.mast-disclosure summary,.mast-profile summary,.mast-direct{display:flex;align-items:center}
.mast-brand{gap:15px;min-height:44px;width:max-content}
.mast-brand img{filter:brightness(0) invert(1);width:clamp(120px,10vw,155px);height:auto}
.mast-brand img.mast-decade{height:30px;width:54px;padding-left:13px;border-left:1px solid #fff5;object-fit:contain;opacity:.79}
.mast-nav{align-self:stretch;gap:clamp(12px,1.8vw,32px);color:#dbe5ee;justify-content:center}
.mast-disclosure,.mast-direct{display:flex;align-items:center}
.masthead summary{list-style:none;cursor:pointer}
.masthead summary::-webkit-details-marker{display:none}
.mast-disclosure summary,.mast-direct,.mast-login{font-weight:690;font-size:14px;line-height:1.2;min-height:44px;white-space:nowrap}
.mast-disclosure summary{gap:5px;position:relative}
.masthead .mast-chevron{width:14px;height:14px;stroke-width:1.75;opacity:.79;transition:transform .18s}
.masthead details[open]>summary .mast-chevron{transform:rotate(180deg)}
.mast-disclosure>summary:after,.mast-direct:after{content:"";position:absolute;inset:auto 0 4px;height:2px;background:#71c4ff;opacity:0;transform:scaleX(.35);transform-origin:left;transition:opacity .18s,transform .18s}
.mast-direct{position:relative}
.mast-disclosure[open]>summary:after,.mast-disclosure>summary.current:after,.mast-disclosure>summary:hover:after,.mast-direct:hover:after{opacity:1;transform:scaleX(1)}
.mast-actions{justify-self:end;gap:clamp(13px,1.7vw,26px)}
.mast-register{background:#d7eeff;color:#09273e;min-height:41px;border-radius:6px;padding:0 14px;gap:11px;font-weight:800;font-size:14px;transition:background .2s}
.mast-register svg{width:14px;height:14px}.mast-register:hover{background:#fff}
.mast-login:hover,.mast-message:hover{color:#8dceff}
.mast-message,.mast-profile>summary{height:44px;justify-content:center;gap:7px}.mast-message{min-width:44px}.mast-profile{position:relative}.mast-profile>summary{padding:0 11px;border:1px solid #638097;border-radius:6px}
.mast-panel,.mast-dropdown{position:absolute;color:#142a3b;background:#f5f8fa;border:1px solid #bccfdb;box-shadow:0 21px 45px #04152538}
.mast-panel{left:50%;top:100%;transform:translateX(-50%);width:min(746px,calc(100% - 32px));border-radius:0 0 12px 12px}
.mast-panel-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.33fr);min-height:205px;padding:13px;gap:22px}
.mast-list{display:grid;grid-template-columns:1fr;align-content:center;padding:4px 12px 4px 0}
.mast-destination,.mast-story{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mast-destination{font-weight:710;padding:9px 2px;border-bottom:1px solid #cddbe3;min-height:39px;line-height:1.28}
.mast-destination:last-child{border-bottom:0}
.mast-destination svg{width:14px;height:14px;color:#486579}
.mast-destination:hover{color:#0767a5}.mast-destination:hover svg{transform:translate(2px,-2px)}
.mast-story{position:relative;isolation:isolate;align-items:flex-end;overflow:hidden;padding:20px;color:white;min-height:156px;border-radius:6px;background:#15394d}
.mast-story:before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:var(--mast-photo-shade,linear-gradient(0deg,#0c2239f5,transparent 78%)),var(--mast-photo,url("assets/science-blue.webp"));
  background-position:center,var(--mast-photo-position,center);
  background-size:cover,cover;
  background-repeat:no-repeat;
  transition:transform .3s ease
}
.mast-story:hover:before{transform:scale(1.035)}.mast-story span{max-width:17ch;font-size:clamp(21px,1.9vw,31px);line-height:1.04;letter-spacing:-.045em;font-weight:770}.mast-story svg{width:19px;height:19px}
.mast-dropdown{right:0;top:calc(100% + 6px);width:max-content;max-width:calc(100vw - 32px);min-width:215px;padding:8px;border-radius:9px;z-index:3}
.mast-dropdown a,.mast-dropdown button{display:block;padding:8px 10px;font-size:14px;text-align:left}
.mast-dropdown a:hover,.mast-dropdown button:hover{background:#deecf6}
.masthead :focus-visible{outline:2px solid #60baff;outline-offset:3px}
@media(max-width:1100px){.mast-grid{width:calc(100% - 48px);gap:13px}.mast-nav{gap:15px}.mast-brand{gap:8px}.mast-brand img.mast-decade{width:44px;padding-left:9px}.mast-disclosure summary,.mast-direct{font-size:13px}.mast-actions{gap:14px}}
@media(max-width:860px){
 .mast-grid{width:calc(100% - 40px);grid-template-columns:1fr auto;grid-template-areas:"brand account" "nav nav";gap:0;min-height:0}
 .mast-brand{grid-area:brand;min-height:54px}.mast-brand img{width:116px}.mast-brand img.mast-decade{height:25px;width:39px}
 .mast-actions{grid-area:account}.mast-register{min-height:35px;padding:0 11px;font-size:13px}.mast-login{font-size:13px}
 .mast-nav{grid-area:nav;justify-content:flex-start;flex-wrap:wrap;gap:0 19px;border-top:1px solid #8fb0c52e}
 .mast-disclosure summary,.mast-direct{min-height:37px;font-size:13px}
 .mast-panel{width:calc(100% - 18px)}.mast-message,.mast-profile>summary{height:38px}
}
@media(max-width:500px){.mast-grid{width:calc(100% - 28px)}.mast-nav{gap:0 12px;justify-content:space-between}.mast-disclosure summary,.mast-direct{font-size:12px;gap:1px}.masthead .mast-chevron{width:11px}.mast-panel-inner{padding:9px;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px}.mast-list{padding:0}.mast-destination{font-size:13px;min-height:40px}.mast-story{padding:12px;min-height:140px}.mast-story span{font-size:18px}.mast-story svg{width:15px}.mast-actions{gap:11px}.mast-register svg{display:none}}
@media(max-width:405px){.mast-nav{gap:0 13px;justify-content:flex-start}.mast-nav .mast-direct{min-height:29px}.mast-nav .mast-direct:last-child{margin-right:0}.mast-nav{padding-block:2px 4px}.mast-panel-inner{min-height:180px}}
@media(prefers-reduced-motion:reduce){.masthead *,.masthead :before,.masthead :after{transition:none!important}}
.mast-disclosure:not([open]) .mast-panel,.mast-profile:not([open]) .mast-dropdown{display:none}
@media(max-width:860px){.mast-grid{grid-template-columns:minmax(0,1fr) auto}.mast-nav{min-width:0;width:100%}}
.masthead:not(.pro) .mast-nav{column-gap:clamp(12px,1.4vw,26px)}
@media (min-width:861px) and (max-width:1369px){
  .masthead:not(.pro) .mast-grid{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand account" "nav nav";
    gap:0;
  }
  .masthead:not(.pro) .mast-brand{grid-area:brand;min-height:60px}
  .masthead:not(.pro) .mast-actions{grid-area:account}
  .masthead:not(.pro) .mast-nav{grid-area:nav;justify-content:flex-start;border-top:1px solid #8fb0c52e}
}
@media (max-width:500px){
  .masthead:not(.pro) .mast-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
  .masthead:not(.pro) .mast-nav :is(.mast-direct,.mast-disclosure>summary){min-height:36px;white-space:normal}
}
/* Official campaign artwork, tightly trimmed to the supplied transparent bounding box. */
.mast-brand img.mast-decade{box-sizing:content-box;width:72px;height:49px;padding:0 0 0 14px;opacity:1;filter:none}
.mast-story{background:#123755}
.masthead:not(.pro) .mast-panel{width:min(var(--mast-panel-width,700px),calc(100% - 18px))}
.masthead:not(.pro) .mast-panel-inner{
  grid-template-columns:repeat(var(--mast-card-columns,2),minmax(0,1fr));
  min-height:0;gap:10px
}
.masthead:not(.pro) .mast-panel-inner>.mast-story:only-child{grid-column:1/-1}
.masthead:not(.pro) .mast-story{--mast-title-size:clamp(21px,2.7vw,27px)}
.masthead:not(.pro) .mast-story>span{min-width:0;overflow-wrap:anywhere}
.masthead:not(.pro) [data-feature=groups]{--mast-panel-width:880px;--mast-card-columns:3}
[data-feature=lab]{--mast-panel-width:338px;--mast-card-columns:1}

[data-destination=groups]:before{
  background-color:#122c61;
  background-image:linear-gradient(0deg,#101d39f5,transparent 72%),url("assets/mast-regions.svg"),url("../img/challenge/Prostranstvo.jpg");
  background-blend-mode:normal,screen,multiply;
  background-size:cover,91% auto,cover;
  background-position:center,center 32%,center
}
[data-destination=people]{--mast-photo:url("assets/mast-people.webp")}
[data-destination=events]{--mast-photo:url("../img/about.jpg");--mast-photo-position:center 55%}
[data-destination=travel]{
  --mast-photo:url("assets/mast-expedition.webp");
  --mast-photo-position:51% 43%;
  --mast-photo-shade:linear-gradient(0deg,#102636f5,#0b222d0a 74%)
}
[data-destination=internships]{
  --mast-photo:url("assets/mast-internships.webp");
  --mast-photo-position:78% center
}
[data-destination=jobs]{--mast-photo:url("../img/news-article-1.jpg");--mast-photo-position:center 43%}
[data-destination=federal]{
  --mast-photo:url("../2022/img/coursesBanner-bg-1.jpg");
  --mast-photo-position:right 44%
}
[data-destination=business]{--mast-photo:url("../img/event-8.jpg");--mast-photo-position:center 38%}
[data-destination=volunteers]{--mast-photo:url("../img/volunteer/main.jpg");--mast-photo-position:center 65%}
[data-destination=school]:before{
  background-image:linear-gradient(0deg,#102942f5,#12375456 50%,transparent 80%),url("../2022/img/contest.png"),radial-gradient(ellipse at 72% 12%,#d5eafa,#779fbd);
  background-position:center,right bottom,center;
  background-size:cover,auto 164%,cover
}
[data-destination=media]{
  --mast-photo:url("assets/mast-media.webp");
  --mast-photo-position:58% center;
  --mast-photo-shade:linear-gradient(0deg,#071527d9,transparent 58%)
}
[data-destination=news]{
  --mast-photo:url("assets/mast-news.webp");
  --mast-photo-position:65% center;
  --mast-photo-shade:linear-gradient(0deg,#071527ed,transparent 63%)
}

[data-destination=support]{background:#103350}
[data-destination=support]:before{
  background-color:#103450;
  background-image:var(--mast-support-shade,linear-gradient(0deg,#0b2b47f5,transparent 74%)),url("assets/mast-regions.svg"),linear-gradient(120deg,#153f60bf,#2b638273),url("../img/challenge/Nature.jpg");
  background-blend-mode:normal,screen,normal,luminosity;
  background-size:cover,99% auto,cover,cover;
  background-position:center,center 24%,center,center
}
[data-destination=lab]{background:#d7e8f8;align-items:flex-end;gap:8px}
[data-destination=lab]:before{
  background-image:url("assets/mast-microscope.webp"),radial-gradient(ellipse at 63% 34%,#edf6ff,#b5d6f4 70%,#9bbfdf);
  background-size:auto 89%,cover;background-position:75% 2%,center
}
[data-destination=lab]:after{content:"";position:absolute;z-index:-1;inset:52% 0 0;background:linear-gradient(transparent,#d7e8f9 80%)}
[data-destination=lab]>span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.mast-lab-mark{position:relative;width:min(75%,173px);height:auto;display:block}
[data-destination=lab]>svg{color:#183d72}
@media(min-width:861px) and (max-width:1100px){.mast-brand img.mast-decade{width:62px;height:42px;padding-left:9px}}
@media(max-width:860px){.mast-brand img.mast-decade{width:60px;height:41px;padding-left:9px}.mast-brand{min-height:59px}}
@media(max-width:640px){
 .masthead:not(.pro) [data-feature=groups]{--mast-card-columns:2}
 [data-feature=groups] [data-destination=groups]{grid-column:1/-1}
}
@media(max-width:500px){
 .mast-panel-inner{grid-template-columns:minmax(0,1fr);gap:6px}
 .mast-story{min-height:122px;padding:13px 16px}
 .mast-story>span{max-width:19ch;font-size:21px}
 .masthead:not(.pro) .mast-panel-inner{gap:7px}
 .masthead:not(.pro) .mast-story{--mast-title-size:clamp(15px,4.3vw,20px)}
 .masthead:not(.pro) .mast-story:not([data-destination=lab]){padding:10px}
 .masthead:not(.pro) .mast-story:not([data-destination=lab])>svg{position:absolute;top:10px;right:10px;filter:drop-shadow(0 1px 3px #0b223d)}
 .mast-destination{min-height:40px;padding:7px 6px}
 [data-destination=lab]:before{background-position:81% 12%,center;background-size:auto 123%,cover}
 [data-destination=lab]:after{inset:0;background:linear-gradient(90deg,#d9ecfc 28%,transparent 70%)}
 .mast-lab-mark{width:147px}
 [data-destination=travel]{--mast-photo-position:center 36%}
 [data-destination=internships]{--mast-photo-position:center 40%}
 [data-destination=school]:before{background-size:cover,auto 130%,cover}
}
@media(max-width:365px){.mast-brand{gap:7px}.mast-brand img:first-child{width:93px}.mast-brand img.mast-decade{width:50px;height:34px;padding-left:7px}.mast-actions{gap:9px}.mast-register{padding-inline:9px}.mast-story{min-height:119px}}
.mast-brand picture{display:flex;align-items:center}
@media(max-width:365px){
 .masthead:not(.pro) .mast-brand{flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:6px 0}
 .masthead:not(.pro) .mast-brand>img:first-child{width:99px}
 .masthead:not(.pro) .mast-brand picture img.mast-decade{width:99px;height:20px;border:0;padding:0}
}

/* Masthead action kit */
.masthead {
/* Shared with the approved buttons-and-cards specimen. The scene supplies its colours. */
.btn,.mast-register,.mast-login,.cabinet-nav .tab {
  position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center;
  font-family:inherit; transition:background .22s,color .22s,transform .14s,border-color .22s;
}
.btn.primary,.mast-register {
  overflow:hidden; gap:15px; padding:0 0 0 17px; min-height:46px; border-radius:8px;
  background:var(--action-fill,#1766c6);color:var(--action-ink,#fff);
  box-shadow:inset 0 -2px 0 #07265438;
}
:is(.btn.primary,.mast-register):hover {background:var(--action-fill,#1766c6);color:var(--action-ink,#fff)}
.btn.primary>span,.mast-register>span {padding-block:11px}
.btn.primary>svg,.mast-register>svg {
  box-sizing:content-box; width:17px; height:17px; padding:6px 10px; flex:none;
  border-left:1px solid #ffffff52; transition:padding .22s;
}
:is(.btn.primary,.mast-register):is(:hover,:focus-visible)>svg {padding-left:13px;padding-right:7px}
.btn.outline:hover {border-color:#86a4c3}
.mast-login:hover span {text-decoration:underline;text-underline-offset:4px}
:is(.btn,.mast-register,.mast-login,.cabinet-nav .tab):focus-visible {outline:3px solid #2785d8;outline-offset:3px}
:is(.btn,.mast-login,.mast-register,.cabinet-nav .tab):active {transform:translateY(1px) scale(.985)}
.btn.primary:disabled {box-shadow:none;transform:none;color:#606e7c;background:#e6eaf0}
.btn.primary:disabled::before {display:none}
.mast-register {--action-fill:#d7eeff;--action-ink:#09273e;--action-wipe:#f3faff;min-height:38px;padding:0 0 0 12px;gap:5px}
.mast-register>span {padding-block:6px}
.mast-register>svg {width:14px;height:14px;padding:4px 8px;border-color:#18375033}
@media(max-width:500px){.mast-register {padding-inline:10px}.mast-register>svg{display:none}}


}
/* Existing Yii submission, modal, AJAX and pagination handlers keep their native targets. */
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)):not(.dropdown-toggle):not(.close){
 font-family:var(--type-family,Mulish,Arial,sans-serif);font-size:var(--type-ui,14px);font-weight:var(--weight-label,690);
 text-transform:none;letter-spacing:normal;border-radius:8px;min-height:42px;line-height:1.3;white-space:normal;max-width:100%;
 transition:background-size .32s,background-color .2s,color .2s,transform .15s;
}
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)).btn-primary:not(.dropdown-toggle):not(.top-nav__cabinet-btn){
 color:white;border:1px solid #1766c6;background:#1766c6 radial-gradient(circle at 0% 52%,#084a98 98%,transparent) left center/0 100% no-repeat;
}
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)).btn-primary:not(.dropdown-toggle):not(:disabled):not(.disabled):not([aria-disabled=true]):is(:hover,:focus-visible){
 background-size:120% 100%;border-color:#084a98;color:#fff;
}
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) :is(.btn-outline-primary,.btn-outline-secondary):not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)){border:1px solid #9eb1c3;color:#173f67;background-color:transparent}
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn-link:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)){background:transparent;color:#185fa8}
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)):focus-visible{outline:3px solid #287cd3;outline-offset:3px}
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)):active:not(:disabled):not(.disabled):not([aria-disabled=true]){transform:translateY(1px)}
html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)):is(:disabled,.disabled,[aria-disabled=true]){background:#e4e9ef!important;border-color:#d0d9e2!important;color:#556575!important;cursor:not-allowed;opacity:1}
@media(prefers-reduced-motion:reduce){html.science-redesign :is(main,.main-wrapper,.wrapper,.page-wrapper,dialog) .btn:not(:is(.primary,.outline,.bare,.soft,.inverse,.danger,.light)){transition:none}}



/* Макрофотография капель из подборки «Фотостиль, макро», лист 23 дизайн-кита Science-ID.
   Исходник: Пакет_16.11/листовка/assets/kit-14.jpeg, средняя правая фотография.
   Состав подвала: Пакет_16.11/assets/shot-068.jpg; адреса переходов: views2022/layouts/main.php. */
.site-footer{
  position:relative;isolation:isolate;overflow:hidden;margin:0;border:0;
  padding:clamp(105px,10vw,145px) 0 20px;
  background:#17364e;color:#f4f8fb;
}
.site-footer::before,.site-footer::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.site-footer::before{
  background:url("assets/footer-droplets.webp") 17% 53% / cover no-repeat;
  filter:grayscale(1);mix-blend-mode:luminosity;opacity:.74;
}
.site-footer::after{
  background:linear-gradient(to bottom,var(--paper,#fafbf9) 0%,rgba(248,250,250,.96) 2%,rgba(227,237,240,.72) 6%,rgba(163,185,199,.25) 12%,transparent 20%),
    linear-gradient(95deg,rgba(9,34,54,.48),rgba(13,35,55,.79) 31%,rgba(9,31,52,.83) 73%,rgba(13,41,62,.73)),
    linear-gradient(0deg,rgba(9,31,50,.72),transparent 48%);
}
.imprint-grid{display:grid;grid-template-columns:minmax(145px,1.05fr) minmax(115px,.8fr) minmax(200px,1.35fr) minmax(230px,1.45fr);gap:clamp(20px,3.4vw,58px)}
.site-footer .imprint-grid h2{margin:0 0 13px;font:800 13px/1.4 Mulish,Arial,sans-serif;letter-spacing:.025em;color:#cce3f4}
.site-footer .imprint-identity .brand{display:inline-flex;align-items:center;min-height:38px;margin-top:-7px}
.site-footer .imprint-identity img{width:clamp(125px,11vw,158px);height:auto;filter:brightness(0) invert(1)}
.imprint-identity p{font-size:14px;line-height:1.6;margin:16px 0 0;max-width:23ch;color:#e4eff7}
.imprint-links{display:flex;flex-direction:column;align-items:flex-start}
.imprint-links a,.imprint-contacts a{font-size:14px;font-weight:650;line-height:1.42;color:#f6fbff}
.imprint-links a{padding:6px 0}
.site-footer a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;color:white}
.site-footer a:focus-visible{outline:2px solid #b8e7ff;outline-offset:3px}
.imprint-contacts dl,.imprint-contacts dd{margin:0}
.imprint-contacts dt{font-size:12px;line-height:1.4;font-weight:550;color:#d2e2ee}
.imprint-contacts dd{display:flex;flex-wrap:wrap;gap:0 12px;margin:1px 0 9px}
.imprint-contacts a{padding:2px 0}
.imprint-legal{border-top:1px solid #edf5ff45;display:flex;align-items:center;gap:14px 32px;justify-content:space-between;margin-top:32px;padding-top:17px;color:#d2e2ee;font-size:12px;line-height:1.45}
.imprint-legal a{color:inherit}
@media(max-width:950px){.imprint-grid{grid-template-columns:1fr 1fr;gap:28px 36px}.imprint-identity p{max-width:31ch}.imprint-legal{flex-wrap:wrap}.site-footer::after{background:linear-gradient(to bottom,var(--paper,#fafbf9),rgba(245,249,250,.9) 12px,rgba(197,215,225,.32) 50px,transparent 102px),linear-gradient(100deg,#132e45ae,#102d47d9 65%)}}
@media(max-width:560px){.site-footer{padding-top:94px}.imprint-grid{gap:22px 18px;grid-template-columns:minmax(102px,.78fr) minmax(150px,1.22fr)}.imprint-identity,.imprint-contacts{grid-column:1/-1}.imprint-identity p{margin-top:6px}.imprint-links a{min-height:44px;display:flex;align-items:center;font-size:13px}.site-footer .imprint-grid h2{margin-bottom:6px}.imprint-contacts{border-top:1px solid #e3f4ff44;padding-top:20px}.imprint-contacts dd{margin:0 0 7px}.imprint-contacts a{min-height:40px;display:inline-flex;align-items:center}.imprint-legal{display:grid;gap:12px;margin-top:20px}.imprint-legal a{width:fit-content;min-height:34px;display:inline-flex;align-items:center}.site-footer::before{background-size:auto 54%;background-position:left top;background-repeat:no-repeat}}
/* Match the actual page surface at both sides of the footer boundary. */
body:has(main :is(.rd-dark,.login-window,.recovery-window,.registration-page)) {--footer-join:#0c2032}
body:has(main .rd-report,.report-content) {--footer-join:#0a292d}
main:has(:is(.rd-dark,.login-window,.recovery-window,.registration-page,.rd-report,.report-content)) {
  position:relative;isolation:isolate;display:flow-root;min-height:0;background:var(--footer-join);
}
main:has(:is(.rd-dark,.login-window,.recovery-window,.registration-page,.rd-report,.report-content))::after {
  content:"";position:absolute;z-index:1;pointer-events:none;inset:auto 0 0;height:clamp(18px,2vw,32px);
  background:linear-gradient(0deg,var(--footer-join),transparent)
}
body:has(main :is(.rd-dark,.login-window,.recovery-window,.registration-page,.rd-report,.report-content)) .site-footer::after {
  background:linear-gradient(to bottom,var(--footer-join) 0%,color-mix(in srgb,var(--footer-join) 96%,transparent) 8%,transparent 37%),
    linear-gradient(95deg,rgba(9,34,54,.48),rgba(13,35,55,.79) 31%,rgba(9,31,52,.83) 73%,rgba(13,41,62,.73)),
    linear-gradient(0deg,rgba(9,31,50,.72),transparent 48%);
}

.sid-footer__search{display:flex;gap:8px;align-items:stretch;margin-top:20px}.sid-footer__search input,.sid-footer__search button{background:#f2f7fb;color:#173149;border:0;border-radius:6px;padding:8px 12px;min-height:42px;max-width:100%}
/* Approved material card variants, scoped to their Yii list item. */
.sid-story-unit {
.card {
  --reveal: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #d3dbe1;
  border-radius: var(--round);
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.card:focus-visible { --reveal: 1; outline-offset: 3px; }
@media (hover: hover) {
  .card:hover { --reveal: 1; }
}
.content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 20px;
}
.facts, .meta, .card-foot { display: flex; align-items: center; }


.facts { gap: 8px 12px; flex-wrap: wrap; }
.tag { color: #365e88; font-size: 12px; font-weight: 700; border: 1px solid currentColor; padding: 0 7px; border-radius: 12px; }
.card-foot { justify-content: space-between; gap: 8px; margin-top: auto; }
.meta { gap: 6px; color: var(--muted); font-size: 13px; font-weight: 650; }
.meta svg { width: 15px; height: 15px; }
.link-arrow { display: flex; color: currentColor; opacity: .8; transform: translate(calc(2px * var(--reveal)), calc(-2px * var(--reveal))); transition: transform 220ms ease; }
.link-arrow svg { width: 17px; height: 17px; }
.card h2 { font-weight: 740; letter-spacing: -.035em; line-height: 1.12; font-size: clamp(20px, 1.8vw, 28px); text-wrap: pretty; }
.story-copy { display: grid; align-items: end; }
.story-copy > * { grid-area: 1 / 1; min-width: 0; }
.summary {
  font-size: 16px;
  font-weight: 570;
  line-height: 1.4;
  max-width: 54ch;
  opacity: var(--reveal);
  transform: translateY(calc(14px * (1 - var(--reveal))));
  transition: opacity 220ms ease, transform 300ms cubic-bezier(.2,.72,.25,1);
}
.story-copy:has(.summary) h2, .play {
  opacity: calc(1 - var(--reveal));
  transition: opacity 160ms ease;
}
.visual { overflow: hidden; }
.visual img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + .025 * var(--reveal))); transition: transform 460ms cubic-bezier(.2,.72,.25,1); }
.lead, .event { min-height: clamp(280px, 24.5vw, 350px); border: 0; color: white; }
.lead { grid-column: span 4; background: #142c3d; }
.lead .visual, .event .visual { position: absolute; inset: 0; z-index: -1; }
.lead .visual img { object-position: 50% 36%; }
.lead .content, .event .content { gap: 14px; padding: clamp(20px, 2.1vw, 30px); }
.lead .content { background: linear-gradient(0deg, #061526eb, #06152648 65%, #0615261c), linear-gradient(90deg, #06162866, transparent 80%); }
:is(.lead, .event) .content::before, :is(.standard, .video) .visual::after, .text::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: var(--reveal); transition: opacity 250ms ease;
}
:is(.lead, .event) .content { isolation: isolate; }
:is(.lead, .event) .content::before { z-index: -1; background: linear-gradient(0deg, #07172cbd, #07172c64); }
:is(.lead, .event) .story-copy { margin-top: auto; }
:is(.lead, .event) .card-foot { margin: 0; }
:is(.lead, .event) .meta { color: white; }

.lead h2 { font-size: clamp(38px, 4.1vw, 62px); line-height: 1; max-width: 11em; text-wrap: balance; }
.lead .summary { font-size: clamp(18px, 1.62vw, 24px); line-height: 1.35; max-width: 44ch; }
.event { background: #124cb8; }
.event .visual { inset: 0 0 auto auto; width: min(48%, 126px); height: min(74%, 208px); mix-blend-mode: luminosity; opacity: .84; mask-image: linear-gradient(90deg,transparent,#000 41%),linear-gradient(0deg,transparent,#000 30%); mask-composite: intersect; }
.event img { object-position: 50% 8%; }
.event .content { background: linear-gradient(0deg, #1048b3 6%, transparent 83%); }
.event h2 { font-size: clamp(27px, 2.95vw, 46px); line-height: 1.04; }
.event .summary { font-size: clamp(16px, 1.25vw, 19px); }
.event .tag { color: white; border-color: #b4d1ff83; }
:is(.standard, .video) .visual {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(128px, 12.5vw, 180px);
  color: white;
}
:is(.standard, .video) .visual img { position: absolute; inset: 0; z-index: -2; object-position: 50% 40%; }
:is(.standard, .video) .visual::after { z-index: -1; background: linear-gradient(0deg, #081a2bf5, #0d2036bb 75%, #0a192f99); }
.visual .summary { padding: 15px 20px; align-self: end; }
.video { color: white; background: #17283d; border-color: #17283d; }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffffbd; background: #12243d77; }
.play svg { fill: currentColor; width: 19px; height: 19px; }
.text { background: #eef3f7; border-color: #d7dfe6; }
.text::before { z-index: -1; background: linear-gradient(120deg, #dbeaf8, #e6f0fa); }
.text .content { min-height: 148px; gap: 12px; }
.text .story-copy { align-items: center; flex: 1; }
@media(max-width:590px) {
  .lead { min-height: 268px; }
  .event { min-height: 215px; }
  .lead h2 { font-size: clamp(35px, 9.5vw, 48px); }
  .event h2 { font-size: 32px; }
  .content { padding: 14px 17px; }
  .text .content { min-height: 130px; gap: 9px; }
  .visual .summary { padding: 13px 17px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  .summary, .visual img, .link-arrow { transform: none; }
}
}

.sid-story-unit {height:100%;min-width:0;--round:14px;--ink:#121f36;--muted:#526176;font-family:var(--type-family)}
.sid-story-unit .card {height:100%;text-decoration:none}
.sid-story-unit .card h2,.sid-story-unit .summary{margin:0}
.sid-story-unit .card h2,#masthead .mast-story>span {font:var(--weight-heading) var(--mast-title-size,var(--type-heading))/1.16 var(--type-family);letter-spacing:-.025em}
.sid-story-unit .lead h2{font-size:var(--type-display);line-height:1.04;letter-spacing:-.035em}
.sid-story-unit .event h2{font-size:var(--type-title)}
.sid-story-unit .card .summary{font:var(--weight-text) var(--type-body)/1.5 var(--type-family)}
.sid-story-unit .lead .summary{font-size:var(--type-heading);line-height:1.3}
.sid-story-unit .event .summary{line-height:1.45}
.sid-story-unit .card h2 {
  color:inherit;
  overflow-wrap:anywhere;
}
.sid-story-unit .sid-story--tour.lead {
  min-height:clamp(270px, 23vw, 320px);
}
.sid-story-unit .sid-story--tour.lead .content {
  background:linear-gradient(0deg,#091e32ed 0%,#0b2135c4 30%,#0b213545 62%,transparent 84%);
}
.sid-story-unit .sid-story--tour.lead h2 {
  max-width:20ch;
  font-size:clamp(24px,2.2vw,32px);
  line-height:1.12;
}
.sid-story-unit .sid-story--tour.lead .summary {
  font-size:var(--type-body);
  line-height:1.4;
}
.sid-story-unit .sid-story--project {
  border-color:#b8cfc3;
  background:#e8f1eb;
  color:#17392d;
}
.sid-story-unit .sid-story--project .visual { background:#c8dbd0; }
.sid-story-unit .sid-story--project :is(.meta,.tag) { color:#32584a; }
.sid-story-unit .sid-story--video.video .meta { color:#c7d8e9; }
.sid-tourism-video .sid-story h2 {
  font-size:clamp(18px, calc(16px + .55vw), 24px);
  line-height:1.24;
  text-wrap:pretty;
}
.sid-story-unit .card :is(.meta,.tag),#masthead :is(.mast-login,.mast-register,.mast-direct,.mast-disclosure>summary,.mast-destination),.site-footer :is(.imprint-grid h2,.imprint-identity p,.imprint-links a,.imprint-contacts a,.imprint-contacts dt,.imprint-legal){font-size:var(--type-ui)}
#masthead :is(.mast-login,.mast-register,.mast-direct,.mast-disclosure>summary,.mast-destination){font-weight:var(--weight-label)}
.masthead,.site-footer {font-family:var(--type-family)}
.masthead a,.site-footer a {color:inherit;text-decoration:none}
.masthead svg,.sid-story-unit svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-footer>.wrap {margin-inline:auto;width:min(1472px,91%)}
.site-footer .imprint-links a,.site-footer .imprint-contacts a{color:#f6fbff}
.masthead :is(summary,a,button):focus-visible,.sid-story-unit .card:focus-visible{outline:3px solid #2785d8;outline-offset:3px}
:where(.masthead) svg{width:20px;height:20px;flex:none;stroke-width:1.65}
.masthead .mast-chevron{width:14px;height:14px}
.masthead .mast-dropdown :is(.top-nav__info,.top-nav__link-wrap a>svg){display:none}
.masthead .mast-dropdown .top-nav__link-wrap{display:contents}
.masthead .mast-dropdown a,.masthead .mast-dropdown button{font-size:var(--type-ui);font-weight:var(--weight-label)}
.masthead .mast-dropdown .dropdown-item{white-space:normal}
.masthead .mast-dropdown{max-height:calc(100dvh - 100px);overflow:auto}
.masthead .mast-story{color:white}
.masthead .mast-register{color:#09273e}
.site-footer>.wrap{width:min(1296px,calc(100% - clamp(40px,9vw,148px)))}
@media(max-width:590px){.site-footer>.wrap{width:calc(100% - 36px)}}
.mast-actions #message-notify:empty{display:none}
.mast-actions:has(#message-notify:not(:empty)) [data-messenger-link]{display:none}
.mast-actions #message-notify .top-nav__messenger-btn{background:transparent;border:0;color:inherit;box-shadow:none}
